Skip to content

Commit

Permalink
fix : monitoring works after deploy, but is not found (404) in Lifera…
Browse files Browse the repository at this point in the history
…y after restart
  • Loading branch information
evernat committed Jul 14, 2014
1 parent c3f5608 commit 78618d3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
Expand All @@ -76,6 +75,20 @@
<filtering>true</filtering>
</resource>
</webResources>
<packagingExcludes>WEB-INF/lib/javamelody-core*.jar</packagingExcludes>
<overlays>
<overlay>
<groupId>net.bull.javamelody</groupId>
<artifactId>javamelody-core</artifactId>
<type>jar</type>
<excludes>
<!-- without this, monitoring does not work in Liferay, after restart -->
<exclude>META-INF/web-fragment.xml</exclude>
<exclude>META-INF/**/*.*</exclude>
</excludes>
<targetPath>WEB-INF/classes</targetPath>
</overlay>
</overlays>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
Expand Down

0 comments on commit 78618d3

Please sign in to comment.