Skip to content

Instantly share code, notes, and snippets.

@CedricGatay
Last active December 22, 2015 01:29
Show Gist options
  • Save CedricGatay/6397201 to your computer and use it in GitHub Desktop.
Save CedricGatay/6397201 to your computer and use it in GitHub Desktop.
[INFO] --- merge-properties-maven-plugin:1.0:merge (merge) @ i18n ---
[INFO] Found propertyFileName without prefix checking, including... [src/main/resources/l10n/Global_en.properties]
[INFO] Found propertyFileName without prefix checking, including... [src/main/resources/l10n/Global_fr.properties]
[INFO] => Final file language.properties [en] contains 10624 entries
[INFO] => Final file language.properties [fr] contains 10647 entries
[INFO] Found propertyFileName without prefix checking, including... [src/main/resources/help/Global_en.properties]
[INFO] Found propertyFileName without prefix checking, including... [src/main/resources/help/Global_fr.properties]
[INFO] => Final file help.properties [en] contains 371 entries
[INFO] => Final file help.properties [fr] contains 376 entries
<plugin>
<groupId>com.code-troopers</groupId>
<artifactId>merge-properties-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>merge</id>
<phase>generate-resources</phase>
<goals>
<goal>merge</goal>
</goals>
<configuration>
<merges>
<merge>
<target>language.properties</target>
<pattern>src/main/resources/l10n/*.properties</pattern>
<excludeKeyCheck>
<excludeKeyCheck>Global</excludeKeyCheck>
</excludeKeyCheck>
<failOnCountMismatch>${merge.failOnMismatch}</failOnCountMismatch>
</merge>
<merge>
<target>help.properties</target>
<pattern>src/main/resources/help/*.properties</pattern>
<failOnCountMismatch>${merge.failOnMismatch}</failOnCountMismatch>
</merge>
</merges>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment