[Lutingenerator-commits] r413 - lutingenerator/trunk
Author: tchemit Date: 2009-02-03 20:57:21 +0000 (Tue, 03 Feb 2009) New Revision: 413 Modified: lutingenerator/trunk/pom.xml Log: prepare release lutinproject 3.4 Modified: lutingenerator/trunk/pom.xml =================================================================== --- lutingenerator/trunk/pom.xml 2009-02-03 13:36:59 UTC (rev 412) +++ lutingenerator/trunk/pom.xml 2009-02-03 20:57:21 UTC (rev 413) @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> @@ -24,14 +25,14 @@ <version>${lutinutil.version}</version> <scope>compile</scope> </dependency> - + <dependency> <groupId>commons-digester</groupId> <artifactId>commons-digester</artifactId> <version>2.0</version> <scope>compile</scope> </dependency> - + <!-- JAXP parser impl for digester --> <dependency> <groupId>xerces</groupId> @@ -61,7 +62,7 @@ <scope>compile</scope> </dependency> - <!-- dom4j dep --> + <!-- dom4j dep --> <dependency> <groupId>jaxen</groupId> <artifactId>jaxen</artifactId> @@ -85,25 +86,46 @@ <packaging>jar</packaging> <properties> - + <!-- id du projet du labs --> <labs.id>39</labs.id> - + <!-- name du projet du labs --> <labs.project>lutingenerator</labs.project> - <!-- lutinutil version --> - <!--lutinutil.version>1.0</lutinutil.version--> + <!-- pour surcharger la version definie dans lutinproject --> + <generator.version>${project.version}</generator.version> - <!-- todo pour la montee de version voir la doc --> - <lutingenerator.version>${project.version}</lutingenerator.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> <!-- ************************************************************* --> @@ -117,4 +139,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>
participants (1)
-
tchemit@users.labs.libre-entreprise.org