Author: tchemit Date: 2009-02-03 20:45:28 +0000 (Tue, 03 Feb 2009) New Revision: 1198 Modified: jaxx/trunk/changelog.txt jaxx/trunk/pom.xml Log: preparation release lutinproject 3.4 Modified: jaxx/trunk/changelog.txt =================================================================== --- jaxx/trunk/changelog.txt 2009-02-03 17:22:04 UTC (rev 1197) +++ jaxx/trunk/changelog.txt 2009-02-03 20:45:28 UTC (rev 1198) @@ -1,4 +1,5 @@ 1.1 chemit 200901?? + * 20090203 [chemit] - use lutinproject 3.4 * 20090122 [chemit] - refactor poms (sibling dependencies, pluginsManagment,...) 1.0 chemit 20090111 Modified: jaxx/trunk/pom.xml =================================================================== --- jaxx/trunk/pom.xml 2009-02-03 17:22:04 UTC (rev 1197) +++ jaxx/trunk/pom.xml 2009-02-03 20:45:28 UTC (rev 1198) @@ -10,7 +10,7 @@ <parent> <groupId>org.codelutin</groupId> <artifactId>lutinproject</artifactId> - <version>3.3</version> + <version>3.4-SNAPSHOT</version> </parent> <groupId>org.codelutin</groupId> @@ -147,11 +147,10 @@ <!-- nom du projet du labs --> <labs.project>buix</labs.project> - <!-- lutinutil version --> + <!-- libs version --> <lutinutil.version>1.0.3-SNAPSHOT</lutinutil.version> + <jaxx.version>${project.version}</jaxx.version> - <!-- positionnement de la version de jaxx (pour utiliser les configs de lutinproject) --> - <jaxx.version>${project.version}</jaxx.version> </properties> <build> @@ -159,9 +158,22 @@ <pluginManagement> <plugins> + <!-- plugin i18n --> <plugin> <groupId>org.codelutin</groupId> <artifactId>maven-i18n-plugin</artifactId> + <version>${i18n.version}</version> + <configuration> + <bundles> + <param>fr_FR</param> + <param>en_GB</param> + </bundles> + <encoding>${maven.compile.encoding}</encoding> + <src>${maven.src.dir}/main/resources/i18n</src> + <defaultBasedir>${maven.src.dir}/main/java</defaultBasedir> + <keysModifier>false</keysModifier> + <keepBackup>false</keepBackup> + </configuration> <executions> <execution> <goals> @@ -180,6 +192,30 @@ </plugins> </pluginManagement> + <plugins> + <!-- Always process jrst files, but only called on pre-site phase --> + <plugin> + <groupId>org.codelutin</groupId> + <artifactId>maven-jrst-plugin</artifactId> + <version>${jrst.version}</version> + <configuration> + <directoryIn>${maven.src.dir}/site</directoryIn> + <directoryOut>${maven.site.gen.dir}</directoryOut> + <defaultLocale>fr</defaultLocale> + <inputEncoding>${maven.compile.encoding}</inputEncoding> + <outputEncoding>${maven.compile.encoding}</outputEncoding> + </configuration> + <executions> + <execution> + <phase>pre-site</phase> + <goals> + <goal>jrst</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> <!-- ************************************************************* --> @@ -191,4 +227,39 @@ <developerConnection>${maven.scm.developerConnection}</developerConnection> </scm> + <profiles> + <!-- perform only on a release stage when using the maven-release-plugin --> + <profile> + <id>release-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <!-- always add license and third-party files to classpath --> + <plugin> + <groupId>org.codelutin</groupId> + <artifactId>maven-license-switcher-plugin</artifactId> + <version>${license-switcher.version}</version> + <configuration> + <licenseName>${license-switcher.licenseName}</licenseName> + </configuration> + <executions> + <execution> + <id>attach-licenses</id> + <goals> + <goal>license</goal> + <goal>third-party</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> + </project> \ No newline at end of file