Mavenpom-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
February 2009
- 3 participants
- 27 discussions
[Lutinbuilder-commits] r360 - in lutinproject/tags: . 3.4 3.4/src/site/fr/rst
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
18 Feb '09
Author: tchemit
Date: 2009-02-18 16:33:45 +0000 (Wed, 18 Feb 2009)
New Revision: 360
Added:
lutinproject/tags/3.4/
lutinproject/tags/3.4/changelog.txt
lutinproject/tags/3.4/pom.xml
lutinproject/tags/3.4/src/site/fr/rst/MavenProjectBestPractices.rst
lutinproject/tags/3.4/src/site/fr/rst/index.rst
Removed:
lutinproject/tags/3.4/changelog.txt
lutinproject/tags/3.4/pom.xml
lutinproject/tags/3.4/src/site/fr/rst/MavenProjectBestPractices.rst
lutinproject/tags/3.4/src/site/fr/rst/index.rst
Log:
[maven-release-plugin] copy for tag 3.4
Copied: lutinproject/tags/3.4 (from rev 356, lutinproject/trunk)
Deleted: lutinproject/tags/3.4/changelog.txt
===================================================================
--- lutinproject/trunk/changelog.txt 2009-02-18 09:13:48 UTC (rev 356)
+++ lutinproject/tags/3.4/changelog.txt 2009-02-18 16:33:45 UTC (rev 360)
@@ -1,61 +0,0 @@
-3.4.0 chemit 20090128
- * 20090128 [chemit] - release 3.4.0 (for test only)
- - fix bug sur l'url de nos super-pom lors de la génération d'un site.
- - meilleure gestion des labs.id et labs.name via lutin-enforcer-rules 0.1
- * 20090127 [chemit] - ajout lien vers maven-lutin-skin dans le site
-
-3.3 chemit 20090107
- * 20090105 [chemit] - utilisation org.codelutin.jaxx:maven-jaxx-plugin:1.0
- * 20081230 [chemit] - utilisation du profile release-profile pour mettre les executions nécessaire à une release (enforcer, javadoc, sources,...)
- * 20081215 [chemit] - ajout des versions de nos plugins ou librairies (a finir...)
-
-3.2 chemit (20081204)
- * 20081205 [chemit] - utilisation du plugin enforcer pour faire des verifications sur le pom
- - amélioration des propriétés scm
- - suppression des groupId sur les plugins maven
- - suppression du profile project (car supprimée si un autre
- profile est active dans le pom)
- - ce projet est désormais releasable
- - mise en place du site
- - Attention : utilisation de la propriété labs.project sur
- le projet est devenu obligatoire.
-3.1 chatellier (20081118)
- * bump maven-license-switcher-plugin to 0.5
- * Update plugin version
- * Add schorlet as developper
- * use maven-i18n-plugin 0.7
- * use index.list in jar (to improve jar seek)
- * fix wrong tag configuration linkXRef instead of linkXref
- * improve codelutin repositories (add a plugin repo)
- * use junit 4.5
-
-ver-3-0 chatellier (20080924)
- * no hard-cored phase for plugin dependency, use default id and phase
- * use license-siwtcher 0.4
- * add version properties for your plugin to simplify plugin version change
- * remove maven.verbose property, cause some bad side effects.
- * remove plugin maven-plugin-plugin (nothing to be done here...)
- * add property maven.site.locales to define locales to be used by site
- * use jrst.verbose in jrst plugin instead of maven.verbose
- * For child pom scm inheritance
- * Modify SCM url for new SVN structure
- * Use new SVN structure
- * Change plugins groupId
- * Change version of plugins (with lutinpluginproject 3.0)
-
-ver-2-5 xxx (2008xxx)
- * Re-enable test by default
- * Fix lutin plugins groupId
- * Enable site report generation by default
- * Update developer list
- * only use supported maven2 report plugins
- (see http://maven.apache.org/plugins/index.html)
- * use maven2 report plugins
- * replace scp by scp exe
-ver-2-4 poussin (20080812)
- * refactor pom to new directory layout compiliance with maven 2
- * use svn instead of CVS
- * improve plugin configurations
-
-ver-2-1 poussin (20060913)
- * add support for services directory in resources to put in jar
Copied: lutinproject/tags/3.4/changelog.txt (from rev 358, lutinproject/trunk/changelog.txt)
===================================================================
--- lutinproject/tags/3.4/changelog.txt (rev 0)
+++ lutinproject/tags/3.4/changelog.txt 2009-02-18 16:33:45 UTC (rev 360)
@@ -0,0 +1,64 @@
+3.4.0 chemit 20090128
+ * 20090218 [chemit] - release 3.4
+ - remove all dependencies to our libs and plugin
+
+ * 20090128 [chemit] - release 3.4.0 (for test only)
+ - fix bug sur l'url de nos super-pom lors de la génération d'un site.
+ - meilleure gestion des labs.id et labs.name via lutin-enforcer-rules 0.1
+ * 20090127 [chemit] - ajout lien vers maven-lutin-skin dans le site
+
+3.3 chemit 20090107
+ * 20090105 [chemit] - utilisation org.codelutin.jaxx:maven-jaxx-plugin:1.0
+ * 20081230 [chemit] - utilisation du profile release-profile pour mettre les executions nécessaire à une release (enforcer, javadoc, sources,...)
+ * 20081215 [chemit] - ajout des versions de nos plugins ou librairies (a finir...)
+
+3.2 chemit (20081204)
+ * 20081205 [chemit] - utilisation du plugin enforcer pour faire des verifications sur le pom
+ - amélioration des propriétés scm
+ - suppression des groupId sur les plugins maven
+ - suppression du profile project (car supprimée si un autre
+ profile est active dans le pom)
+ - ce projet est désormais releasable
+ - mise en place du site
+ - Attention : utilisation de la propriété labs.project sur
+ le projet est devenu obligatoire.
+3.1 chatellier (20081118)
+ * bump maven-license-switcher-plugin to 0.5
+ * Update plugin version
+ * Add schorlet as developper
+ * use maven-i18n-plugin 0.7
+ * use index.list in jar (to improve jar seek)
+ * fix wrong tag configuration linkXRef instead of linkXref
+ * improve codelutin repositories (add a plugin repo)
+ * use junit 4.5
+
+ver-3-0 chatellier (20080924)
+ * no hard-cored phase for plugin dependency, use default id and phase
+ * use license-siwtcher 0.4
+ * add version properties for your plugin to simplify plugin version change
+ * remove maven.verbose property, cause some bad side effects.
+ * remove plugin maven-plugin-plugin (nothing to be done here...)
+ * add property maven.site.locales to define locales to be used by site
+ * use jrst.verbose in jrst plugin instead of maven.verbose
+ * For child pom scm inheritance
+ * Modify SCM url for new SVN structure
+ * Use new SVN structure
+ * Change plugins groupId
+ * Change version of plugins (with lutinpluginproject 3.0)
+
+ver-2-5 xxx (2008xxx)
+ * Re-enable test by default
+ * Fix lutin plugins groupId
+ * Enable site report generation by default
+ * Update developer list
+ * only use supported maven2 report plugins
+ (see http://maven.apache.org/plugins/index.html)
+ * use maven2 report plugins
+ * replace scp by scp exe
+ver-2-4 poussin (20080812)
+ * refactor pom to new directory layout compiliance with maven 2
+ * use svn instead of CVS
+ * improve plugin configurations
+
+ver-2-1 poussin (20060913)
+ * add support for services directory in resources to put in jar
Deleted: lutinproject/tags/3.4/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-18 09:13:48 UTC (rev 356)
+++ lutinproject/tags/3.4/pom.xml 2009-02-18 16:33:45 UTC (rev 360)
@@ -1,971 +0,0 @@
-<?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">
-
- <modelVersion>4.0.0</modelVersion>
-
- <!-- ************************************************************* -->
- <!-- *** POM Relationships *************************************** -->
- <!-- ************************************************************* -->
-
- <!-- POM Relationships : Coordinates -->
- <groupId>org.codelutin</groupId>
- <artifactId>lutinproject</artifactId>
- <version>3.4-SNAPSHOT</version>
-
- <!-- POM Relationships : Inheritance -->
-
- <!-- add this in your pom
- <parent>
- <groupId>org.codelutin</groupId>
- <artifactId>lutinproject</artifactId>
- <version>3.4</version>
- </parent>
- -->
-
- <!-- add dependencyManagement
- <dependencyManagement></dependencyManagement>
- -->
-
- <!-- POM Relationships : Inheritance : Dependencies -->
-
- <dependencies>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.5</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- <scope>compile</scope>
- </dependency>
-
- </dependencies>
-
- <!-- POM Relationships : Aggregation -->
-
- <!-- add modules
- <modules></modules>
- -->
-
- <!-- ************************************************************* -->
- <!-- *** Project Information ************************************* -->
- <!-- ************************************************************* -->
-
- <name>Codelutin project superpom</name>
-
- <description>Projet Maven de référence pour l'ensemble des projets Maven.</description>
-
- <url>${site.home.url}</url>
-
- <inceptionYear>1999</inceptionYear>
-
- <licenses>
- <license>
- <name>LGPL</name>
- <url>http://www.gnu.org/licenses/lgpl.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <developers>
- <developer>
- <name>Benjamin Poussin</name>
- <id>bpoussin</id>
- <email>poussin(a)codelutin.com</email>
- <organization>CodeLutin</organization>
- <timezone>+2</timezone>
- <roles>
- <role>Développeur</role>
- <role>Debian packager</role>
- </roles>
- </developer>
-
- <developer>
- <name>Arnaud Thimel</name>
- <id>athimel</id>
- <email>thimel(a)codelutin.com</email>
- <organization>CodeLutin</organization>
- <timezone>+2</timezone>
- <roles>
- <role>Développeur</role>
- </roles>
- </developer>
-
- <developer>
- <name>Julien Ruchaud</name>
- <id>jruchaud</id>
- <email>ruchaud(a)codelutin.com</email>
- <organization>CodeLutin</organization>
- <timezone>+2</timezone>
- <roles>
- <role>Développeur</role>
- </roles>
- </developer>
-
- <developer>
- <name>Eric Chatellier</name>
- <id>echatellier</id>
- <email>chatellier(a)codelutin.com</email>
- <organization>CodeLutin</organization>
- <timezone>+2</timezone>
- <roles>
- <role>Développeur</role>
- </roles>
- </developer>
-
- <developer>
- <name>Tony Chemit</name>
- <id>tchemit</id>
- <email>chemit(a)codelutin.com</email>
- <organization>CodeLutin</organization>
- <timezone>+2</timezone>
- <roles>
- <role>Développeur</role>
- </roles>
- </developer>
-
- <developer>
- <name>Sylvain Letellier</name>
- <id>sletellier</id>
- <email>letellier(a)codelutin.com</email>
- <organization>CodeLutin</organization>
- <timezone>+2</timezone>
- <roles>
- <role>Développeur</role>
- </roles>
- </developer>
-
- <developer>
- <name>Yannick Martel</name>
- <id>ymartel</id>
- <email>martel(a)codelutin.com</email>
- <organization>CodeLutin</organization>
- <timezone>+2</timezone>
- <roles>
- <role>Développeur</role>
- </roles>
- </developer>
-
- <developer>
- <name>Stéphane Chorlet</name>
- <id>schorlet</id>
- <email>chorlet(a)codelutin.com</email>
- <organization>CodeLutin</organization>
- <timezone>+2</timezone>
- <roles>
- <role>Développeur</role>
- </roles>
- </developer>
- </developers>
-
- <organization>
- <name>CodeLutin</name>
- <url>http://www.codelutin.com/</url>
- </organization>
-
- <!-- ************************************************************* -->
- <!-- *** Build Settings ****************************************** -->
- <!-- ************************************************************* -->
-
- <properties>
-
- <!-- the labs' project id : change this in your pom -->
- <labs.id>11</labs.id>
-
- <!-- this labs' project name : change this in your pom -->
- <labs.project>lutinbuilder</labs.project>
-
- <!-- labs host -->
- <labs.host>labs.libre-entreprise.org</labs.host>
-
- <!-- labs list host -->
- <labs.list.host>lists.labs.libre-entreprise.org</labs.list.host>
-
- <!-- labs builder host -->
- <labs.builder.url>http://lutinbuilder.labs.libre-entreprise.org/maven2</labs.builder.url>
-
- <!-- labs project's url -->
- <site.home.url>http://${labs.project}.${labs.host}</site.home.url>
-
- <!-- by default, java sources are in java 1.6 -->
- <maven.compile.source>1.6</maven.compile.source>
-
- <!-- by default, we compile in java 1.6 -->
- <maven.compile.target>1.6</maven.compile.target>
-
- <!-- by default, we compile in UTF8 -->
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <!-- To remove in next release -->
- <maven.compile.encoding>${project.build.sourceEncoding}</maven.compile.encoding>
-
- <!-- by default, use maven 2 source base dir -->
- <maven.src.dir>${basedir}/src</maven.src.dir>
-
- <!-- where to generate source -->
- <maven.gen.dir>${project.build.directory}/generated-sources</maven.gen.dir>
-
- <!-- where to generate test source -->
- <maven.test.gen.dir>${project.build.directory}/generated-test-sources</maven.test.gen.dir>
-
- <!-- where to generate site -->
- <maven.site.gen.dir>${project.build.directory}/generated-site</maven.site.gen.dir>
-
- <!-- locales for the site generation, by default only french -->
- <maven.site.locales>fr</maven.site.locales>
-
- <!-- to allow bad tests -->
- <maven.test.testFailureIgnore>false</maven.test.testFailureIgnore>
-
- <!-- to skip tests (can use also profile notests) -->
- <maven.test.skip>false</maven.test.skip>
-
- <!-- to control fork mode of tests -->
- <maven.test.forkMode>never</maven.test.forkMode>
-
- <!-- to activate generation of reports and javadoc when doing a site -->
- <maven.reports.generate>true</maven.reports.generate>
-
- <!-- lutin stable librairies versions -->
- <license-switcher.version>0.5</license-switcher.version>
- <i18n.version>0.8</i18n.version>
- <jrst.version>0.8.3</jrst.version>
- <jaxx.version>1.0</jaxx.version>
- <topia.version>2.1.1</topia.version>
- <topia.service.version>1.0.1</topia.service.version>
- <generator.version>0.63</generator.version>
- <processor.version>0.17-SNAPSHOT</processor.version>
- <lutinutil.version>1.0.2</lutinutil.version>
- <lutinutilextra.version>0.1</lutinutilextra.version>
- <lutinpluginutil.version>0.2</lutinpluginutil.version>
- <lutinwidget.version>0.12</lutinwidget.version>
- <lutinmatrix.version>1.1</lutinmatrix.version>
- <lutinj2r.version>0.2</lutinj2r.version>
-
- <javadoc.version>2.4</javadoc.version>
- <lutin-enforcer-rules.version>0.2</lutin-enforcer-rules.version>
-
- <!-- default license to use -->
- <license-switcher.licenseName>lgpl_v3</license-switcher.licenseName>
-
- <!-- pour ne pas generer la javadoc (quand on aura un javadoc 2.5) -->
- <maven.javadoc.skip>false</maven.javadoc.skip>
-
- <scm.url.prefix>http://${labs.host}/plugins/scmsvn/viewcvs.php</scm.url.prefix>
- <scm.url.suffix>?root=${labs.project}</scm.url.suffix>
-
- <scm.dc.prefix>scm:svn:svn+ssh://${username}@${labs.host}</scm.dc.prefix>
- <scm.c.prefix>scm:svn:svn://anonymous@${labs.host}</scm.c.prefix>
-
- <scm.c.suffix>svnroot/${labs.project}/${project.artifactId}/trunk</scm.c.suffix>
- <scm.c.suffix.child>svnroot/${labs.project}/${project.parent.artifactId}/trunk/${project.artifactId}
- </scm.c.suffix.child>
-
- <!-- single pom or multi-module pom scm properties -->
- <maven.scm.url>${scm.url.prefix}/${project.artifactId}/trunk/${scm.url.suffix}</maven.scm.url>
- <maven.scm.developerConnection>${scm.dc.prefix}/${scm.c.suffix}</maven.scm.developerConnection>
- <maven.scm.connection>${scm.c.prefix}/${scm.c.suffix}</maven.scm.connection>
-
- <!-- multi-module level one son pom scm properties -->
- <maven.scm.url.child>
- ${scm.url.prefix}/${project.parent.artifactId}/trunk/${project.artifactId}/${scm.url.suffix}
- </maven.scm.url.child>
- <maven.scm.developerConnection.child>${scm.dc.prefix}/${scm.c.suffix.child}
- </maven.scm.developerConnection.child>
- <maven.scm.connection.child>${scm.c.prefix}/${scm.c.suffix.child}</maven.scm.connection.child>
-
- </properties>
-
- <packaging>pom</packaging>
-
- <build>
-
-
- <defaultGoal>install</defaultGoal>
- <!--Ressources-->
- <resources>
- <resource>
- <directory>${maven.src.dir}/main/resources</directory>
- <includes>
- <include>**/*</include>
- </includes>
- <excludes>
- <exclude>**/*~</exclude>
- </excludes>
- </resource>
-
- <!-- FIXME this resource should not be always included in our super-pom ! -->
- <resource>
- <directory>${maven.src.dir}/main/xsl</directory>
- <includes>
- <include>**/*.xsl</include>
- </includes>
- </resource>
- </resources>
-
- <pluginManagement>
-
-
- <plugins>
-
- <!-- - - - - - - - - -->
- <!-- PHASE VALIDATE -->
- <!-- - - - - - - - - -->
-
- <!-- - - - - - - - - - - - -->
- <!-- PHASE GENERATE-SOURCES -->
- <!-- - - - - - - - - - - - -->
-
- <!-- - - - - - - - - - - - -->
- <!-- PHASE PROCESS-SOURCES -->
- <!-- - - - - - - - - - - - -->
-
-
- <!-- - - - - - - - - - - - - -->
- <!-- PHASE GENERATE-RESOURCES -->
- <!-- - - - - - - - - - - - - -->
-
- <!-- - - - - - - - - - - - - -->
- <!-- PHASE PROCESS-RESOURCES -->
- <!-- - - - - - - - - - - - - -->
-
- <!-- plugin resources -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
-
- <!-- - - - - - - - -->
- <!-- PHASE COMPILE -->
- <!-- - - - - - - - -->
-
- <!-- plugin compiler -->
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${maven.compile.source}</source>
- <target>${maven.compile.target}</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
-
- <!-- - - - - - - - - - - - -->
- <!-- PHASE PROCESS-CLASSES -->
- <!-- - - - - - - - - - - - -->
-
- <!-- - - - - - -->
- <!-- PHASE TEST -->
- <!-- - - - - - -->
-
- <!-- plugin surefire -->
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skip>${maven.test.skip}</skip>
- <testFailureIgnore>${maven.test.testFailureIgnore}</testFailureIgnore>
- <forkMode>${maven.test.forkMode}</forkMode>
- <!--Exclude NaughtyTest.java-->
- <!--<includes>
- <include>**/*Test.java</include>
- </includes>
- <excludes>
- <exclude>**/NaughtyTest.java</exclude>
- </excludes>-->
- </configuration>
- </plugin>
-
- <!-- - - - - - - - - -->
- <!-- - PHASE PACKAGE -->
- <!-- - - - - - - - - -->
-
- <!-- plugin dependency -->
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>false</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- plugin war -->
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.1-alpha-2</version>
- <configuration>
- <warSourceDirectory>${maven.src.dir}/main/webapp</warSourceDirectory>
- </configuration>
- </plugin>
-
- <!-- plugin jar -->
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <inherited>true</inherited>
- <configuration>
- <archive>
- <index>true</index>
- <manifest>
- <mainClass>${maven.jar.main.class}</mainClass>
- </manifest>
- <manifestEntries>
- <url>${pom.url}</url>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
-
- <!-- - - - - - - - -->
- <!-- PHASE VERIFY -->
- <!-- - - - - - - - -->
-
- <!-- plugin source -->
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.0.4</version>
- <inherited>true</inherited>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- <!--goal>test-jar</goal-->
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- plugin javadoc -->
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc.version}</version>
- <configuration>
- <docencoding>${project.build.sourceEncoding}</docencoding>
- <encoding>${project.build.sourceEncoding}</encoding>
- <charset>${project.build.sourceEncoding}</charset>
- <quiet>true</quiet>
- <excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames>
- </configuration>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- <!--goal>test-jar</goal-->
- </goals>
- <configuration>
- <attach>true</attach>
- <quiet>true</quiet>
- <!-- uniquement a partir de javadoc 2.5 -->
- <!--skip>${maven.javadoc.skip}</skip-->
- </configuration>
- </execution>
- </executions>
-
- </plugin>
-
- <!-- - - - - - -->
- <!-- PHASE SITE -->
- <!-- - - - - - -->
-
- <!-- plugin site -->
- <plugin>
- <artifactId>maven-site-plugin</artifactId>
- <version>2.0-beta-7</version>
- <configuration>
- <siteDirectory>${maven.site.gen.dir}</siteDirectory>
- <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
- <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
- <generateReports>${maven.reports.generate}</generateReports>
- <locales>${maven.site.locales}</locales>
- <attach>false</attach>
- </configuration>
- </plugin>
-
- </plugins>
- </pluginManagement>
-
- <plugins>
-
- <!--Tasks Ant-->
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <!--Copy files for site-->
- <execution>
- <id>CopySiteFiles</id>
- <phase>pre-site</phase>
- <configuration>
- <tasks>
- <mkdir dir="${maven.src.dir}/site"/>
- <copy todir="${maven.site.gen.dir}" verbose="${maven.verbose}" overwrite="false">
- <fileset dir="${maven.src.dir}/site">
- <exclude name="**/rst/**"/>
- </fileset>
- </copy>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
-
- <!--Site-->
- <reporting>
- <plugins>
-
- <!--
- The Project Info Reports Plugin has twelve goals:
- * project-info-reports:cim is used to generate the Project Continuous Integration System report.
- * project-info-reports:dependencies is used to generate the Project Dependencies report.
- * project-info-reports:dependency-convergence is used to generate the Project Dependency Convergence report for reactor builds.
- * project-info-reports:dependency-management is used to generate the Project DependencyManagement report.
- * project-info-reports:index is used to generate the Project index page.
- * project-info-reports:issue-tracking is used to generate the Project Issue Tracking report.
- * project-info-reports:license is used to generate the Project License report.
- * project-info-reports:mailing-list is used to generate the Project Mailing List report.
- * project-info-reports:plugin-management is used to generate the Project PluginManagement report.
- * project-info-reports:project-team is used to generate the Project Team report.
- * project-info-reports:scm is used to generate the Project Source Code Management report.
- * project-info-reports:summary is used to generate the Project information reports summary.
-
- Note : la version 2.1 officielle bug sur le caractere '
- -->
- <plugin>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <!--version>2.1</version-->
- <version>2.1-cl</version>
- </plugin>
-
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc.version}</version>
- <configuration>
- <quiet>true</quiet>
- <docencoding>${project.build.sourceEncoding}</docencoding>
- <encoding>${project.build.sourceEncoding}</encoding>
- <excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames>
- </configuration>
- </plugin>
-
- <!-- changelog:changelog
- changelog:dev-activity
- changelog:file-activity -->
- <plugin>
- <artifactId>maven-changelog-plugin</artifactId>
- </plugin>
-
- <!-- Implicit add of reportSet to not generate jira reports -->
- <plugin>
- <artifactId>maven-changes-plugin</artifactId>
- <reportSets>
- <reportSet>
- <reports>
- <report>changes-report</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
-
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-pmd-plugin</artifactId>
- <configuration>
- <linkXRef>true</linkXRef>
- <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
- <minimumTokens>100</minimumTokens>
- <targetJdk>${maven.compile.target}</targetJdk>
- </configuration>
-
- </plugin>
-
- <plugin>
- <artifactId>maven-jxr-plugin</artifactId>
- </plugin>
-
- <plugin>
- <artifactId>maven-surefire-report-plugin</artifactId>
- </plugin>
-
- <!-- Not official report plugins -->
- <!-- and not working with viewCVS -->
- <!--plugin>
- <groupId>net.sf</groupId>
- <artifactId>stat-scm</artifactId>
- <version>1.2.0</version>
- </plugin-->
- </plugins>
- </reporting>
-
- <!-- ************************************************************* -->
- <!-- *** Build Environment ************************************** -->
- <!-- ************************************************************* -->
-
- <!-- Build Environment : Environment Information -->
-
- <issueManagement>
- <system>gforge</system>
- <url>http://${labs.host}/tracker/?group_id=${labs.id}</url>
- </issueManagement>
-
- <ciManagement>
- <system>hudson</system>
- <url>http://hudson.codelutin.com/hudson</url>
- <notifiers>
- <notifier>
- <type>mail</type>
- <configuration>
- <recipients>dev(a)codelutin.com</recipients>
- </configuration>
- <sendOnSuccess>true</sendOnSuccess>
- <sendOnError>true</sendOnError>
- <address>admin+hudson(a)codelutin.com</address>
- </notifier>
- </notifiers>
- </ciManagement>
-
- <!--Any mailing lists for the project-->
- <mailingLists>
- <mailingList>
- <name>${labs.project}-commits</name>
- <subscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-commits</subscribe>
- <unsubscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-commits</unsubscribe>
- <archive>http://${labs.list.host}/pipermail/${labs.project}-commits/</archive>
- </mailingList>
-
- <mailingList>
- <name>${labs.project}-devel</name>
- <subscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-devel</subscribe>
- <unsubscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-devel</unsubscribe>
- <archive>http://${labs.list.host}/pipermail/${labs.project}-devel/</archive>
- </mailingList>
-
- <mailingList>
- <name>${labs.project}-user</name>
- <subscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-user</subscribe>
- <unsubscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-user</unsubscribe>
- <archive>http://${labs.list.host}/pipermail/${labs.project}-user/</archive>
- </mailingList>
-
- <!--mailingList>
- <name>${labs.project}-bugreport</name>
- <subscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-bugreport</subscribe>
- <unsubscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-bugreport</unsubscribe>
- <archive>http://${labs.list.host}/pipermail/${labs.project}-bugreport/</archive>
- </mailingList-->
- </mailingLists>
-
- <!--
- Source control management.
- By inheritance, url are always false, need manual include.
-
- Add this to your pom :
- <scm>
- <connection>${maven.scm.connection}</connection>
- <developerConnection>${maven.scm.developerConnection}</developerConnection>
- <url>${maven.scm.url}</url>
- </scm>
- -->
- <scm>
- <connection>${maven.scm.connection}</connection>
- <developerConnection>${maven.scm.developerConnection}</developerConnection>
- <url>${maven.scm.url}</url>
- </scm>
-
- <!-- ************************************************************* -->
- <!-- *** Maven Environment *************************************** -->
- <!-- ************************************************************* -->
-
- <!-- prerequisites -->
- <prerequisites>
- <maven>2.0.8</maven>
- </prerequisites>
-
- <!-- Maven Environment : Repositories -->
-
- <!--Code Lutin Repository-->
- <repositories>
- <repository>
-
- <id>codelutin-repository</id>
- <name>CodeLutinRepository</name>
- <url>${labs.builder.url}</url>
- <snapshots>
- <enabled>true</enabled>
- <checksumPolicy>warn</checksumPolicy>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- <checksumPolicy>warn</checksumPolicy>
- </releases>
- </repository>
- </repositories>
-
- <!-- Code Lutin : plugin repositories -->
- <pluginRepositories>
- <pluginRepository>
- <id>codelutin-plugin-repository</id>
- <name>CodeLutinPluginRepository</name>
- <url>${labs.builder.url}</url>
- <snapshots>
- <enabled>true</enabled>
- <checksumPolicy>warn</checksumPolicy>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- <checksumPolicy>warn</checksumPolicy>
- </releases>
- </pluginRepository>
- </pluginRepositories>
-
- <!--Distribution-->
- <distributionManagement>
- <repository>
- <id>labs</id>
- <url>scpexe://${labs.host}/home/groups/lutinbuilder/htdocs/maven2</url>
- </repository>
- <site>
- <id>labs</id>
- <!-- BE WARE, if your project is a a real labs project, you have to
- override this property in your pom, otherwise maven will suffix this
- value with /${pom.artifactId}.
- You just have to copy the same definition for this property in your pom
- -->
- <url>scpexe://${labs.host}/home/groups/${labs.project}/htdocs</url>
- </site>
- </distributionManagement>
-
- <!-- Maven Environment : profiles -->
- <profiles>
- <profile>
- <id>notests</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <maven.test.skip>true</maven.test.skip>
- </properties>
- </profile>
-
- <!-- 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 check labs properties -->
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0-alpha-4</version>
- <executions>
- <execution>
- <id>lutinproject</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <phase>initialize</phase>
- </execution>
- </executions>
- <configuration>
- <rules>
- <!-- on verifie que le labs.id et labs.name sont bien surchargés (sauf pour les project de
- lutinbuilder). -->
- <myCustomRule implementation="org.codelutin.enforcer.CheckLabsPropertiesRule"/>
-
- <requireProperty>
- <property>labs.id</property>
- <regex>\d+</regex>
- <regexMessage>"labs.id can must be a number!"</regexMessage>
- </requireProperty>
- <requireProperty>
- <property>labs.project</property>
- <regex>\w(\w|\d|-)*</regex>
- <regexMessage>"labs.project can not be empty!"</regexMessage>
- </requireProperty>
- <requireFilesExist>
- <files>
- <file>changelog.txt</file>
- <file>LICENSE.txt</file>
- <file>README.txt</file>
- </files>
- </requireFilesExist>
- </rules>
- <ignoreCache>true</ignoreCache>
- <failFast>true</failFast>
- <fail>true</fail>
-
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.codelutin</groupId>
- <artifactId>lutin-enforcer-rules</artifactId>
- <version>${lutin-enforcer-rules.version}</version>
- </dependency>
- </dependencies>
- </plugin>
-
- <!-- always compute source jar -->
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- </execution>
- </executions>
- </plugin>
-
- <!-- always compute javadoc jar -->
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-jrst-plugin</artifactId>
- <!-- on ne peut pas utiliser jrst.version car cela
- pose des problèmes pendant les montées de version -->
- <version>0.8.3</version>
- <configuration>
- <directoryIn>${maven.src.dir}/site</directoryIn>
- <directoryOut>${maven.site.gen.dir}</directoryOut>
- <defaultLocale>fr</defaultLocale>
- <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
- <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
- </configuration>
- <executions>
- <execution>
- <phase>pre-site</phase>
- <goals>
- <goal>jrst</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- use this plugin to run the main class -->
- <profile>
- <id>run</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <defaultGoal>compile</defaultGoal>
- <plugins>
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0-alpha-4</version>
- <executions>
- <execution>
- <id>run</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <phase>initialize</phase>
- <configuration>
- <rules>
- <requireProperty>
- <property>maven.jar.main.class</property>
- <message>Could not find the "maven.jar.main.class" required property, use
- -Dmaven.jar.main.class=your.main.class.fqn
- </message>
- </requireProperty>
- </rules>
- <ignoreCache>true</ignoreCache>
- <failFast>true</failFast>
- <fail>true</fail>
-
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1.1</version>
- <executions>
- <execution>
- <id>run</id>
- <goals>
- <goal>java</goal>
- </goals>
- <phase>compile</phase>
- <configuration>
- <mainClass>${maven.jar.main.class}</mainClass>
- <classpathScope>runtime</classpathScope>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
- <properties>
- <exec.mainClass>${maven.jar.main.class}</exec.mainClass>
- <exec.classpathScope>runtime</exec.classpathScope>
- </properties>
- </profile>
-
- <!-- profile to fix site url only for the pom -->
- <!-- big hack : test the existance of a rst file to know if we are really in the plugin ? -->
- <profile>
- <id>internalProfile</id>
- <activation>
- <file>
- <exists>src/site/fr/rst/MavenProjectBestPractices.rst</exists>
- </file>
- <activeByDefault>false</activeByDefault>
- </activation>
- <distributionManagement>
- <site>
- <id>labs</id>
- <url>scpexe://${labs.host}/home/groups/${labs.project}/htdocs/${project.artifactId}</url>
- </site>
- </distributionManagement>
- <properties>
- <site.home.url>http://${labs.project}.${labs.host}/${project.artifactId}</site.home.url>
- </properties>
- </profile>
- </profiles>
-
-</project>
Copied: lutinproject/tags/3.4/pom.xml (from rev 359, lutinproject/trunk/pom.xml)
===================================================================
--- lutinproject/tags/3.4/pom.xml (rev 0)
+++ lutinproject/tags/3.4/pom.xml 2009-02-18 16:33:45 UTC (rev 360)
@@ -0,0 +1,956 @@
+<?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">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <!-- ************************************************************* -->
+ <!-- *** POM Relationships *************************************** -->
+ <!-- ************************************************************* -->
+
+ <!-- POM Relationships : Coordinates -->
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinproject</artifactId>
+ <version>3.4</version>
+
+ <!-- POM Relationships : Inheritance -->
+
+ <!-- add this in your pom
+ <parent>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinproject</artifactId>
+ <version>3.4</version>
+ </parent>
+ -->
+
+ <!-- add dependencyManagement
+ <dependencyManagement></dependencyManagement>
+ -->
+
+ <!-- POM Relationships : Inheritance : Dependencies -->
+
+ <dependencies>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.5</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1.1</version>
+ <scope>compile</scope>
+ </dependency>
+
+ </dependencies>
+
+ <!-- POM Relationships : Aggregation -->
+
+ <!-- add modules
+ <modules></modules>
+ -->
+
+ <!-- ************************************************************* -->
+ <!-- *** Project Information ************************************* -->
+ <!-- ************************************************************* -->
+
+ <name>Codelutin project superpom</name>
+
+ <description>Projet Maven de référence pour l'ensemble des projets Maven.</description>
+
+ <url>${site.home.url}</url>
+
+ <inceptionYear>1999</inceptionYear>
+
+ <licenses>
+ <license>
+ <name>LGPL</name>
+ <url>http://www.gnu.org/licenses/lgpl.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <developers>
+ <developer>
+ <name>Benjamin Poussin</name>
+ <id>bpoussin</id>
+ <email>poussin(a)codelutin.com</email>
+ <organization>CodeLutin</organization>
+ <timezone>+2</timezone>
+ <roles>
+ <role>Développeur</role>
+ <role>Debian packager</role>
+ </roles>
+ </developer>
+
+ <developer>
+ <name>Arnaud Thimel</name>
+ <id>athimel</id>
+ <email>thimel(a)codelutin.com</email>
+ <organization>CodeLutin</organization>
+ <timezone>+2</timezone>
+ <roles>
+ <role>Développeur</role>
+ </roles>
+ </developer>
+
+ <developer>
+ <name>Julien Ruchaud</name>
+ <id>jruchaud</id>
+ <email>ruchaud(a)codelutin.com</email>
+ <organization>CodeLutin</organization>
+ <timezone>+2</timezone>
+ <roles>
+ <role>Développeur</role>
+ </roles>
+ </developer>
+
+ <developer>
+ <name>Eric Chatellier</name>
+ <id>echatellier</id>
+ <email>chatellier(a)codelutin.com</email>
+ <organization>CodeLutin</organization>
+ <timezone>+2</timezone>
+ <roles>
+ <role>Développeur</role>
+ </roles>
+ </developer>
+
+ <developer>
+ <name>Tony Chemit</name>
+ <id>tchemit</id>
+ <email>chemit(a)codelutin.com</email>
+ <organization>CodeLutin</organization>
+ <timezone>+2</timezone>
+ <roles>
+ <role>Développeur</role>
+ </roles>
+ </developer>
+
+ <developer>
+ <name>Sylvain Letellier</name>
+ <id>sletellier</id>
+ <email>letellier(a)codelutin.com</email>
+ <organization>CodeLutin</organization>
+ <timezone>+2</timezone>
+ <roles>
+ <role>Développeur</role>
+ </roles>
+ </developer>
+
+ <developer>
+ <name>Yannick Martel</name>
+ <id>ymartel</id>
+ <email>martel(a)codelutin.com</email>
+ <organization>CodeLutin</organization>
+ <timezone>+2</timezone>
+ <roles>
+ <role>Développeur</role>
+ </roles>
+ </developer>
+
+ <developer>
+ <name>Stéphane Chorlet</name>
+ <id>schorlet</id>
+ <email>chorlet(a)codelutin.com</email>
+ <organization>CodeLutin</organization>
+ <timezone>+2</timezone>
+ <roles>
+ <role>Développeur</role>
+ </roles>
+ </developer>
+ </developers>
+
+ <organization>
+ <name>CodeLutin</name>
+ <url>http://www.codelutin.com/</url>
+ </organization>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Settings ****************************************** -->
+ <!-- ************************************************************* -->
+
+ <properties>
+
+ <!-- the labs' project id : change this in your pom -->
+ <labs.id>11</labs.id>
+
+ <!-- this labs' project name : change this in your pom -->
+ <labs.project>lutinbuilder</labs.project>
+
+ <!-- labs host -->
+ <labs.host>labs.libre-entreprise.org</labs.host>
+
+ <!-- labs list host -->
+ <labs.list.host>lists.labs.libre-entreprise.org</labs.list.host>
+
+ <!-- labs builder host -->
+ <labs.builder.url>http://lutinbuilder.labs.libre-entreprise.org/maven2</labs.builder.url>
+
+ <!-- labs project's url -->
+ <site.home.url>http://${labs.project}.${labs.host}</site.home.url>
+
+ <!-- by default, java sources are in java 1.6 -->
+ <maven.compile.source>1.6</maven.compile.source>
+
+ <!-- by default, we compile in java 1.6 -->
+ <maven.compile.target>1.6</maven.compile.target>
+
+ <!-- by default, we compile in UTF8 -->
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <!-- To remove in next release -->
+ <maven.compile.encoding>${project.build.sourceEncoding}</maven.compile.encoding>
+
+ <!-- by default, use maven 2 source base dir -->
+ <maven.src.dir>${basedir}/src</maven.src.dir>
+
+ <!-- where to generate source -->
+ <maven.gen.dir>${project.build.directory}/generated-sources</maven.gen.dir>
+
+ <!-- where to generate test source -->
+ <maven.test.gen.dir>${project.build.directory}/generated-test-sources</maven.test.gen.dir>
+
+ <!-- where to generate site -->
+ <maven.site.gen.dir>${project.build.directory}/generated-site</maven.site.gen.dir>
+
+ <!-- locales for the site generation, by default only french -->
+ <maven.site.locales>fr</maven.site.locales>
+
+ <!-- to allow bad tests -->
+ <maven.test.testFailureIgnore>false</maven.test.testFailureIgnore>
+
+ <!-- to skip tests (can use also profile notests) -->
+ <maven.test.skip>false</maven.test.skip>
+
+ <!-- to control fork mode of tests -->
+ <maven.test.forkMode>never</maven.test.forkMode>
+
+ <!-- to activate generation of reports and javadoc when doing a site -->
+ <maven.reports.generate>true</maven.reports.generate>
+
+ <javadoc.version>2.4</javadoc.version>
+ <lutin-enforcer-rules.version>0.2</lutin-enforcer-rules.version>
+
+ <!-- default license to use -->
+ <license-switcher.licenseName>lgpl_v3</license-switcher.licenseName>
+
+ <!-- pour ne pas generer la javadoc (quand on aura un javadoc 2.5) -->
+ <maven.javadoc.skip>false</maven.javadoc.skip>
+
+ <scm.url.prefix>http://${labs.host}/plugins/scmsvn/viewcvs.php</scm.url.prefix>
+ <scm.url.suffix>?root=${labs.project}</scm.url.suffix>
+
+ <scm.dc.prefix>scm:svn:svn+ssh://${username}@${labs.host}</scm.dc.prefix>
+ <scm.c.prefix>scm:svn:svn://anonymous@${labs.host}</scm.c.prefix>
+
+ <scm.c.suffix>svnroot/${labs.project}/${project.artifactId}/trunk</scm.c.suffix>
+ <scm.c.suffix.child>svnroot/${labs.project}/${project.parent.artifactId}/trunk/${project.artifactId}
+ </scm.c.suffix.child>
+
+ <!-- single pom or multi-module pom scm properties -->
+ <maven.scm.url>${scm.url.prefix}/${project.artifactId}/trunk/${scm.url.suffix}</maven.scm.url>
+ <maven.scm.developerConnection>${scm.dc.prefix}/${scm.c.suffix}</maven.scm.developerConnection>
+ <maven.scm.connection>${scm.c.prefix}/${scm.c.suffix}</maven.scm.connection>
+
+ <!-- multi-module level one son pom scm properties -->
+ <maven.scm.url.child>
+ ${scm.url.prefix}/${project.parent.artifactId}/trunk/${project.artifactId}/${scm.url.suffix}
+ </maven.scm.url.child>
+ <maven.scm.developerConnection.child>${scm.dc.prefix}/${scm.c.suffix.child}
+ </maven.scm.developerConnection.child>
+ <maven.scm.connection.child>${scm.c.prefix}/${scm.c.suffix.child}</maven.scm.connection.child>
+
+ </properties>
+
+ <packaging>pom</packaging>
+
+ <build>
+
+ <defaultGoal>install</defaultGoal>
+ <!--Ressources-->
+ <resources>
+ <resource>
+ <directory>${maven.src.dir}/main/resources</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ <excludes>
+ <exclude>**/*~</exclude>
+ </excludes>
+ </resource>
+
+ <!-- FIXME this resource should not be always included in our super-pom ! -->
+ <resource>
+ <directory>${maven.src.dir}/main/xsl</directory>
+ <includes>
+ <include>**/*.xsl</include>
+ </includes>
+ </resource>
+ </resources>
+
+ <pluginManagement>
+
+
+ <plugins>
+
+ <!-- - - - - - - - - -->
+ <!-- PHASE VALIDATE -->
+ <!-- - - - - - - - - -->
+
+ <!-- - - - - - - - - - - - -->
+ <!-- PHASE GENERATE-SOURCES -->
+ <!-- - - - - - - - - - - - -->
+
+ <!-- - - - - - - - - - - - -->
+ <!-- PHASE PROCESS-SOURCES -->
+ <!-- - - - - - - - - - - - -->
+
+
+ <!-- - - - - - - - - - - - - -->
+ <!-- PHASE GENERATE-RESOURCES -->
+ <!-- - - - - - - - - - - - - -->
+
+ <!-- - - - - - - - - - - - - -->
+ <!-- PHASE PROCESS-RESOURCES -->
+ <!-- - - - - - - - - - - - - -->
+
+ <!-- plugin resources -->
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <configuration>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ </plugin>
+
+ <!-- - - - - - - - -->
+ <!-- PHASE COMPILE -->
+ <!-- - - - - - - - -->
+
+ <!-- plugin compiler -->
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${maven.compile.source}</source>
+ <target>${maven.compile.target}</target>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ </plugin>
+
+ <!-- - - - - - - - - - - - -->
+ <!-- PHASE PROCESS-CLASSES -->
+ <!-- - - - - - - - - - - - -->
+
+ <!-- - - - - - -->
+ <!-- PHASE TEST -->
+ <!-- - - - - - -->
+
+ <!-- plugin surefire -->
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skip>${maven.test.skip}</skip>
+ <testFailureIgnore>${maven.test.testFailureIgnore}</testFailureIgnore>
+ <forkMode>${maven.test.forkMode}</forkMode>
+ <!--Exclude NaughtyTest.java-->
+ <!--<includes>
+ <include>**/*Test.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/NaughtyTest.java</exclude>
+ </excludes>-->
+ </configuration>
+ </plugin>
+
+ <!-- - - - - - - - - -->
+ <!-- - PHASE PACKAGE -->
+ <!-- - - - - - - - - -->
+
+ <!-- plugin dependency -->
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>false</overWriteSnapshots>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ <outputDirectory>${project.build.directory}/lib</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- plugin war -->
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.1-alpha-2</version>
+ <configuration>
+ <warSourceDirectory>${maven.src.dir}/main/webapp</warSourceDirectory>
+ </configuration>
+ </plugin>
+
+ <!-- plugin jar -->
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <archive>
+ <index>true</index>
+ <manifest>
+ <mainClass>${maven.jar.main.class}</mainClass>
+ </manifest>
+ <manifestEntries>
+ <url>${pom.url}</url>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+
+ <!-- - - - - - - - -->
+ <!-- PHASE VERIFY -->
+ <!-- - - - - - - - -->
+
+ <!-- plugin source -->
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.0.4</version>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ <!--goal>test-jar</goal-->
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- plugin javadoc -->
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>${javadoc.version}</version>
+ <configuration>
+ <docencoding>${project.build.sourceEncoding}</docencoding>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ <charset>${project.build.sourceEncoding}</charset>
+ <quiet>true</quiet>
+ <excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ <!--goal>test-jar</goal-->
+ </goals>
+ <configuration>
+ <attach>true</attach>
+ <quiet>true</quiet>
+ <!-- uniquement a partir de javadoc 2.5 -->
+ <!--skip>${maven.javadoc.skip}</skip-->
+ </configuration>
+ </execution>
+ </executions>
+
+ </plugin>
+
+ <!-- - - - - - -->
+ <!-- PHASE SITE -->
+ <!-- - - - - - -->
+
+ <!-- plugin site -->
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ <configuration>
+ <siteDirectory>${maven.site.gen.dir}</siteDirectory>
+ <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+ <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
+ <generateReports>${maven.reports.generate}</generateReports>
+ <locales>${maven.site.locales}</locales>
+ <attach>false</attach>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </pluginManagement>
+
+ <plugins>
+
+ <!--Tasks Ant-->
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <!--Copy files for site-->
+ <execution>
+ <id>CopySiteFiles</id>
+ <phase>pre-site</phase>
+ <configuration>
+ <tasks>
+ <mkdir dir="${maven.src.dir}/site" />
+ <copy todir="${maven.site.gen.dir}" verbose="${maven.verbose}" overwrite="false">
+ <fileset dir="${maven.src.dir}/site">
+ <exclude name="**/rst/**" />
+ </fileset>
+ </copy>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <!--Site-->
+ <reporting>
+ <plugins>
+
+ <!--
+ The Project Info Reports Plugin has twelve goals:
+ * project-info-reports:cim is used to generate the Project Continuous Integration System report.
+ * project-info-reports:dependencies is used to generate the Project Dependencies report.
+ * project-info-reports:dependency-convergence is used to generate the Project Dependency Convergence report for reactor builds.
+ * project-info-reports:dependency-management is used to generate the Project DependencyManagement report.
+ * project-info-reports:index is used to generate the Project index page.
+ * project-info-reports:issue-tracking is used to generate the Project Issue Tracking report.
+ * project-info-reports:license is used to generate the Project License report.
+ * project-info-reports:mailing-list is used to generate the Project Mailing List report.
+ * project-info-reports:plugin-management is used to generate the Project PluginManagement report.
+ * project-info-reports:project-team is used to generate the Project Team report.
+ * project-info-reports:scm is used to generate the Project Source Code Management report.
+ * project-info-reports:summary is used to generate the Project information reports summary.
+
+ Note : la version 2.1 officielle bug sur le caractere '
+ -->
+ <plugin>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <!--version>2.1</version-->
+ <version>2.1-cl</version>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>${javadoc.version}</version>
+ <configuration>
+ <quiet>true</quiet>
+ <docencoding>${project.build.sourceEncoding}</docencoding>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ <excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames>
+ </configuration>
+ </plugin>
+
+ <!-- changelog:changelog
+ changelog:dev-activity
+ changelog:file-activity -->
+ <plugin>
+ <artifactId>maven-changelog-plugin</artifactId>
+ </plugin>
+
+ <!-- Implicit add of reportSet to not generate jira reports -->
+ <plugin>
+ <artifactId>maven-changes-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <configuration>
+ <linkXRef>true</linkXRef>
+ <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
+ <minimumTokens>100</minimumTokens>
+ <targetJdk>${maven.compile.target}</targetJdk>
+ </configuration>
+
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-jxr-plugin</artifactId>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ </plugin>
+
+ <!-- Not official report plugins -->
+ <!-- and not working with viewCVS -->
+ <!--plugin>
+ <groupId>net.sf</groupId>
+ <artifactId>stat-scm</artifactId>
+ <version>1.2.0</version>
+ </plugin-->
+ </plugins>
+ </reporting>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Environment ************************************** -->
+ <!-- ************************************************************* -->
+
+ <!-- Build Environment : Environment Information -->
+
+ <issueManagement>
+ <system>gforge</system>
+ <url>http://${labs.host}/tracker/?group_id=${labs.id}</url>
+ </issueManagement>
+
+ <ciManagement>
+ <system>hudson</system>
+ <url>http://hudson.codelutin.com/hudson</url>
+ <notifiers>
+ <notifier>
+ <type>mail</type>
+ <configuration>
+ <recipients>dev(a)codelutin.com</recipients>
+ </configuration>
+ <sendOnSuccess>true</sendOnSuccess>
+ <sendOnError>true</sendOnError>
+ <address>admin+hudson(a)codelutin.com</address>
+ </notifier>
+ </notifiers>
+ </ciManagement>
+
+ <!--Any mailing lists for the project-->
+ <mailingLists>
+ <mailingList>
+ <name>${labs.project}-commits</name>
+ <subscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-commits</subscribe>
+ <unsubscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-commits</unsubscribe>
+ <archive>http://${labs.list.host}/pipermail/${labs.project}-commits/</archive>
+ </mailingList>
+
+ <mailingList>
+ <name>${labs.project}-devel</name>
+ <subscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-devel</subscribe>
+ <unsubscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-devel</unsubscribe>
+ <archive>http://${labs.list.host}/pipermail/${labs.project}-devel/</archive>
+ </mailingList>
+
+ <mailingList>
+ <name>${labs.project}-user</name>
+ <subscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-user</subscribe>
+ <unsubscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-user</unsubscribe>
+ <archive>http://${labs.list.host}/pipermail/${labs.project}-user/</archive>
+ </mailingList>
+
+ <!--mailingList>
+ <name>${labs.project}-bugreport</name>
+ <subscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-bugreport</subscribe>
+ <unsubscribe>http://${labs.list.host}/mailman/listinfo/${labs.project}-bugreport</unsubscribe>
+ <archive>http://${labs.list.host}/pipermail/${labs.project}-bugreport/</archive>
+ </mailingList-->
+ </mailingLists>
+
+ <!--
+ Source control management.
+ By inheritance, url are always false, need manual include.
+
+ Add this to your pom :
+ <scm>
+ <connection>${maven.scm.connection}</connection>
+ <developerConnection>${maven.scm.developerConnection}</developerConnection>
+ <url>${maven.scm.url}</url>
+ </scm>
+ -->
+ <scm>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.4</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.4</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutinproject/ta…</url>
+ </scm>
+
+ <!-- ************************************************************* -->
+ <!-- *** Maven Environment *************************************** -->
+ <!-- ************************************************************* -->
+
+ <!-- prerequisites -->
+ <prerequisites>
+ <maven>2.0.8</maven>
+ </prerequisites>
+
+ <!-- Maven Environment : Repositories -->
+
+ <!--Code Lutin Repository-->
+ <!-- redescendu dans tous les projets pour qu'ils soitent autonomes -->
+ <!--repositories>
+ <repository>
+
+ <id>codelutin-repository</id>
+ <name>CodeLutinRepository</name>
+ <url>${labs.builder.url}</url>
+ <snapshots>
+ <enabled>true</enabled>
+ <checksumPolicy>warn</checksumPolicy>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ <checksumPolicy>warn</checksumPolicy>
+ </releases>
+ </repository>
+ </repositories-->
+
+ <!-- Code Lutin : plugin repositories -->
+ <pluginRepositories>
+ <pluginRepository>
+ <id>codelutin-plugin-repository</id>
+ <name>CodeLutinPluginRepository</name>
+ <url>${labs.builder.url}</url>
+ <snapshots>
+ <enabled>true</enabled>
+ <checksumPolicy>warn</checksumPolicy>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ <checksumPolicy>warn</checksumPolicy>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <!--Distribution-->
+ <distributionManagement>
+ <repository>
+ <id>labs</id>
+ <url>scpexe://${labs.host}/home/groups/lutinbuilder/htdocs/maven2</url>
+ </repository>
+ <site>
+ <id>labs</id>
+ <!-- BE WARE, if your project is a a real labs project, you have to
+ override this property in your pom, otherwise maven will suffix this
+ value with /${pom.artifactId}.
+ You just have to copy the same definition for this property in your pom
+ -->
+ <url>scpexe://${labs.host}/home/groups/${labs.project}/htdocs</url>
+ </site>
+ </distributionManagement>
+
+ <!-- Maven Environment : profiles -->
+ <profiles>
+
+ <!-- do not execute tests (generaly a bad idea...) -->
+ <profile>
+ <id>notests</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ </properties>
+ </profile>
+
+ <!-- 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 check labs properties -->
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <executions>
+ <execution>
+ <id>lutinproject</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <phase>initialize</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <rules>
+ <!-- on verifie que le labs.id et labs.name sont bien surchargés (sauf pour les project de
+ lutinbuilder). -->
+ <myCustomRule implementation="org.codelutin.enforcer.CheckLabsPropertiesRule" />
+
+ <requireProperty>
+ <property>labs.id</property>
+ <regex>\d+</regex>
+ <regexMessage>"labs.id can must be a number!"</regexMessage>
+ </requireProperty>
+ <requireProperty>
+ <property>labs.project</property>
+ <regex>\w(\w|\d|-)*</regex>
+ <regexMessage>"labs.project can not be empty!"</regexMessage>
+ </requireProperty>
+ <requireFilesExist>
+ <files>
+ <file>changelog.txt</file>
+ <file>LICENSE.txt</file>
+ <file>README.txt</file>
+ </files>
+ </requireFilesExist>
+ </rules>
+ <ignoreCache>true</ignoreCache>
+ <failFast>true</failFast>
+ <fail>true</fail>
+
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutin-enforcer-rules</artifactId>
+ <version>${lutin-enforcer-rules.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+ <!-- always compute source jar -->
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- always compute javadoc jar -->
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-jrst-plugin</artifactId>
+ <!-- on ne peut pas utiliser jrst.version car cela
+ pose des problèmes pendant les montées de version -->
+ <version>0.8.3</version>
+ <configuration>
+ <directoryIn>${maven.src.dir}/site</directoryIn>
+ <directoryOut>${maven.site.gen.dir}</directoryOut>
+ <defaultLocale>fr</defaultLocale>
+ <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+ <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>jrst</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <!-- use this plugin to run the main class -->
+ <profile>
+ <id>run</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <defaultGoal>compile</defaultGoal>
+ <plugins>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <executions>
+ <execution>
+ <id>run</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <phase>initialize</phase>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>maven.jar.main.class</property>
+ <message>Could not find the "maven.jar.main.class" required property, use
+ -Dmaven.jar.main.class=your.main.class.fqn
+ </message>
+ </requireProperty>
+ </rules>
+ <ignoreCache>true</ignoreCache>
+ <failFast>true</failFast>
+ <fail>true</fail>
+
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+ <id>run</id>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <phase>compile</phase>
+ <configuration>
+ <mainClass>${maven.jar.main.class}</mainClass>
+ <classpathScope>runtime</classpathScope>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+ <properties>
+ <exec.mainClass>${maven.jar.main.class}</exec.mainClass>
+ <exec.classpathScope>runtime</exec.classpathScope>
+ </properties>
+ </profile>
+
+ <!-- profile to fix site url only for the pom -->
+ <!-- big hack : test the existance of a rst file to know if we are really in the plugin ? -->
+ <profile>
+ <id>internalProfile</id>
+ <activation>
+ <file>
+ <exists>src/site/fr/rst/MavenProjectBestPractices.rst</exists>
+ </file>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <distributionManagement>
+ <site>
+ <id>labs</id>
+ <url>scpexe://${labs.host}/home/groups/${labs.project}/htdocs/${project.artifactId}</url>
+ </site>
+ </distributionManagement>
+ <properties>
+ <site.home.url>http://${labs.project}.${labs.host}/${project.artifactId}</site.home.url>
+ </properties>
+ </profile>
+ </profiles>
+
+</project>
Deleted: lutinproject/tags/3.4/src/site/fr/rst/MavenProjectBestPractices.rst
===================================================================
--- lutinproject/trunk/src/site/fr/rst/MavenProjectBestPractices.rst 2009-02-18 09:13:48 UTC (rev 356)
+++ lutinproject/tags/3.4/src/site/fr/rst/MavenProjectBestPractices.rst 2009-02-18 16:33:45 UTC (rev 360)
@@ -1,50 +0,0 @@
-=====================
-Maven 2 best pratices
-=====================
-
-
-.. contents::
-
-
-Présentation
-------------
-
-Ce document énumère les bonnes pratiques à retenir sur l'utilisation de maven 2.
-
-Préconisations générales
-------------------------
-
-Inspiration du document http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html .
-
-.. image:: http://www.javaworld.com/javaworld/jw-05-2006/images/jw-0529-maven1.gif
-
-- toujours respecter la même organisation dans nos pom
-
-- les principales sections d'un pom :
-
- - POM Relationships
-
- - Project Information
-
- - Build Settings
-
- - Build Environment
-
- - Maven Environment
-
-A faire
-
-Création d'un nouveau projet lutin
-----------------------------------
-
-A faire
-
-Création d'un nouveau projet lutin multi-modules
-------------------------------------------------
-
-A faire
-
-Les plugins utilisés
---------------------
-
-A faire
Copied: lutinproject/tags/3.4/src/site/fr/rst/MavenProjectBestPractices.rst (from rev 358, lutinproject/trunk/src/site/fr/rst/MavenProjectBestPractices.rst)
===================================================================
--- lutinproject/tags/3.4/src/site/fr/rst/MavenProjectBestPractices.rst (rev 0)
+++ lutinproject/tags/3.4/src/site/fr/rst/MavenProjectBestPractices.rst 2009-02-18 16:33:45 UTC (rev 360)
@@ -0,0 +1,55 @@
+=====================
+Maven 2 best pratices
+=====================
+
+
+.. contents::
+
+
+Présentation
+------------
+
+Ce document énumère les bonnes pratiques à retenir sur l'utilisation de maven 2.
+
+Préconisations générales
+------------------------
+
+Inspiration du document http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html .
+
+.. image:: http://www.javaworld.com/javaworld/jw-05-2006/images/jw-0529-maven1.gif
+
+- toujours respecter la même organisation dans nos pom
+
+- les principales sections d'un pom :
+
+ - POM Relationships
+
+ - Project Information
+
+ - Build Settings
+
+ - Build Environment
+
+ - Maven Environment
+
+A faire
+
+Création d'un nouveau projet lutin
+----------------------------------
+
+A faire
+
+Création d'un nouveau projet lutin multi-modules
+------------------------------------------------
+
+A faire
+
+Création d'un nouveau plugin lutin
+----------------------------------
+
+A faire
+
+Les plugins utilisés
+--------------------
+
+A faire
Deleted: lutinproject/tags/3.4/src/site/fr/rst/index.rst
===================================================================
--- lutinproject/trunk/src/site/fr/rst/index.rst 2009-02-18 09:13:48 UTC (rev 356)
+++ lutinproject/tags/3.4/src/site/fr/rst/index.rst 2009-02-18 16:33:45 UTC (rev 360)
@@ -1,118 +0,0 @@
-lutinproject
-============
-
-.. contents::
-
-
-Présentation
-------------
-
-Super pom de tous nos projets.
-
-Les propriétés définies
------------------------
-
- - **labs.id**
-
- - **labs.project**
-
- - *labs.host*
-
- - *labs.list.host*
-
- - *labs.builder.url*
-
- - *site.home.url*
-
- - *maven.compile.source*
-
- - *maven.compile.target*
-
- - *maven.compile.encoding*
-
- - *maven.src.dir*
-
- - *maven.gen.dir*
-
- - *maven.site.gen.dir*
-
- - *maven.site.locales*
-
- - *maven.test.testFailureIgnore*
-
- - *maven.test.skip*
-
- - *maven.reports.generate*
-
- - *license-switcher.version*
-
- - *i18n.version*
-
- - *jrst.version*
-
- - *license-switcher.licenseName*
-
- - *maven.scm.url*
-
- - *maven.scm.developerConnection*
-
- - *maven.scm.connection*
-
- - *maven.scm.url.child*
-
- - *maven.scm.developerConnection.child*
-
- - *maven.scm.connection.child*
-
- - *maven.scm.url.child.child*
-
- - *maven.scm.developerConnection.child.child*
-
- - *maven.scm.connection.child.child*
-
-
-.. WARNING::
- Expliquer à quoi servent ces propriétés.
-
-Vérification de conformité
---------------------------
-
-On effectue sur le pom des contrôles de conformités via *maven-enforcer-plugin*.
-
-propriétés obligatoires
-~~~~~~~~~~~~~~~~~~~~~~~
-
- - *labs.id* : doit être un nombre
-
- - *labs.projects* : doit etre non vide et commencer par un mot
-
-fichiers obligatoires
-~~~~~~~~~~~~~~~~~~~~~
-
- - README.txt
-
- - changelog.txt
-
- - LICENSE.txt
-
-
-Les plugins configurés
-----------------------
-
-.. WARNING::
- A faire
-
-
-Montée en version d'un plugin
------------------------------
-
-.. WARNING::
- A faire
-
-
-La gestion scm
---------------
-
-.. WARNING::
- A faire
-
Copied: lutinproject/tags/3.4/src/site/fr/rst/index.rst (from rev 358, lutinproject/trunk/src/site/fr/rst/index.rst)
===================================================================
--- lutinproject/tags/3.4/src/site/fr/rst/index.rst (rev 0)
+++ lutinproject/tags/3.4/src/site/fr/rst/index.rst 2009-02-18 16:33:45 UTC (rev 360)
@@ -0,0 +1,114 @@
+lutinproject
+============
+
+.. contents::
+
+
+Présentation
+------------
+
+Super pom de tous nos projets.
+
+Les propriétés définies
+-----------------------
+
+ - **labs.id**
+
+ - **labs.project**
+
+ - *labs.host*
+
+ - *labs.list.host*
+
+ - *labs.builder.url*
+
+ - *site.home.url*
+
+ - *maven.compile.source*
+
+ - *maven.compile.target*
+
+ - *maven.compile.encoding*
+
+ - *maven.src.dir*
+
+ - *maven.gen.dir*
+
+ - *maven.site.gen.dir*
+
+ - *maven.site.locales*
+
+ - *maven.test.testFailureIgnore*
+
+ - *maven.test.skip*
+
+ - *maven.reports.generate*
+
+ - *license-switcher.version*
+
+ - *license-switcher.licenseName*
+
+ - *maven.scm.url*
+
+ - *maven.scm.developerConnection*
+
+ - *maven.scm.connection*
+
+ - *maven.scm.url.child*
+
+ - *maven.scm.developerConnection.child*
+
+ - *maven.scm.connection.child*
+
+ - *maven.scm.url.child.child*
+
+ - *maven.scm.developerConnection.child.child*
+
+ - *maven.scm.connection.child.child*
+
+
+.. WARNING::
+ Expliquer à quoi servent ces propriétés.
+
+Vérification de conformité
+--------------------------
+
+On effectue sur le pom des contrôles de conformités via *maven-enforcer-plugin*.
+
+propriétés obligatoires
+~~~~~~~~~~~~~~~~~~~~~~~
+
+ - *labs.id* : doit être un nombre
+
+ - *labs.projects* : doit etre non vide et commencer par un mot
+
+fichiers obligatoires
+~~~~~~~~~~~~~~~~~~~~~
+
+ - README.txt
+
+ - changelog.txt
+
+ - LICENSE.txt
+
+
+Les plugins configurés
+----------------------
+
+.. WARNING::
+ A faire
+
+
+Montée en version d'un plugin
+-----------------------------
+
+.. WARNING::
+ A faire
+
+
+La gestion scm
+--------------
+
+.. WARNING::
+ A faire
+
1
0
[Lutinbuilder-commits] r359 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
18 Feb '09
Author: tchemit
Date: 2009-02-18 16:33:42 +0000 (Wed, 18 Feb 2009)
New Revision: 359
Modified:
lutinproject/trunk/pom.xml
Log:
[maven-release-plugin] prepare release 3.4
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-18 16:29:29 UTC (rev 358)
+++ lutinproject/trunk/pom.xml 2009-02-18 16:33:42 UTC (rev 359)
@@ -1,6 +1,5 @@
<?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>
@@ -11,7 +10,7 @@
<!-- POM Relationships : Coordinates -->
<groupId>org.codelutin</groupId>
<artifactId>lutinproject</artifactId>
- <version>3.4-SNAPSHOT</version>
+ <version>3.4</version>
<!-- POM Relationships : Inheritance -->
@@ -496,10 +495,10 @@
<phase>pre-site</phase>
<configuration>
<tasks>
- <mkdir dir="${maven.src.dir}/site"/>
+ <mkdir dir="${maven.src.dir}/site" />
<copy todir="${maven.site.gen.dir}" verbose="${maven.verbose}" overwrite="false">
<fileset dir="${maven.src.dir}/site">
- <exclude name="**/rst/**"/>
+ <exclude name="**/rst/**" />
</fileset>
</copy>
</tasks>
@@ -677,9 +676,9 @@
</scm>
-->
<scm>
- <connection>${maven.scm.connection}</connection>
- <developerConnection>${maven.scm.developerConnection}</developerConnection>
- <url>${maven.scm.url}</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.4</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.4</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutinproject/ta…</url>
</scm>
<!-- ************************************************************* -->
@@ -789,7 +788,7 @@
<rules>
<!-- on verifie que le labs.id et labs.name sont bien surchargés (sauf pour les project de
lutinbuilder). -->
- <myCustomRule implementation="org.codelutin.enforcer.CheckLabsPropertiesRule"/>
+ <myCustomRule implementation="org.codelutin.enforcer.CheckLabsPropertiesRule" />
<requireProperty>
<property>labs.id</property>
1
0
[Lutinbuilder-commits] r358 - in lutinproject/trunk: . src/site/fr/rst
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
18 Feb '09
Author: tchemit
Date: 2009-02-18 16:29:29 +0000 (Wed, 18 Feb 2009)
New Revision: 358
Modified:
lutinproject/trunk/changelog.txt
lutinproject/trunk/pom.xml
lutinproject/trunk/src/site/fr/rst/MavenProjectBestPractices.rst
lutinproject/trunk/src/site/fr/rst/index.rst
Log:
last commit before release
Modified: lutinproject/trunk/changelog.txt
===================================================================
--- lutinproject/trunk/changelog.txt 2009-02-18 14:01:57 UTC (rev 357)
+++ lutinproject/trunk/changelog.txt 2009-02-18 16:29:29 UTC (rev 358)
@@ -1,4 +1,7 @@
3.4.0 chemit 20090128
+ * 20090218 [chemit] - release 3.4
+ - remove all dependencies to our libs and plugin
+
* 20090128 [chemit] - release 3.4.0 (for test only)
- fix bug sur l'url de nos super-pom lors de la génération d'un site.
- meilleure gestion des labs.id et labs.name via lutin-enforcer-rules 0.1
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-18 14:01:57 UTC (rev 357)
+++ lutinproject/trunk/pom.xml 2009-02-18 16:29:29 UTC (rev 358)
@@ -694,6 +694,7 @@
<!-- Maven Environment : Repositories -->
<!--Code Lutin Repository-->
+ <!-- redescendu dans tous les projets pour qu'ils soitent autonomes -->
<!--repositories>
<repository>
Modified: lutinproject/trunk/src/site/fr/rst/MavenProjectBestPractices.rst
===================================================================
--- lutinproject/trunk/src/site/fr/rst/MavenProjectBestPractices.rst 2009-02-18 14:01:57 UTC (rev 357)
+++ lutinproject/trunk/src/site/fr/rst/MavenProjectBestPractices.rst 2009-02-18 16:29:29 UTC (rev 358)
@@ -44,6 +44,11 @@
A faire
+Création d'un nouveau plugin lutin
+----------------------------------
+
+A faire
+
Les plugins utilisés
--------------------
Modified: lutinproject/trunk/src/site/fr/rst/index.rst
===================================================================
--- lutinproject/trunk/src/site/fr/rst/index.rst 2009-02-18 14:01:57 UTC (rev 357)
+++ lutinproject/trunk/src/site/fr/rst/index.rst 2009-02-18 16:29:29 UTC (rev 358)
@@ -46,10 +46,6 @@
- *license-switcher.version*
- - *i18n.version*
-
- - *jrst.version*
-
- *license-switcher.licenseName*
- *maven.scm.url*
1
0
[Lutinbuilder-commits] r357 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
18 Feb '09
Author: tchemit
Date: 2009-02-18 14:01:57 +0000 (Wed, 18 Feb 2009)
New Revision: 357
Modified:
lutinproject/trunk/pom.xml
Log:
suppression des versions de nos librairies + suppression du repository codelutin
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-18 09:13:48 UTC (rev 356)
+++ lutinproject/trunk/pom.xml 2009-02-18 14:01:57 UTC (rev 357)
@@ -231,22 +231,6 @@
<!-- to activate generation of reports and javadoc when doing a site -->
<maven.reports.generate>true</maven.reports.generate>
- <!-- lutin stable librairies versions -->
- <license-switcher.version>0.5</license-switcher.version>
- <i18n.version>0.8</i18n.version>
- <jrst.version>0.8.3</jrst.version>
- <jaxx.version>1.0</jaxx.version>
- <topia.version>2.1.1</topia.version>
- <topia.service.version>1.0.1</topia.service.version>
- <generator.version>0.63</generator.version>
- <processor.version>0.17-SNAPSHOT</processor.version>
- <lutinutil.version>1.0.2</lutinutil.version>
- <lutinutilextra.version>0.1</lutinutilextra.version>
- <lutinpluginutil.version>0.2</lutinpluginutil.version>
- <lutinwidget.version>0.12</lutinwidget.version>
- <lutinmatrix.version>1.1</lutinmatrix.version>
- <lutinj2r.version>0.2</lutinj2r.version>
-
<javadoc.version>2.4</javadoc.version>
<lutin-enforcer-rules.version>0.2</lutin-enforcer-rules.version>
@@ -284,8 +268,7 @@
<packaging>pom</packaging>
<build>
-
-
+
<defaultGoal>install</defaultGoal>
<!--Ressources-->
<resources>
@@ -711,7 +694,7 @@
<!-- Maven Environment : Repositories -->
<!--Code Lutin Repository-->
- <repositories>
+ <!--repositories>
<repository>
<id>codelutin-repository</id>
@@ -726,7 +709,7 @@
<checksumPolicy>warn</checksumPolicy>
</releases>
</repository>
- </repositories>
+ </repositories-->
<!-- Code Lutin : plugin repositories -->
<pluginRepositories>
@@ -764,6 +747,8 @@
<!-- Maven Environment : profiles -->
<profiles>
+
+ <!-- do not execute tests (generaly a bad idea...) -->
<profile>
<id>notests</id>
<activation>
2
1
[Lutinbuilder-commits] r356 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
18 Feb '09
Author: tchemit
Date: 2009-02-18 09:13:48 +0000 (Wed, 18 Feb 2009)
New Revision: 356
Modified:
lutinproject/trunk/pom.xml
Log:
* use same version for lutinprocessor and maven-processor-plugin
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-18 07:51:51 UTC (rev 355)
+++ lutinproject/trunk/pom.xml 2009-02-18 09:13:48 UTC (rev 356)
@@ -239,7 +239,7 @@
<topia.version>2.1.1</topia.version>
<topia.service.version>1.0.1</topia.service.version>
<generator.version>0.63</generator.version>
- <processor.version>0.16</processor.version>
+ <processor.version>0.17-SNAPSHOT</processor.version>
<lutinutil.version>1.0.2</lutinutil.version>
<lutinutilextra.version>0.1</lutinutilextra.version>
<lutinpluginutil.version>0.2</lutinpluginutil.version>
1
0
[Lutinbuilder-commits] r355 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
by tchemit@users.labs.libre-entreprise.org 18 Feb '09
18 Feb '09
Author: tchemit
Date: 2009-02-18 07:51:51 +0000 (Wed, 18 Feb 2009)
New Revision: 355
Modified:
lutinproject/trunk/pom.xml
Log:
ajout du profile run pour lancer une application + zeroConf pour le plugin copy-dependencies
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-17 18:54:50 UTC (rev 354)
+++ lutinproject/trunk/pom.xml 2009-02-18 07:51:51 UTC (rev 355)
@@ -388,11 +388,6 @@
<!-- plugin dependency -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- <configuration>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>false</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- </configuration>
<executions>
<execution>
<id>copy-dependencies</id>
@@ -400,6 +395,12 @@
<goals>
<goal>copy-dependencies</goal>
</goals>
+ <configuration>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>false</overWriteSnapshots>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ <outputDirectory>${project.build.directory}/lib</outputDirectory>
+ </configuration>
</execution>
</executions>
</plugin>
@@ -881,6 +882,70 @@
</plugins>
</build>
</profile>
+ <!-- use this plugin to run the main class -->
+ <profile>
+ <id>run</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <defaultGoal>compile</defaultGoal>
+ <plugins>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <executions>
+ <execution>
+ <id>run</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <phase>initialize</phase>
+ <configuration>
+ <rules>
+ <requireProperty>
+ <property>maven.jar.main.class</property>
+ <message>Could not find the "maven.jar.main.class" required property, use
+ -Dmaven.jar.main.class=your.main.class.fqn
+ </message>
+ </requireProperty>
+ </rules>
+ <ignoreCache>true</ignoreCache>
+ <failFast>true</failFast>
+ <fail>true</fail>
+
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+ <id>run</id>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <phase>compile</phase>
+ <configuration>
+ <mainClass>${maven.jar.main.class}</mainClass>
+ <classpathScope>runtime</classpathScope>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+ <properties>
+ <exec.mainClass>${maven.jar.main.class}</exec.mainClass>
+ <exec.classpathScope>runtime</exec.classpathScope>
+ </properties>
+ </profile>
+
<!-- profile to fix site url only for the pom -->
<!-- big hack : test the existance of a rst file to know if we are really in the plugin ? -->
<profile>
1
0
[Lutinbuilder-commits] r354 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 17 Feb '09
by tchemit@users.labs.libre-entreprise.org 17 Feb '09
17 Feb '09
Author: tchemit
Date: 2009-02-17 18:54:50 +0000 (Tue, 17 Feb 2009)
New Revision: 354
Modified:
lutinproject/trunk/pom.xml
Log:
add lutinpluginutil.version and lutinutilextra.version properties
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-17 18:45:38 UTC (rev 353)
+++ lutinproject/trunk/pom.xml 2009-02-17 18:54:50 UTC (rev 354)
@@ -241,6 +241,8 @@
<generator.version>0.63</generator.version>
<processor.version>0.16</processor.version>
<lutinutil.version>1.0.2</lutinutil.version>
+ <lutinutilextra.version>0.1</lutinutilextra.version>
+ <lutinpluginutil.version>0.2</lutinpluginutil.version>
<lutinwidget.version>0.12</lutinwidget.version>
<lutinmatrix.version>1.1</lutinmatrix.version>
<lutinj2r.version>0.2</lutinj2r.version>
1
0
[Lutinbuilder-commits] r353 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 17 Feb '09
by tchemit@users.labs.libre-entreprise.org 17 Feb '09
17 Feb '09
Author: tchemit
Date: 2009-02-17 18:45:38 +0000 (Tue, 17 Feb 2009)
New Revision: 353
Modified:
lutinproject/trunk/pom.xml
Log:
add lutinj2r.version and topia.service.version properties
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-17 18:15:11 UTC (rev 352)
+++ lutinproject/trunk/pom.xml 2009-02-17 18:45:38 UTC (rev 353)
@@ -237,12 +237,14 @@
<jrst.version>0.8.3</jrst.version>
<jaxx.version>1.0</jaxx.version>
<topia.version>2.1.1</topia.version>
+ <topia.service.version>1.0.1</topia.service.version>
<generator.version>0.63</generator.version>
<processor.version>0.16</processor.version>
<lutinutil.version>1.0.2</lutinutil.version>
<lutinwidget.version>0.12</lutinwidget.version>
<lutinmatrix.version>1.1</lutinmatrix.version>
-
+ <lutinj2r.version>0.2</lutinj2r.version>
+
<javadoc.version>2.4</javadoc.version>
<lutin-enforcer-rules.version>0.2</lutin-enforcer-rules.version>
1
0
[Lutinbuilder-commits] r352 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 17 Feb '09
by tchemit@users.labs.libre-entreprise.org 17 Feb '09
17 Feb '09
Author: tchemit
Date: 2009-02-17 18:15:11 +0000 (Tue, 17 Feb 2009)
New Revision: 352
Modified:
lutinproject/trunk/pom.xml
Log:
ajout de lutinmatrix.version + le plugin jrst mais uniquement en phase de release
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-17 16:59:09 UTC (rev 351)
+++ lutinproject/trunk/pom.xml 2009-02-17 18:15:11 UTC (rev 352)
@@ -241,7 +241,8 @@
<processor.version>0.16</processor.version>
<lutinutil.version>1.0.2</lutinutil.version>
<lutinwidget.version>0.12</lutinwidget.version>
-
+ <lutinmatrix.version>1.1</lutinmatrix.version>
+
<javadoc.version>2.4</javadoc.version>
<lutin-enforcer-rules.version>0.2</lutin-enforcer-rules.version>
@@ -333,7 +334,7 @@
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
- <encoding>${maven.compile.encoding}</encoding>
+ <encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
@@ -347,7 +348,7 @@
<configuration>
<source>${maven.compile.source}</source>
<target>${maven.compile.target}</target>
- <encoding>${maven.compile.encoding}</encoding>
+ <encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
@@ -450,9 +451,9 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.version}</version>
<configuration>
- <docencoding>${maven.compile.encoding}</docencoding>
- <encoding>${maven.compile.encoding}</encoding>
- <charset>${maven.compile.encoding}</charset>
+ <docencoding>${project.build.sourceEncoding}</docencoding>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ <charset>${project.build.sourceEncoding}</charset>
<quiet>true</quiet>
<excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames>
</configuration>
@@ -484,8 +485,8 @@
<version>2.0-beta-7</version>
<configuration>
<siteDirectory>${maven.site.gen.dir}</siteDirectory>
- <inputEncoding>${maven.compile.encoding}</inputEncoding>
- <outputEncoding>${maven.compile.encoding}</outputEncoding>
+ <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+ <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
<generateReports>${maven.reports.generate}</generateReports>
<locales>${maven.site.locales}</locales>
<attach>false</attach>
@@ -557,8 +558,8 @@
<version>${javadoc.version}</version>
<configuration>
<quiet>true</quiet>
- <docencoding>${maven.compile.encoding}</docencoding>
- <encoding>${maven.compile.encoding}</encoding>
+ <docencoding>${project.build.sourceEncoding}</docencoding>
+ <encoding>${project.build.sourceEncoding}</encoding>
<excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames>
</configuration>
</plugin>
@@ -585,7 +586,7 @@
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
- <encoding>${maven.compile.encoding}</encoding>
+ <encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
@@ -593,7 +594,7 @@
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<linkXRef>true</linkXRef>
- <sourceEncoding>${maven.compile.encoding}</sourceEncoding>
+ <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
<minimumTokens>100</minimumTokens>
<targetJdk>${maven.compile.target}</targetJdk>
</configuration>
@@ -851,6 +852,28 @@
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-jrst-plugin</artifactId>
+ <!-- on ne peut pas utiliser jrst.version car cela
+ pose des problèmes pendant les montées de version -->
+ <version>0.8.3</version>
+ <configuration>
+ <directoryIn>${maven.src.dir}/site</directoryIn>
+ <directoryOut>${maven.site.gen.dir}</directoryOut>
+ <defaultLocale>fr</defaultLocale>
+ <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+ <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>jrst</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
1
0
[Lutinbuilder-commits] r351 - lutinproject/trunk
by chatellier@users.labs.libre-entreprise.org 17 Feb '09
by chatellier@users.labs.libre-entreprise.org 17 Feb '09
17 Feb '09
Author: chatellier
Date: 2009-02-17 16:59:09 +0000 (Tue, 17 Feb 2009)
New Revision: 351
Modified:
lutinproject/trunk/pom.xml
Log:
Change encoding variable name to "project.build.sourceEncoding"
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-02-14 16:40:46 UTC (rev 350)
+++ lutinproject/trunk/pom.xml 2009-02-17 16:59:09 UTC (rev 351)
@@ -200,7 +200,9 @@
<maven.compile.target>1.6</maven.compile.target>
<!-- by default, we compile in UTF8 -->
- <maven.compile.encoding>UTF-8</maven.compile.encoding>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <!-- To remove in next release -->
+ <maven.compile.encoding>${project.build.sourceEncoding}</maven.compile.encoding>
<!-- by default, use maven 2 source base dir -->
<maven.src.dir>${basedir}/src</maven.src.dir>
@@ -277,6 +279,8 @@
<packaging>pom</packaging>
<build>
+
+
<defaultGoal>install</defaultGoal>
<!--Ressources-->
<resources>
1
0