ItEr59S04ValidacionEProbasFuncionaisItEr58S04: Move user doc generation to its own profile.
This allows to avoid its execution so the build is faster. For example do mvn clean install -P-userguide if you don't want the user guide to be generated.
This commit is contained in:
parent
35c7566d9b
commit
0cbf984637
1 changed files with 81 additions and 71 deletions
|
|
@ -52,35 +52,13 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<profile>
|
||||
<id>userguide</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<finalName>navalplanner-webapp</finalName>
|
||||
|
||||
<!--
|
||||
Gettext Commons plugin
|
||||
goals:
|
||||
merge: parses source code and generates keys.pot
|
||||
dist: generates binary Resoruce Bundle (Messages_XX.class)
|
||||
-->
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.xnap.commons</groupId>
|
||||
<artifactId>maven-gettext-plugin</artifactId>
|
||||
<configuration>
|
||||
<targetBundle>i18n.Messages</targetBundle>
|
||||
<poDirectory>${project.build.sourceDirectory}/../resources/i18n</poDirectory>
|
||||
<keywords>-k_</keywords>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>dist</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.1</version>
|
||||
|
|
@ -153,6 +131,38 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<build>
|
||||
<finalName>navalplanner-webapp</finalName>
|
||||
|
||||
<!--
|
||||
Gettext Commons plugin
|
||||
goals:
|
||||
merge: parses source code and generates keys.pot
|
||||
dist: generates binary Resoruce Bundle (Messages_XX.class)
|
||||
-->
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.xnap.commons</groupId>
|
||||
<artifactId>maven-gettext-plugin</artifactId>
|
||||
<configuration>
|
||||
<targetBundle>i18n.Messages</targetBundle>
|
||||
<poDirectory>${project.build.sourceDirectory}/../resources/i18n</poDirectory>
|
||||
<keywords>-k_</keywords>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>dist</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
<dependencies>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue