Author: tchemit Date: 2009-02-05 18:02:05 +0000 (Thu, 05 Feb 2009) New Revision: 1344 Modified: topia-service/trunk/pom.xml Log: passage en lutinproject 3.4 Modified: topia-service/trunk/pom.xml =================================================================== --- topia-service/trunk/pom.xml 2009-02-04 17:39:50 UTC (rev 1343) +++ topia-service/trunk/pom.xml 2009-02-05 18:02:05 UTC (rev 1344) @@ -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> @@ -9,7 +10,7 @@ <parent> <groupId>org.codelutin</groupId> <artifactId>lutinproject</artifactId> - <version>3.3</version> + <version>3.4-SNAPSHOT</version> </parent> <artifactId>topia-service</artifactId> @@ -79,13 +80,9 @@ <!-- nom du projet sur le labs --> <labs.project>topia</labs.project> - <!-- topia version --> + <!-- libs versions --> <topia.version>2.1.3-SNAPSHOT</topia.version> - - <!-- generator version --> <generator.version>0.64-SNAPSHOT</generator.version> - - <!-- lutinutil version --> <lutinutil.version>1.0.2</lutinutil.version> </properties> @@ -94,16 +91,7 @@ <plugins> - <!-- Sans le forkMode one, les classpath sont mauvais <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <forkMode>once</forkMode> - </configuration> - </plugin> --> - - <plugin> <groupId>org.codelutin</groupId> <artifactId>maven-generator-plugin</artifactId> <version>${generator.version}</version> @@ -147,13 +135,13 @@ <artifactId>build-helper-maven-plugin</artifactId> <version>1.2</version> <executions> - <execution> + <execution> <phase>test-compile</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> - <sources> + <sources> <source>${maven.gen.dir}/java</source> </sources> </configuration> @@ -161,6 +149,28 @@ </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> @@ -173,4 +183,41 @@ <url>${maven.scm.url}</url> </scm> + <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