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> <packaging>jar</packaging>
<name>LibrePlan ZK Components Module</name> <name>LibrePlan ZK Components Module</name>
<profiles>
<profile>
<id>i18n</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -47,6 +53,11 @@
</plugin> </plugin>
</plugins> </plugins>
</build>
</profile>
</profiles>
<build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> <!--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> </plugins>
</build> </build>
</profile> </profile>
</profiles> <profile>
<id>i18n</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build> <build>
<finalName>libreplan-webapp</finalName>
<!-- <!--
Gettext Commons plugin Gettext Commons plugin
goals: goals:
@ -192,6 +193,13 @@
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build>
</profile>
</profiles>
<build>
<finalName>libreplan-webapp</finalName>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->