Author: tchemit Date: 2009-02-05 21:58:47 +0000 (Thu, 05 Feb 2009) New Revision: 259 Modified: maven-jrst-plugin/trunk/changelog.txt maven-jrst-plugin/trunk/pom.xml Log: use lutinproject 3.4 Modified: maven-jrst-plugin/trunk/changelog.txt =================================================================== --- maven-jrst-plugin/trunk/changelog.txt 2009-02-05 18:11:01 UTC (rev 258) +++ maven-jrst-plugin/trunk/changelog.txt 2009-02-05 21:58:47 UTC (rev 259) @@ -1,4 +1,5 @@ ver-0-8-4 chatellier 200902xx + * 20090205 [chemit] use lutinpluginproject-3.4 * 20090205 Set default locale to 'en' * 20090205 Remove some required setting for parameter with default values * 20090205 Write javadoc in english Modified: maven-jrst-plugin/trunk/pom.xml =================================================================== --- maven-jrst-plugin/trunk/pom.xml 2009-02-05 18:11:01 UTC (rev 258) +++ maven-jrst-plugin/trunk/pom.xml 2009-02-05 21:58:47 UTC (rev 259) @@ -9,10 +9,9 @@ <parent> <groupId>org.codelutin</groupId> <artifactId>lutinpluginproject</artifactId> - <version>3.3</version> + <version>3.4-SNAPSHOT</version> </parent> - <!--groupId>org.codelutin</groupId--> <artifactId>maven-jrst-plugin</artifactId> <dependencies> @@ -52,11 +51,44 @@ <!-- nom du projet sur le labs --> <labs.project>jrst</labs.project> - <!-- Site en et fr --> + <!-- Site en et fr --> <maven.site.locales>fr,en</maven.site.locales> + <jrst.version>0.8.4-SNAPSHOT</jrst.version> </properties> + <build> + + <defaultGoal>install</defaultGoal> + + <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 ************************************** --> <!-- ************************************************************* --> @@ -66,5 +98,42 @@ <url>${maven.scm.url}</url> </scm> + <!-- Maven Environment : profiles --> + <profiles> + <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> -
participants (1)
-
tchemit@users.labs.libre-entreprise.org