Author: tchemit Date: 2009-02-03 20:30:43 +0000 (Tue, 03 Feb 2009) New Revision: 1320 Modified: commandline/trunk/pom.xml Log: preparation release lutinproject 3.4 Modified: commandline/trunk/pom.xml =================================================================== --- commandline/trunk/pom.xml 2009-02-03 14:32:21 UTC (rev 1319) +++ commandline/trunk/pom.xml 2009-02-03 20:30:43 UTC (rev 1320) @@ -12,7 +12,7 @@ <parent> <groupId>org.codelutin</groupId> <artifactId>lutinproject</artifactId> - <version>3.3</version> + <version>3.4-SNAPSHOT</version> </parent> <groupId>org.codelutin</groupId> @@ -34,70 +34,7 @@ </dependency> </dependencies> - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> - <name>commandline</name> - <description>lutincommandline library main pom</description> - <inceptionYear>2008</inceptionYear> - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> - - <packaging>pom</packaging> - - <build> - - <defaultGoal>install</defaultGoal> - - <pluginManagement> - <plugins> - - <plugin> - <groupId>org.codelutin.jaxx</groupId> - <artifactId>maven-jaxx-plugin</artifactId> - <version>${jaxx.version}</version> - <executions> - <execution> - <goals> - <goal>generate</goal> - </goals> - </execution> - </executions> - <dependencies> - <dependency> - <groupId>org.codelutin</groupId> - <artifactId>lutinwidget</artifactId> - <version>${lutinwidget.version}</version> - </dependency> - </dependencies> - </plugin> - - </plugins> - </pluginManagement> - - </build> - - - <properties> - - <!-- jaxx version --> - <jaxx.version>1.1-SNAPSHOT</jaxx.version> - - <!-- lutinwidget version --> - <lutinwidget.version>0.12</lutinwidget.version> - - <!-- lutinutil version --> - <lutinutil.version>1.0.2</lutinutil.version> - - <!-- id du projet du labs --> - <labs.id>12</labs.id> - - <labs.project>lutinutil</labs.project> - - </properties> - <dependencyManagement> <dependencies> @@ -154,8 +91,115 @@ </dependencies> </dependencyManagement> + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> + <name>commandline</name> + <description>lutincommandline library main pom</description> + <inceptionYear>2008</inceptionYear> <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> + + <packaging>pom</packaging> + + <properties> + + <labs.id>12</labs.id> + + <labs.project>lutinutil</labs.project> + + <!-- libs version --> + <jaxx.version>1.1-SNAPSHOT</jaxx.version> + <lutinwidget.version>0.12</lutinwidget.version> + + </properties> + + <build> + + <defaultGoal>install</defaultGoal> + + <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> + <goal>parserJava</goal> + <goal>gen</goal> + </goals> + </execution> + </executions> + </plugin> + + <!-- plugin jaxx --> + <plugin> + <groupId>org.codelutin.jaxx</groupId> + <artifactId>maven-jaxx-plugin</artifactId> + <version>${jaxx.version}</version> + <executions> + <execution> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>org.codelutin</groupId> + <artifactId>lutinwidget</artifactId> + <version>${lutinwidget.version}</version> + </dependency> + </dependencies> + </plugin> + + </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> + + <!-- ************************************************************* --> <!-- *** Build Environment ************************************** --> <!-- ************************************************************* --> <scm> @@ -164,4 +208,39 @@ <url>${maven.scm.url}</url> </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>