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
January 2009
- 2 participants
- 72 discussions
[Lutinbuilder-commits] r313 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 12:08:54 +0000 (Wed, 28 Jan 2009)
New Revision: 313
Modified:
lutinproject/trunk/pom.xml
Log:
[maven-release-plugin] rollback the release of 3.4.0
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-01-28 12:07:35 UTC (rev 312)
+++ lutinproject/trunk/pom.xml 2009-01-28 12:08:54 UTC (rev 313)
@@ -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>
@@ -10,7 +11,7 @@
<!-- POM Relationships : Coordinates -->
<groupId>org.codelutin</groupId>
<artifactId>lutinproject</artifactId>
- <version>3.4.1-SNAPSHOT</version>
+ <version>3.4-SNAPSHOT</version>
<!-- POM Relationships : Inheritance -->
@@ -343,7 +344,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>
@@ -677,10 +678,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>
@@ -850,9 +851,9 @@
</scm>
-->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/trunk</connection>
- <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/trunk</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutinproject/tr…</url>
+ <connection>${maven.scm.connection}</connection>
+ <developerConnection>${maven.scm.developerConnection}</developerConnection>
+ <url>${maven.scm.url}</url>
</scm>
<!-- ************************************************************* -->
1
0
[Lutinbuilder-commits] r312 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 12:07:35 +0000 (Wed, 28 Jan 2009)
New Revision: 312
Modified:
lutinproject/trunk/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-01-28 12:07:32 UTC (rev 311)
+++ lutinproject/trunk/pom.xml 2009-01-28 12:07:35 UTC (rev 312)
@@ -10,7 +10,7 @@
<!-- POM Relationships : Coordinates -->
<groupId>org.codelutin</groupId>
<artifactId>lutinproject</artifactId>
- <version>3.4.0</version>
+ <version>3.4.1-SNAPSHOT</version>
<!-- POM Relationships : Inheritance -->
@@ -850,9 +850,9 @@
</scm>
-->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.4.0</connection>
- <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.4.0</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutinproject/ta…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/trunk</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/trunk</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutinproject/tr…</url>
</scm>
<!-- ************************************************************* -->
1
0
[Lutinbuilder-commits] r311 - in lutinproject/tags: . 3.4.0 3.4.0/src/site
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 12:07:32 +0000 (Wed, 28 Jan 2009)
New Revision: 311
Added:
lutinproject/tags/3.4.0/
lutinproject/tags/3.4.0/changelog.txt
lutinproject/tags/3.4.0/pom.xml
lutinproject/tags/3.4.0/src/site/site.xml
Removed:
lutinproject/tags/3.4.0/changelog.txt
lutinproject/tags/3.4.0/pom.xml
lutinproject/tags/3.4.0/src/site/site.xml
Log:
[maven-release-plugin] copy for tag 3.4.0
Copied: lutinproject/tags/3.4.0 (from rev 258, lutinproject/trunk)
Deleted: lutinproject/tags/3.4.0/changelog.txt
===================================================================
--- lutinproject/trunk/changelog.txt 2008-12-10 09:42:50 UTC (rev 258)
+++ lutinproject/tags/3.4.0/changelog.txt 2009-01-28 12:07:32 UTC (rev 311)
@@ -1,50 +0,0 @@
-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.0/changelog.txt (from rev 309, lutinproject/trunk/changelog.txt)
===================================================================
--- lutinproject/tags/3.4.0/changelog.txt (rev 0)
+++ lutinproject/tags/3.4.0/changelog.txt 2009-01-28 12:07:32 UTC (rev 311)
@@ -0,0 +1,60 @@
+3.4 ??? 200902??
+ * 20090128 [chemit] - 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.0/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2008-12-10 09:42:50 UTC (rev 258)
+++ lutinproject/tags/3.4.0/pom.xml 2009-01-28 12:07:32 UTC (rev 311)
@@ -1,920 +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.3-SNAPSHOT</version>
-
- <!-- POM Relationships : Inheritance -->
-
- <!-- add this in your pom
- <parent>
- <groupId>org.codelutin</groupId>
- <artifactId>lutinproject</artifactId>
- <version>3.1</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>
-
- <!-- BE WARE, will be suffixed by /${project.artifactId} by inheritance -->
- <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 />
-
- <!-- this labs' project name : change this in your pom -->
- <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 -->
- <maven.compile.encoding>UTF-8</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 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 activate generation of reports and javadoc when doing a site -->
- <maven.reports.generate>true</maven.reports.generate>
-
- <!-- version of license-switcher to use -->
- <license-switcher.version>0.5</license-switcher.version>
-
- <!-- version of i18n plugin to use -->
- <i18n.version>0.7</i18n.version>
-
- <!-- version of jrst plugin to use -->
- <jrst.version>0.8.3</jrst.version>
-
- <!-- default license to use -->
- <license-switcher.licenseName>lgpl_v3</license-switcher.licenseName>
-
- <!-- single pom or multi-module pom scm properties -->
- <maven.scm.url>
- http://${labs.host}/plugins/scmsvn/viewcvs.php/${project.artifactId}/trunk/?root=${labs.project}
- </maven.scm.url>
-
- <maven.scm.developerConnection>
- scm:svn:svn+ssh://${username}@${labs.host}/svnroot/${labs.project}/${project.artifactId}/trunk
- </maven.scm.developerConnection>
-
- <maven.scm.connection>
- scm:svn:svn://anonymous@${labs.host}/svnroot/${labs.project}/${project.artifactId}/trunk
- </maven.scm.connection>
-
- <!-- multi-module level one son pom scm properties -->
- <maven.scm.url.child>
- http://${labs.host}/plugins/scmsvn/viewcvs.php/${project.parent.artifactId}/trunk/${project.artifactId}?root=${labs.project}
- </maven.scm.url.child>
-
- <maven.scm.developerConnection.child>
- scm:svn:svn+ssh://${username}@${labs.host}/svnroot/${labs.project}/${project.parent.artifactId}/trunk/${project.artifactId}
- </maven.scm.developerConnection.child>
-
- <maven.scm.connection.child>
- scm:svn:svn://anonymous@${labs.host}/svnroot/${labs.project}/${project.parent.artifactId}/trunk/${project.artifactId}
- </maven.scm.connection.child>
-
- <!-- multi-module level two son pom scm properties -->
- <maven.scm.url.child.child>
- http://${labs.host}/plugins/scmsvn/viewcvs.php/${project.parent.parent.artifactId}/trunk/${project.parent.artifactId}/${project.artifactId}?root=${labs.project}
- </maven.scm.url.child.child>
-
- <maven.scm.developerConnection.child.child>
- scm:svn:svn+ssh://${username}@${labs.host}/svnroot/${labs.project}/${project.parent.parent.artifactId}/trunk/${project.parent.artifactId}/${project.artifactId}
- </maven.scm.developerConnection.child.child>
-
- <maven.scm.connection.child.child>
- scm:svn:svn://anonymous@${labs.host}/svnroot/${labs.project}/${project.parent.parent.artifactId}/trunk/${project.parent.artifactId}/${project.artifactId}
- </maven.scm.connection.child.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>
-
- <resource>
- <directory>${maven.src.dir}/main/uimodel</directory>
- <includes>
- <include>**/*.xml</include>
- <include>**/*.xgl</include>
- <include>**/*.bsh</include>
- </includes>
- </resource>
-
- <resource>
- <directory>${maven.src.dir}/main/xsl</directory>
- <includes>
- <include>**/*.xsl</include>
- </includes>
- </resource>
- </resources>
-
- <pluginManagement>
-
-
- <plugins>
-
- <!-- - - - - - - - - -->
- <!-- PHASE VALIDATE -->
- <!-- - - - - - - - - -->
-
- <!-- enforcer plugin -->
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>1.0-alpha-4</version>
- <executions>
- <execution>
- <goals>
- <goal>enforce</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <rules>
- <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>
- </plugin>
-
- <!-- - - - - - - - - - - - -->
- <!-- PHASE PROCESS-SOURCES -->
- <!-- - - - - - - - - - - - -->
-
- <!-- plugin jaxx -->
- <!--plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-jaxx-plugin</artifactId>
- <version>${jaxx.version}</version>
- <executions>
- <execution>
- <id>generate jaxx</id>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin-->
-
- <!-- - - - - - - - - - - - - -->
- <!-- PHASE GENERATE-RESOURCES -->
- <!-- - - - - - - - - - - - - -->
-
- <!-- plugin i18n -->
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-i18n-plugin</artifactId>
- <version>${i18n.version}</version>
- <configuration>
- <bundles>
- <param>fr_FR</param>
- <param>en_GB</param>
- </bundles>
- <encoding>${maven.compile.encoding}</encoding>
- <src>${maven.src.dir}/main/resources/i18n</src>
- <defaultBasedir>${maven.src.dir}/main/java</defaultBasedir>
- <keysModifier>false</keysModifier>
- <keepBackup>false</keepBackup>
- </configuration>
- </plugin>
-
- <!-- - - - - - - - - -->
- <!-- PHASE RESOURCES -->
- <!-- - - - - - - - - -->
-
- <!-- plugin resources -->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <configuration>
- <encoding>${maven.compile.encoding}</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>${maven.compile.encoding}</encoding>
- </configuration>
- </plugin>
-
- <!-- - - - - - - - - - - - -->
- <!-- PHASE PROCESS-CLASSES -->
- <!-- - - - - - - - - - - - -->
-
- <!-- plugin license-switcher -->
- <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>
- <goals>
- <goal>license</goal>
- <goal>third-party</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- - - - - - -->
- <!-- PHASE TEST -->
- <!-- - - - - - -->
-
- <!-- plugin surefire -->
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skip>${maven.test.skip}</skip>
- <testFailureIgnore>${maven.test.testFailureIgnore}</testFailureIgnore>
- <forkMode>never</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>
- <configuration>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>false</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- </configuration>
- <executions>
- <execution>
- <!--id>copy-dependencies</id-->
- <!--phase>package</phase-->
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- </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>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- plugin javadoc -->
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <docencoding>${maven.compile.encoding}</docencoding>
- <encoding>${maven.compile.encoding}</encoding>
- </configuration>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- - - - - - - - -->
- <!-- PHASE PRE-SITE -->
- <!-- - - - - - - - -->
-
- <!-- plugin jrst -->
- <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>
-
- <!-- - - - - - -->
- <!-- PHASE SITE -->
- <!-- - - - - - -->
-
- <!-- plugin site -->
- <plugin>
- <artifactId>maven-site-plugin</artifactId>
- <version>2.0-beta-7</version>
- <configuration>
- <siteDirectory>${maven.site.gen.dir}</siteDirectory>
- <inputEncoding>${maven.compile.encoding}</inputEncoding>
- <outputEncoding>${maven.compile.encoding}</outputEncoding>
- <generateReports>${maven.reports.generate}</generateReports>
- <locales>${maven.site.locales}</locales>
- </configuration>
- </plugin>
-
- </plugins>
- </pluginManagement>
-
- <plugins>
-
- <!-- always check labs properties -->
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- </plugin>
-
- <!-- always compute source jar -->
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
-
- <!-- always add license to classpath -->
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-license-switcher-plugin</artifactId>
- </plugin>
-
- <!--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>
-
- <!-- Always process jrst files, but only called on pre-site phase -->
- <plugin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-jrst-plugin</artifactId>
- </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>
- </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>${maven.compile.encoding}</encoding>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-pmd-plugin</artifactId>
- <configuration>
- <linkXRef>true</linkXRef>
- <sourceEncoding>${maven.compile.encoding}</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>
-
- <!-- add ciManagement
- <ciManagement></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>
- <profile>
- <id>license</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <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>
- <goals>
- <goal>switch</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <!-- profile to fix site url only for the pom -->
- <!-- big hack : test the existance of a rst file to know if we are reaaly in the plugin ? -->
- <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>
- <labs.id>11</labs.id>
- <labs.project>lutinbuilder</labs.project>
- <site.home.url>http://${labs.project}.${labs.host}/${project.artifactId}</site.home.url>
- </properties>
- </profile>
- </profiles>
-
-</project>
Copied: lutinproject/tags/3.4.0/pom.xml (from rev 310, lutinproject/trunk/pom.xml)
===================================================================
--- lutinproject/tags/3.4.0/pom.xml (rev 0)
+++ lutinproject/tags/3.4.0/pom.xml 2009-01-28 12:07:32 UTC (rev 311)
@@ -0,0 +1,1053 @@
+<?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.0</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}/${project.artifactId}</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 -->
+ <maven.compile.encoding>UTF-8</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 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>
+ <generator.version>0.63</generator.version>
+ <processor.version>0.16</processor.version>
+ <lutinutil.version>1.0.2</lutinutil.version>
+ <javadoc.version>2.4</javadoc.version>
+ <lutin-enforcer.rules.version>0.1</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>
+
+ <!-- single pom or multi-module pom scm properties -->
+ <maven.scm.url>
+ http://${labs.host}/plugins/scmsvn/viewcvs.php/${project.artifactId}/trunk/?root=${labs.project}
+ </maven.scm.url>
+
+ <maven.scm.developerConnection>
+ scm:svn:svn+ssh://${username}@${labs.host}/svnroot/${labs.project}/${project.artifactId}/trunk
+ </maven.scm.developerConnection>
+
+ <maven.scm.connection>
+ scm:svn:svn://anonymous@${labs.host}/svnroot/${labs.project}/${project.artifactId}/trunk
+ </maven.scm.connection>
+
+ <!-- multi-module level one son pom scm properties -->
+ <maven.scm.url.child>
+ http://${labs.host}/plugins/scmsvn/viewcvs.php/${project.parent.artifactId}/trunk/${project.artifactId}?root=${labs.project}
+ </maven.scm.url.child>
+
+ <maven.scm.developerConnection.child>
+ scm:svn:svn+ssh://${username}@${labs.host}/svnroot/${labs.project}/${project.parent.artifactId}/trunk/${project.artifactId}
+ </maven.scm.developerConnection.child>
+
+ <maven.scm.connection.child>
+ scm:svn:svn://anonymous@${labs.host}/svnroot/${labs.project}/${project.parent.artifactId}/trunk/${project.artifactId}
+ </maven.scm.connection.child>
+
+ <!-- multi-module level two son pom scm properties -->
+ <maven.scm.url.child.child>
+ http://${labs.host}/plugins/scmsvn/viewcvs.php/${project.parent.parent.artifactId}/trunk/${project.parent.artifactId}/${project.artifactId}?root=${labs.project}
+ </maven.scm.url.child.child>
+
+ <maven.scm.developerConnection.child.child>
+ scm:svn:svn+ssh://${username}@${labs.host}/svnroot/${labs.project}/${project.parent.parent.artifactId}/trunk/${project.parent.artifactId}/${project.artifactId}
+ </maven.scm.developerConnection.child.child>
+
+ <maven.scm.connection.child.child>
+ scm:svn:svn://anonymous@${labs.host}/svnroot/${labs.project}/${project.parent.parent.artifactId}/trunk/${project.parent.artifactId}/${project.artifactId}
+ </maven.scm.connection.child.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>
+
+ <!-- this is a deprecated directory -->
+ <!--resource>
+ <directory>${maven.src.dir}/main/uimodel</directory>
+ <includes>
+ <include>**/*.xml</include>
+ <include>**/*.xgl</include>
+ <include>**/*.bsh</include>
+ </includes>
+ </resource-->
+
+ <!-- this is a deprecated directory -->
+ <!--resource>
+ <directory>${maven.src.dir}/main/xsl</directory>
+ <includes>
+ <include>**/*.xsl</include>
+ </includes>
+ </resource-->
+ </resources>
+
+ <pluginManagement>
+
+
+ <plugins>
+
+ <!-- - - - - - - - - -->
+ <!-- PHASE VALIDATE -->
+ <!-- - - - - - - - - -->
+
+ <!-- enforcer plugin -->
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ </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>
+
+ <!-- - - - - - - - - - - - -->
+ <!-- PHASE GENERATE-SOURCES -->
+ <!-- - - - - - - - - - - - -->
+
+ <!-- plugin jaxx -->
+ <plugin>
+ <groupId>org.codelutin.jaxx</groupId>
+ <artifactId>maven-jaxx-plugin</artifactId>
+ <version>${jaxx.version}</version>
+ <configuration>
+ <src>${basedir}/src/main/java</src>
+ </configuration>
+ </plugin>
+
+ <!-- plugin generator -->
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-generator-plugin</artifactId>
+ <version>${generator.version}</version>
+ <inherited>true</inherited>
+ <configuration>
+ <srcDirZuml>src/main/xmi</srcDirZuml>
+ <srcXmiDest>${maven.gen.dir}/xmi/</srcXmiDest>
+ <srcGenDest>${maven.gen.dir}/resources/objectmodel/</srcGenDest>
+ <destDirGen>${maven.gen.dir}/java</destDirGen>
+ <includes>**/*.objectmodel</includes>
+ <copyVersionDir>src/main/resources/oldmappings/%MODELNAME%</copyVersionDir>
+ <copyVersionFiles>**/*.hbm.xml</copyVersionFiles>
+ </configuration>
+ </plugin>
+
+ <!-- - - - - - - - - - - - -->
+ <!-- PHASE PROCESS-SOURCES -->
+ <!-- - - - - - - - - - - - -->
+
+
+ <!-- - - - - - - - - - - - - -->
+ <!-- PHASE GENERATE-RESOURCES -->
+ <!-- - - - - - - - - - - - - -->
+
+ <!-- plugin i18n -->
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-i18n-plugin</artifactId>
+ <version>${i18n.version}</version>
+ <configuration>
+ <bundles>
+ <param>fr_FR</param>
+ <param>en_GB</param>
+ </bundles>
+ <encoding>${maven.compile.encoding}</encoding>
+ <src>${maven.src.dir}/main/resources/i18n</src>
+ <defaultBasedir>${maven.src.dir}/main/java</defaultBasedir>
+ <keysModifier>false</keysModifier>
+ <keepBackup>false</keepBackup>
+ </configuration>
+ </plugin>
+
+ <!-- - - - - - - - - - - - - -->
+ <!-- PHASE PROCESS-RESOURCES -->
+ <!-- - - - - - - - - - - - - -->
+
+ <!-- plugin resources -->
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <configuration>
+ <encoding>${maven.compile.encoding}</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>${maven.compile.encoding}</encoding>
+ </configuration>
+ </plugin>
+
+ <!-- - - - - - - - - - - - -->
+ <!-- PHASE PROCESS-CLASSES -->
+ <!-- - - - - - - - - - - - -->
+
+ <!-- plugin license-switcher -->
+ <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>
+ <!-- - - - - - -->
+ <!-- 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>
+ <configuration>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>false</overWriteSnapshots>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ </configuration>
+ <executions>
+ <execution>
+ <!--id>copy-dependencies</id-->
+ <!--phase>package</phase-->
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ </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>${maven.compile.encoding}</docencoding>
+ <encoding>${maven.compile.encoding}</encoding>
+ <charset>${maven.compile.encoding}</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 PRE-SITE -->
+ <!-- - - - - - - - -->
+
+ <!-- plugin jrst -->
+ <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>
+
+ <!-- - - - - - -->
+ <!-- PHASE SITE -->
+ <!-- - - - - - -->
+
+ <!-- plugin site -->
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ <configuration>
+ <siteDirectory>${maven.site.gen.dir}</siteDirectory>
+ <inputEncoding>${maven.compile.encoding}</inputEncoding>
+ <outputEncoding>${maven.compile.encoding}</outputEncoding>
+ <generateReports>${maven.reports.generate}</generateReports>
+ <locales>${maven.site.locales}</locales>
+ <attach>false</attach>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </pluginManagement>
+
+ <plugins>
+
+ <!-- always check labs properties -->
+ <!--plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ </plugin-->
+
+ <!-- always compute source jar -->
+ <!--plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ </plugin-->
+
+ <!-- always add license to classpath -->
+ <!--plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-license-switcher-plugin</artifactId>
+ </plugin-->
+
+ <!--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>
+
+ <!-- Always process jrst files, but only called on pre-site phase -->
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-jrst-plugin</artifactId>
+ </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>${maven.compile.encoding}</docencoding>
+ <encoding>${maven.compile.encoding}</encoding>
+ </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>${maven.compile.encoding}</encoding>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <configuration>
+ <linkXRef>true</linkXRef>
+ <sourceEncoding>${maven.compile.encoding}</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>
+
+ <!-- add ciManagement
+ <ciManagement></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.0</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.4.0</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-->
+ <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>
+ <profile>
+ <id>license</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <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>
+ <goals>
+ <goal>switch</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </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>
+ </plugin>
+
+ <!-- always add license to classpath -->
+ <plugin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-license-switcher-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-licenses</id>
+ </execution>
+ </executions>
+ </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>
+
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>not-release-profile</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>!true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <!-- always compute source jar -->
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <!-- profile to fix site url only for the pom -->
+ <!-- big hack : test the existance of a rst file to know if we are reaaly in the plugin ? -->
+ <!--profile>
+ <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>
+ <labs.id>11</labs.id>
+ <labs.project>lutinbuilder</labs.project>
+ <site.home.url>http://${labs.project}.${labs.host}/${project.artifactId}</site.home.url>
+ </properties>
+ </profile-->
+ </profiles>
+
+</project>
Deleted: lutinproject/tags/3.4.0/src/site/site.xml
===================================================================
--- lutinproject/trunk/src/site/site.xml 2008-12-10 09:42:50 UTC (rev 258)
+++ lutinproject/tags/3.4.0/src/site/site.xml 2009-01-28 12:07:32 UTC (rev 311)
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="${project.name}">
-
- <publishDate format="dd/MM/yyyy"/>
-
- <skin>
- <groupId>org.codelutin</groupId>
- <artifactId>maven-lutin-skin</artifactId>
- <version>0.2.1</version>
- </skin>
-
- <bannerLeft>
- <name>${project.name}</name>
- <src>${site.home.url}</src>
- <href>index.html</href>
- </bannerLeft>
-
- <bannerRight>
- <src>http://www.codelutin.com/images/lutinorange-codelutin.png</src>
- <href>${project.organization.url}</href>
- </bannerRight>
-
- <poweredBy>
- <logo href="http://maven.apache.org" name="Maven" img="images/logos/maven-feather.png"/>
- <logo href="http://jrst.labs.libre-entreprise.org" name="JRst" img="images/jrst-logo.png"/>
- <logo href="http://docutils.sourceforge.net/rst.html" name="ReStructuredText" img="images/restructuredtext-logo.png"/>
- </poweredBy>
-
- <body>
- <links>
- <item name="Labs" href="http://labs.libre-entreprise.org/"/>
- <item name="${project.organization.name}" href="${project.organization.url}"/>
- <item name="lutin plugin project" href="../lutinpluginproject"/>
- <item name="lutin maven repository" href="../maven2"/>
- </links>
-
- <menu name="Utilisateur">
- <item name="Accueil" href="index.html"/>
- </menu>
-
- <menu name="Téléchargement">
- <item href="../maven2/org/codelutin/${project.artifactId}/${project.version}"
- name="Télécharger la dernière version"/>
- <item href="../maven2/org/codelutin/${project.artifactId}"
- name="Voir toutes les versions"/>
- </menu>
-
- <menu name="Développeur">
- <item name="best practices" href="MavenProjectBestPractices.html"/>
- <item name="A faire" href="Todo.html"/>
- </menu>
-
- <menu ref="reports"/>
-
- <menu ref="modules"/>
-
- </body>
-</project>
Copied: lutinproject/tags/3.4.0/src/site/site.xml (from rev 301, lutinproject/trunk/src/site/site.xml)
===================================================================
--- lutinproject/tags/3.4.0/src/site/site.xml (rev 0)
+++ lutinproject/tags/3.4.0/src/site/site.xml 2009-01-28 12:07:32 UTC (rev 311)
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="${project.name}">
+
+ <publishDate format="dd/MM/yyyy"/>
+
+ <skin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-lutin-skin</artifactId>
+ <version>0.2.2</version>
+ </skin>
+
+ <bannerLeft>
+ <name>${project.name}</name>
+ <src>${site.home.url}</src>
+ <href>index.html</href>
+ </bannerLeft>
+
+ <bannerRight>
+ <src>http://www.codelutin.com/images/lutinorange-codelutin.png</src>
+ <href>${project.organization.url}</href>
+ </bannerRight>
+
+ <poweredBy>
+ <logo href="http://maven.apache.org" name="Maven" img="images/logos/maven-feather.png"/>
+ <logo href="http://jrst.labs.libre-entreprise.org" name="JRst" img="images/jrst-logo.png"/>
+ <logo href="http://docutils.sourceforge.net/rst.html" name="ReStructuredText" img="images/restructuredtext-logo.png"/>
+ </poweredBy>
+
+ <body>
+ <links>
+ <item name="Labs" href="http://labs.libre-entreprise.org/"/>
+ <item name="${project.organization.name}" href="${project.organization.url}"/>
+ <item name="lutinpluginproject" href="../lutinpluginproject"/>
+ <item name="maven-lutin-skin" href="../maven-lutin-skin"/>
+ <item name="lutin-enforcer-rules" href="../lutin-enforcer-rules"/>
+ <item name="lutin maven repository" href="../maven2"/>
+ </links>
+
+ <menu name="Utilisateur">
+ <item name="Accueil" href="index.html"/>
+ </menu>
+
+ <menu name="Téléchargement">
+ <item href="../maven2/org/codelutin/${project.artifactId}/${project.version}"
+ name="Télécharger la dernière version"/>
+ <item href="../maven2/org/codelutin/${project.artifactId}"
+ name="Voir toutes les versions"/>
+ </menu>
+
+ <menu name="Développeur">
+ <item name="A faire" href="Todo.html"/>
+ </menu>
+
+ <menu ref="reports"/>
+
+ <!--menu ref="modules"/-->
+
+ </body>
+</project>
1
0
[Lutinbuilder-commits] r310 - lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 12:07:28 +0000 (Wed, 28 Jan 2009)
New Revision: 310
Modified:
lutinproject/trunk/pom.xml
Log:
[maven-release-plugin] prepare release 3.4.0
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-01-28 11:39:12 UTC (rev 309)
+++ lutinproject/trunk/pom.xml 2009-01-28 12:07:28 UTC (rev 310)
@@ -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.0</version>
<!-- POM Relationships : Inheritance -->
@@ -344,7 +343,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>
@@ -678,10 +677,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>
@@ -851,9 +850,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.0</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.4.0</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutinproject/ta…</url>
</scm>
<!-- ************************************************************* -->
1
0
[Lutinbuilder-commits] r309 - lutinpluginproject/trunk lutinproject/trunk
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 11:39:12 +0000 (Wed, 28 Jan 2009)
New Revision: 309
Modified:
lutinpluginproject/trunk/changelog.txt
lutinpluginproject/trunk/pom.xml
lutinproject/trunk/changelog.txt
lutinproject/trunk/pom.xml
Log:
utilisation lutin-enforcer-rules 0.1
Modified: lutinpluginproject/trunk/changelog.txt
===================================================================
--- lutinpluginproject/trunk/changelog.txt 2009-01-28 11:36:31 UTC (rev 308)
+++ lutinpluginproject/trunk/changelog.txt 2009-01-28 11:39:12 UTC (rev 309)
@@ -1,5 +1,6 @@
3.4 ??? 200902??
* 20090128 [chemit] - 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] - suppression variable scm pour multi-niveau (pas utile pour les plugins)
- ajout lien vers maven-lutin-skin dans le site
3.3 chemit 20090111
Modified: lutinpluginproject/trunk/pom.xml
===================================================================
--- lutinpluginproject/trunk/pom.xml 2009-01-28 11:36:31 UTC (rev 308)
+++ lutinpluginproject/trunk/pom.xml 2009-01-28 11:39:12 UTC (rev 309)
@@ -260,7 +260,7 @@
<generator.version>0.63</generator.version>
<lutinutil.version>1.0.2</lutinutil.version>
<lutinprocessor.version>0.16</lutinprocessor.version>
- <lutin-enforcer.rules.version>0.1-SNAPSHOT</lutin-enforcer.rules.version>
+ <lutin-enforcer.rules.version>0.1</lutin-enforcer.rules.version>
<javadoc.version>2.4</javadoc.version>
<maven.version>2.0.9</maven.version>
Modified: lutinproject/trunk/changelog.txt
===================================================================
--- lutinproject/trunk/changelog.txt 2009-01-28 11:36:31 UTC (rev 308)
+++ lutinproject/trunk/changelog.txt 2009-01-28 11:39:12 UTC (rev 309)
@@ -1,5 +1,6 @@
3.4 ??? 200902??
* 20090128 [chemit] - 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
Modified: lutinproject/trunk/pom.xml
===================================================================
--- lutinproject/trunk/pom.xml 2009-01-28 11:36:31 UTC (rev 308)
+++ lutinproject/trunk/pom.xml 2009-01-28 11:39:12 UTC (rev 309)
@@ -181,9 +181,6 @@
<!-- this labs' project name : change this in your pom -->
<labs.project>lutinbuilder</labs.project>
- <!-- project site url -->
- <!--site.home.url>http://${labs.project}.${labs.host}/${project.artifactId}</site.home.url-->
-
<!-- labs host -->
<labs.host>labs.libre-entreprise.org</labs.host>
@@ -239,7 +236,7 @@
<processor.version>0.16</processor.version>
<lutinutil.version>1.0.2</lutinutil.version>
<javadoc.version>2.4</javadoc.version>
- <lutin-enforcer.rules.version>0.1-SNAPSHOT</lutin-enforcer.rules.version>
+ <lutin-enforcer.rules.version>0.1</lutin-enforcer.rules.version>
<!-- default license to use -->
<license-switcher.licenseName>lgpl_v3</license-switcher.licenseName>
1
0
[Lutinbuilder-commits] r308 - lutin-enforcer-rules/trunk
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 11:36:31 +0000 (Wed, 28 Jan 2009)
New Revision: 308
Modified:
lutin-enforcer-rules/trunk/pom.xml
Log:
push back scm generic values
Modified: lutin-enforcer-rules/trunk/pom.xml
===================================================================
--- lutin-enforcer-rules/trunk/pom.xml 2009-01-28 11:33:26 UTC (rev 307)
+++ lutin-enforcer-rules/trunk/pom.xml 2009-01-28 11:36:31 UTC (rev 308)
@@ -99,9 +99,9 @@
<!--Source control management-->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutin-enforcer-rules/trunk</connection>
- <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutin-enforcer-rules/trunk</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutin-enforcer-…</url>
+ <connection>${maven.scm.connection}</connection>
+ <developerConnection>${maven.scm.developerConnection}</developerConnection>
+ <url>${maven.scm.url}</url>
</scm>
</project>
1
0
[Lutinbuilder-commits] r307 - lutin-enforcer-rules/trunk
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 11:33:26 +0000 (Wed, 28 Jan 2009)
New Revision: 307
Modified:
lutin-enforcer-rules/trunk/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: lutin-enforcer-rules/trunk/pom.xml
===================================================================
--- lutin-enforcer-rules/trunk/pom.xml 2009-01-28 11:33:23 UTC (rev 306)
+++ lutin-enforcer-rules/trunk/pom.xml 2009-01-28 11:33:26 UTC (rev 307)
@@ -15,7 +15,7 @@
<artifactId>lutin-enforcer-rules</artifactId>
- <version>0.1</version>
+ <version>0.2-SNAPSHOT</version>
<dependencies>
<dependency>
@@ -99,9 +99,9 @@
<!--Source control management-->
<scm>
- <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutin-enforcer-rules/tags/0.1</connection>
- <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutin-enforcer-rules/tags/0.1</developerConnection>
- <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutin-enforcer-…</url>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutin-enforcer-rules/trunk</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutin-enforcer-rules/trunk</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutin-enforcer-…</url>
</scm>
</project>
1
0
[Lutinbuilder-commits] r306 - in lutin-enforcer-rules/tags: . 0.1 0.1/src/main/java 0.1/src/main/java/org/codelutin/enforcer 0.1/src/site
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 11:33:23 +0000 (Wed, 28 Jan 2009)
New Revision: 306
Added:
lutin-enforcer-rules/tags/0.1/
lutin-enforcer-rules/tags/0.1/LICENSE.txt
lutin-enforcer-rules/tags/0.1/README.txt
lutin-enforcer-rules/tags/0.1/changelog.txt
lutin-enforcer-rules/tags/0.1/pom.xml
lutin-enforcer-rules/tags/0.1/src/
lutin-enforcer-rules/tags/0.1/src/main/java/org/
lutin-enforcer-rules/tags/0.1/src/main/java/org/codelutin/enforcer/CheckLabsPropertiesRule.java
lutin-enforcer-rules/tags/0.1/src/site/fr/
lutin-enforcer-rules/tags/0.1/src/site/site.xml
Log:
[maven-release-plugin] copy for tag 0.1
Copied: lutin-enforcer-rules/tags/0.1 (from rev 297, lutin-enforcer-rules/trunk)
Copied: lutin-enforcer-rules/tags/0.1/LICENSE.txt (from rev 300, lutin-enforcer-rules/trunk/LICENSE.txt)
===================================================================
--- lutin-enforcer-rules/tags/0.1/LICENSE.txt (rev 0)
+++ lutin-enforcer-rules/tags/0.1/LICENSE.txt 2009-01-28 11:33:23 UTC (rev 306)
@@ -0,0 +1,166 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
Copied: lutin-enforcer-rules/tags/0.1/README.txt (from rev 300, lutin-enforcer-rules/trunk/README.txt)
===================================================================
--- lutin-enforcer-rules/tags/0.1/README.txt (rev 0)
+++ lutin-enforcer-rules/tags/0.1/README.txt 2009-01-28 11:33:23 UTC (rev 306)
@@ -0,0 +1,2 @@
+To deploy new version of pom: mvn deploy
+To install localy: mvn install
Copied: lutin-enforcer-rules/tags/0.1/changelog.txt (from rev 300, lutin-enforcer-rules/trunk/changelog.txt)
===================================================================
--- lutin-enforcer-rules/tags/0.1/changelog.txt (rev 0)
+++ lutin-enforcer-rules/tags/0.1/changelog.txt 2009-01-28 11:33:23 UTC (rev 306)
@@ -0,0 +1,3 @@
+1.0 chemit 20090128
+ * 20090128 [chemit] - initial version
+
\ No newline at end of file
Copied: lutin-enforcer-rules/tags/0.1/pom.xml (from rev 305, lutin-enforcer-rules/trunk/pom.xml)
===================================================================
--- lutin-enforcer-rules/tags/0.1/pom.xml (rev 0)
+++ lutin-enforcer-rules/tags/0.1/pom.xml 2009-01-28 11:33:23 UTC (rev 306)
@@ -0,0 +1,107 @@
+<?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 *************************************** -->
+ <!-- ************************************************************* -->
+
+ <parent>
+ <groupId>org.codelutin</groupId>
+ <artifactId>lutinpluginproject</artifactId>
+ <version>3.3</version>
+ </parent>
+
+ <artifactId>lutin-enforcer-rules</artifactId>
+
+ <version>0.1</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.enforcer</groupId>
+ <artifactId>enforcer-api</artifactId>
+ <version>${api.version}</version>
+ </dependency>
+ <!--dependency>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>${api.version}</version>
+ </dependency-->
+
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ <version>1.0-alpha-9</version>
+ </dependency>
+
+ </dependencies>
+
+
+ <!-- ************************************************************* -->
+ <!-- *** Project Information ************************************* -->
+ <!-- ************************************************************* -->
+
+ <name>Lutin enforcer rules</name>
+
+ <description>Customized maven enforcer plugins rules for our projects or plugins.</description>
+ <inceptionYear>2009</inceptionYear>
+ <url>${site.home.url}</url>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Settings ****************************************** -->
+ <!-- ************************************************************* -->
+
+ <packaging>jar</packaging>
+
+ <properties>
+
+ <!-- id du projet du labs -->
+ <labs.id>11</labs.id>
+
+ <!-- nom du projet sur le labs -->
+ <labs.project>lutinbuilder</labs.project>
+
+ <api.version>1.0-alpha-4</api.version>
+ <maven.version>2.0.9</maven.version>
+
+ <lutin-enforcer.rules.version>${project.version}</lutin-enforcer.rules.version>
+ </properties>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ </build>
+
+ <!-- ************************************************************* -->
+ <!-- *** Build Environment ************************************** -->
+ <!-- ************************************************************* -->
+
+ <!--Source control management-->
+ <scm>
+ <connection>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutin-enforcer-rules/tags/0.1</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutin-enforcer-rules/tags/0.1</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutin-enforcer-…</url>
+ </scm>
+
+</project>
Copied: lutin-enforcer-rules/tags/0.1/src (from rev 298, lutin-enforcer-rules/trunk/src)
Copied: lutin-enforcer-rules/tags/0.1/src/main/java/org (from rev 299, lutin-enforcer-rules/trunk/src/main/java/org)
Copied: lutin-enforcer-rules/tags/0.1/src/main/java/org/codelutin/enforcer/CheckLabsPropertiesRule.java (from rev 302, lutin-enforcer-rules/trunk/src/main/java/org/codelutin/enforcer/CheckLabsPropertiesRule.java)
===================================================================
--- lutin-enforcer-rules/tags/0.1/src/main/java/org/codelutin/enforcer/CheckLabsPropertiesRule.java (rev 0)
+++ lutin-enforcer-rules/tags/0.1/src/main/java/org/codelutin/enforcer/CheckLabsPropertiesRule.java 2009-01-28 11:33:23 UTC (rev 306)
@@ -0,0 +1,91 @@
+/**
+ * *##% Lutin enforcer rules
+ * Copyright (C) 2009 CodeLutin
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*
+ */
+package org.codelutin.enforcer;
+
+import org.apache.maven.enforcer.rule.api.EnforcerRule;
+import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
+import org.apache.maven.enforcer.rule.api.EnforcerRuleHelper;
+import org.apache.maven.plugin.logging.Log;
+import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
+
+import java.util.Arrays;
+import java.util.List;
+
+/**
+ * Permet de vérifier que les propriétés <code>labs.id</code> et <code>labs.name</code> sont correctement positionnés.
+ *
+ * @author chemit
+ */
+public class CheckLabsPropertiesRule implements EnforcerRule {
+
+ public static final String LUTINBUILDER_LABS_NAME = "lutinbuilder";
+ public static final String LUTINBUILDER_LABS_ID = "11";
+
+ public static final List<String> LUTINBUILDER_PROJECT_ARTIFACT_IDS = Arrays.asList("lutinproject", "lutinpluginproject", "maven-lutin-skin", "lutin-enforcer-rules");
+
+ @Override
+ public void execute(EnforcerRuleHelper helper) throws EnforcerRuleException {
+ Log log = helper.getLog();
+
+ try {
+ // get the various expressions out of the helper.
+ //MavenProject project = (MavenProject) helper.evaluate("${project}");
+ //MavenSession session = (MavenSession) helper.evaluate("${session}");
+
+ String labsName = (String) helper.evaluate("${labs.name}");
+ String labsId = (String) helper.evaluate("${labs.id}");
+ String artifactId = (String) helper.evaluate("${project.artifactId}");
+
+ if (log.isDebugEnabled()) {
+ log.debug("Retrieved ArtifactId: " + artifactId);
+ log.debug("Retrieved LabsId: " + labsId);
+ log.debug("Retrieved LabsName: " + labsName);
+
+ }
+ if (LUTINBUILDER_LABS_ID.equals(labsId) || LUTINBUILDER_LABS_NAME.equals(labsName)) {
+ // must check we are on a lutinbuilder project
+ if (!LUTINBUILDER_PROJECT_ARTIFACT_IDS.contains(artifactId)) {
+ // a none lutinbuilder project can not have this labs.id value
+ throw new EnforcerRuleException("labs.id and labs.name must be override for your project, but was not!");
+ }
+ }
+
+
+ }
+ catch (ExpressionEvaluationException e) {
+ throw new EnforcerRuleException("Unable to lookup an expression " + e.getLocalizedMessage(), e);
+ }
+
+ }
+
+ @Override
+ public boolean isCacheable() {
+ return false;
+ }
+
+ @Override
+ public boolean isResultValid(EnforcerRule cachedRule) {
+ return false;
+ }
+
+ @Override
+ public String getCacheId() {
+ return null;
+ }
+}
Copied: lutin-enforcer-rules/tags/0.1/src/site/fr (from rev 300, lutin-enforcer-rules/trunk/src/site/fr)
Copied: lutin-enforcer-rules/tags/0.1/src/site/site.xml (from rev 303, lutin-enforcer-rules/trunk/src/site/site.xml)
===================================================================
--- lutin-enforcer-rules/tags/0.1/src/site/site.xml (rev 0)
+++ lutin-enforcer-rules/tags/0.1/src/site/site.xml 2009-01-28 11:33:23 UTC (rev 306)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="${project.name}">
+
+ <publishDate format="dd/MM/yyyy"/>
+
+ <skin>
+ <groupId>org.codelutin</groupId>
+ <artifactId>maven-lutin-skin</artifactId>
+ <version>0.2.2</version>
+ </skin>
+
+ <bannerLeft>
+ <name>${project.name}</name>
+ <src>${site.home.url}</src>
+ <href>index.html</href>
+ </bannerLeft>
+
+ <bannerRight>
+ <src>http://www.codelutin.com/images/lutinorange-codelutin.png</src>
+ <href>${project.organization.url}</href>
+ </bannerRight>
+
+ <poweredBy>
+ <logo href="http://maven.apache.org" name="Maven" img="images/logos/maven-feather.png"/>
+ <logo href="http://jrst.labs.libre-entreprise.org" name="JRst" img="images/jrst-logo.png"/>
+ <logo href="http://docutils.sourceforge.net/rst.html" name="ReStructuredText" img="images/restructuredtext-logo.png"/>
+ </poweredBy>
+
+ <body>
+ <links>
+ <item name="Labs" href="http://labs.libre-entreprise.org/"/>
+ <item name="${project.organization.name}" href="${project.organization.url}"/>
+ <item name="lutinproject" href="../lutinproject"/>
+ <item name="lutinpluginproject" href="../lutinpluginproject"/>
+ <item name="maven-lutin-skin" href="../maven-lutin-skin"/>
+ <item name="lutin maven repository" href="../maven2"/>
+ </links>
+
+ <menu ref="parent"/>
+
+ <menu name="Utilisateur">
+ <item name="Accueil" href="index.html"/>
+ </menu>
+
+ <menu name="Téléchargement">
+ <item href="../maven2/org/codelutin/${project.artifactId}/${project.version}"
+ name="Télécharger la dernière version"/>
+ <item href="../maven2/org/codelutin/${project.artifactId}"
+ name="Voir toutes les versions"/>
+ </menu>
+
+ <menu name="Développeur">
+ <item name="best practices" href="MavenPluginBestPractices.html"/>
+ <item name="A faire" href="Todo.html"/>
+ </menu>
+
+ <menu ref="reports"/>
+
+ <menu ref="modules"/>
+
+ </body>
+</project>
1
0
[Lutinbuilder-commits] r305 - lutin-enforcer-rules/trunk
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 11:33:19 +0000 (Wed, 28 Jan 2009)
New Revision: 305
Modified:
lutin-enforcer-rules/trunk/pom.xml
Log:
[maven-release-plugin] prepare release 0.1
Modified: lutin-enforcer-rules/trunk/pom.xml
===================================================================
--- lutin-enforcer-rules/trunk/pom.xml 2009-01-28 11:29:34 UTC (rev 304)
+++ lutin-enforcer-rules/trunk/pom.xml 2009-01-28 11:33:19 UTC (rev 305)
@@ -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>
@@ -16,7 +15,7 @@
<artifactId>lutin-enforcer-rules</artifactId>
- <version>0.1-SNAPSHOT</version>
+ <version>0.1</version>
<dependencies>
<dependency>
@@ -100,9 +99,9 @@
<!--Source control management-->
<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/lutin-enforcer-rules/tags/0.1</connection>
+ <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutin-enforcer-rules/tags/0.1</developerConnection>
+ <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutin-enforcer-…</url>
</scm>
</project>
1
0
[Lutinbuilder-commits] r304 - lutin-enforcer-rules/trunk
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
by tchemit@users.labs.libre-entreprise.org 28 Jan '09
28 Jan '09
Author: tchemit
Date: 2009-01-28 11:29:34 +0000 (Wed, 28 Jan 2009)
New Revision: 304
Modified:
lutin-enforcer-rules/trunk/pom.xml
Log:
on repasse en lutinpluginproject 3.3 pour pouvoir faire la premi?\195?\168re release...
Modified: lutin-enforcer-rules/trunk/pom.xml
===================================================================
--- lutin-enforcer-rules/trunk/pom.xml 2009-01-28 11:23:49 UTC (rev 303)
+++ lutin-enforcer-rules/trunk/pom.xml 2009-01-28 11:29:34 UTC (rev 304)
@@ -11,7 +11,7 @@
<parent>
<groupId>org.codelutin</groupId>
<artifactId>lutinpluginproject</artifactId>
- <version>3.4-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<artifactId>lutin-enforcer-rules</artifactId>
1
0