Author: tchemit Date: 2008-12-06 13:03:11 +0000 (Sat, 06 Dec 2008) New Revision: 250 Added: lutinproject/tags/3.2/ lutinproject/tags/3.2/README.txt lutinproject/tags/3.2/changelog.txt lutinproject/tags/3.2/pom.xml lutinproject/tags/3.2/src/site/fr/rst/index.rst Removed: lutinproject/tags/3.2/README lutinproject/tags/3.2/changelog lutinproject/tags/3.2/pom.xml lutinproject/tags/3.2/src/site/fr/rst/index.rst Log: [maven-release-plugin] copy for tag 3.2 Copied: lutinproject/tags/3.2 (from rev 247, lutinproject/trunk) Deleted: lutinproject/tags/3.2/README =================================================================== --- lutinproject/trunk/README 2008-12-06 12:53:31 UTC (rev 247) +++ lutinproject/tags/3.2/README 2008-12-06 13:03:11 UTC (rev 250) @@ -1,2 +0,0 @@ -To deploy new version of pom: mvn deploy -To install localy: mvn install Copied: lutinproject/tags/3.2/README.txt (from rev 248, lutinproject/trunk/README.txt) =================================================================== --- lutinproject/tags/3.2/README.txt (rev 0) +++ lutinproject/tags/3.2/README.txt 2008-12-06 13:03:11 UTC (rev 250) @@ -0,0 +1,2 @@ +To deploy new version of pom: mvn deploy +To install localy: mvn install Deleted: lutinproject/tags/3.2/changelog =================================================================== --- lutinproject/trunk/changelog 2008-12-06 12:53:31 UTC (rev 247) +++ lutinproject/tags/3.2/changelog 2008-12-06 13:03:11 UTC (rev 250) @@ -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.2/changelog.txt (from rev 248, lutinproject/trunk/changelog.txt) =================================================================== --- lutinproject/tags/3.2/changelog.txt (rev 0) +++ lutinproject/tags/3.2/changelog.txt 2008-12-06 13:03:11 UTC (rev 250) @@ -0,0 +1,50 @@ +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.2/pom.xml =================================================================== --- lutinproject/trunk/pom.xml 2008-12-06 12:53:31 UTC (rev 247) +++ lutinproject/tags/3.2/pom.xml 2008-12-06 13:03:11 UTC (rev 250) @@ -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@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@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@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@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@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@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@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@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</file> - <file>LICENSE.txt</file> - <file>README</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.2/pom.xml (from rev 249, lutinproject/trunk/pom.xml) =================================================================== --- lutinproject/tags/3.2/pom.xml (rev 0) +++ lutinproject/tags/3.2/pom.xml 2008-12-06 13:03:11 UTC (rev 250) @@ -0,0 +1,920 @@ +<?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.2</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@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@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@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@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@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@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@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@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>scm:svn:svn://anonymous@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.2</connection> + <developerConnection>scm:svn:svn+ssh://tchemit@labs.libre-entreprise.org/svnroot/lutinbuilder/lutinproject/tags/3.2</developerConnection> + <url>http://labs.libre-entreprise.org/plugins/scmsvn/viewcvs.php/lutinproject/tags/3.2?root=lutinbuilder</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> Deleted: lutinproject/tags/3.2/src/site/fr/rst/index.rst =================================================================== --- lutinproject/trunk/src/site/fr/rst/index.rst 2008-12-06 12:53:31 UTC (rev 247) +++ lutinproject/tags/3.2/src/site/fr/rst/index.rst 2008-12-06 13:03:11 UTC (rev 250) @@ -1,118 +0,0 @@ -lutinproject -============ - -.. contents:: - - -Présentation ------------- - -Super pom de tous nos projets. - -Les propriétés définies ------------------------ - - - **labs.id** - - - **labs.project** - - - *labs.host* - - - *labs.list.host* - - - *labs.builder.url* - - - *site.home.url* - - - *maven.compile.source* - - - *maven.compile.target* - - - *maven.compile.encoding* - - - *maven.src.dir* - - - *maven.gen.dir* - - - *maven.site.gen.dir* - - - *maven.site.locales* - - - *maven.test.testFailureIgnore* - - - *maven.test.skip* - - - *maven.reports.generate* - - - *license-switcher.version* - - - *i18n.version* - - - *jrst.version* - - - *license-switcher.licenseName* - - - *maven.scm.url* - - - *maven.scm.developerConnection* - - - *maven.scm.connection* - - - *maven.scm.url.child* - - - *maven.scm.developerConnection.child* - - - *maven.scm.connection.child* - - - *maven.scm.url.child.child* - - - *maven.scm.developerConnection.child.child* - - - *maven.scm.connection.child.child* - - -.. WARNING:: - Expliquer à quoi servent ces propriétés. - -Vérification de conformité --------------------------- - -On effectue sur le pom des contrôles de conformités via *maven-enforcer-plugin*. - -propriétés obligatoires -~~~~~~~~~~~~~~~~~~~~~~~ - - - *labs.id* : doit être un nombre - - - *labs.projects* : doit etre non vide et commencer par un mot - -fichiers obligatoires -~~~~~~~~~~~~~~~~~~~~~ - - - README - - - changelog - - - LICENSE.txt - - -Les plugins configurés ----------------------- - -.. WARNING:: - A faire - - -Montée en version d'un plugin ------------------------------ - -.. WARNING:: - A faire - - -La gestion scm --------------- - -.. WARNING:: - A faire - Copied: lutinproject/tags/3.2/src/site/fr/rst/index.rst (from rev 248, lutinproject/trunk/src/site/fr/rst/index.rst) =================================================================== --- lutinproject/tags/3.2/src/site/fr/rst/index.rst (rev 0) +++ lutinproject/tags/3.2/src/site/fr/rst/index.rst 2008-12-06 13:03:11 UTC (rev 250) @@ -0,0 +1,118 @@ +lutinproject +============ + +.. contents:: + + +Présentation +------------ + +Super pom de tous nos projets. + +Les propriétés définies +----------------------- + + - **labs.id** + + - **labs.project** + + - *labs.host* + + - *labs.list.host* + + - *labs.builder.url* + + - *site.home.url* + + - *maven.compile.source* + + - *maven.compile.target* + + - *maven.compile.encoding* + + - *maven.src.dir* + + - *maven.gen.dir* + + - *maven.site.gen.dir* + + - *maven.site.locales* + + - *maven.test.testFailureIgnore* + + - *maven.test.skip* + + - *maven.reports.generate* + + - *license-switcher.version* + + - *i18n.version* + + - *jrst.version* + + - *license-switcher.licenseName* + + - *maven.scm.url* + + - *maven.scm.developerConnection* + + - *maven.scm.connection* + + - *maven.scm.url.child* + + - *maven.scm.developerConnection.child* + + - *maven.scm.connection.child* + + - *maven.scm.url.child.child* + + - *maven.scm.developerConnection.child.child* + + - *maven.scm.connection.child.child* + + +.. WARNING:: + Expliquer à quoi servent ces propriétés. + +Vérification de conformité +-------------------------- + +On effectue sur le pom des contrôles de conformités via *maven-enforcer-plugin*. + +propriétés obligatoires +~~~~~~~~~~~~~~~~~~~~~~~ + + - *labs.id* : doit être un nombre + + - *labs.projects* : doit etre non vide et commencer par un mot + +fichiers obligatoires +~~~~~~~~~~~~~~~~~~~~~ + + - README.txt + + - changelog.txt + + - LICENSE.txt + + +Les plugins configurés +---------------------- + +.. WARNING:: + A faire + + +Montée en version d'un plugin +----------------------------- + +.. WARNING:: + A faire + + +La gestion scm +-------------- + +.. WARNING:: + A faire +