Wrap gettext plugin inside a new profile i18n to save time while developing

As number of languages is increased, the time used to process them is bigger
every time you do a "mvn clean install". Thanks to this new profile you could
save some timpe passing the following argument "-P-i18n".

FEA: ItEr76S03Community
This commit is contained in:
Manuel Rego Casasnovas 2012-03-14 17:14:15 +01:00
parent a6c90e1348
commit b403dfd719
2 changed files with 78 additions and 59 deletions

View file

@ -12,6 +12,12 @@
<packaging>jar</packaging>
<name>LibrePlan ZK Components Module</name>
<profiles>
<profile>
<id>i18n</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
@ -47,6 +53,11 @@
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->

View file

@ -162,11 +162,12 @@
</plugins>
</build>
</profile>
</profiles>
<profile>
<id>i18n</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<finalName>libreplan-webapp</finalName>
<!--
Gettext Commons plugin
goals:
@ -192,6 +193,13 @@
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<finalName>libreplan-webapp</finalName>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->