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@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>${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@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>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/tags/3.4.0?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> + <!-- 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>