Skip to content

Commit

Permalink
Logging - don't add default/reference properties files
Browse files Browse the repository at this point in the history
These are not used in runtime anyway.
  • Loading branch information
mkouba authored and jharting committed Nov 13, 2014
1 parent 04b8b2b commit eeda810
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions impl/pom.xml
Expand Up @@ -127,6 +127,17 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- This path is not used for default properties files yet -->
<!-- https://issues.jboss.org/browse/LOGTOOL-65 -->
<compilerArgument>
-AgeneratedTranslationFilesPath=${project.build.directory}/generated-translation-files
</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand All @@ -136,6 +147,26 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>prepare-package</phase>
<configuration>
<tasks>
<!-- Delete default properties files manually -->
<delete>
<fileset dir="${project.build.directory}/classes/org/jboss/weld/logging" includes="*.properties"/>
</delete>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit eeda810

Please sign in to comment.