[Lutinutil-commits] r1322 - maven-license-switcher-plugin/trunk
Author: tchemit Date: 2009-02-05 15:50:45 +0000 (Thu, 05 Feb 2009) New Revision: 1322 Modified: maven-license-switcher-plugin/trunk/pom.xml Log: on repasse en lutinpluginproject:3.4-SNAPSHOT Modified: maven-license-switcher-plugin/trunk/pom.xml =================================================================== --- maven-license-switcher-plugin/trunk/pom.xml 2009-02-04 17:32:59 UTC (rev 1321) +++ maven-license-switcher-plugin/trunk/pom.xml 2009-02-05 15:50:45 UTC (rev 1322) @@ -10,7 +10,7 @@ <parent> <groupId>org.codelutin</groupId> <artifactId>lutinpluginproject</artifactId> - <version>3.4.0</version> + <version>3.4-SNAPSHOT</version> </parent> <artifactId>maven-license-switcher-plugin</artifactId> @@ -111,6 +111,27 @@ </execution> </executions> </plugin> + <!-- 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> @@ -125,4 +146,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>${project.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