Skip to content

Commit

Permalink
[BZ-1020902] exclude source files from WARs
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Siroky authored and csadilek committed Nov 26, 2015
1 parent 8798f99 commit 62e79f1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions kie-drools-wb/kie-drools-wb-webapp/pom.xml
Expand Up @@ -1480,7 +1480,8 @@
<execution>
<id>gwt-compile</id>
<goals>
<goal>resources</goal>
<!-- Do not use 'resources' goal as it does not play well with resource filtering and is adding Java
source files into the build output directory (and they then end up in the WAR). -->
<goal>compile</goal>
</goals>
</execution>
Expand All @@ -1490,10 +1491,12 @@
<artifactId>maven-war-plugin</artifactId>
<configuration>
<packagingExcludes>
**/javax/**/*.*,
**/client/**/*.class,
**/*.symbolMap,
WEB-INF/classes/logback.xml
WEB-INF/classes/javax/**/*.*,
WEB-INF/classes/**/client/**/*.class,
WEB-INF/classes/**/public/**,
WEB-INF/classes/logback.xml,
**/*.gwt.xml,
**/*.symbolMap
</packagingExcludes>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
Expand Down
13 changes: 8 additions & 5 deletions kie-wb/kie-wb-webapp/pom.xml
Expand Up @@ -1727,7 +1727,8 @@
<execution>
<id>gwt-compile</id>
<goals>
<goal>resources</goal>
<!-- Do not use 'resources' goal as it does not play well with resource filtering and is adding Java
source files into the build output directory (and they then end up in the WAR). -->
<goal>compile</goal>
</goals>
</execution>
Expand All @@ -1737,10 +1738,12 @@
<artifactId>maven-war-plugin</artifactId>
<configuration>
<packagingExcludes>
**/javax/**/*.*,
**/client/**/*.class,
**/*.symbolMap,
WEB-INF/classes/logback.xml
WEB-INF/classes/javax/**/*.*,
WEB-INF/classes/**/client/**/*.class,
WEB-INF/classes/**/public/**,
WEB-INF/classes/logback.xml,
**/*.gwt.xml,
**/*.symbolMap
</packagingExcludes>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
Expand Down

0 comments on commit 62e79f1

Please sign in to comment.