Author: tchemit Date: 2010-04-09 21:45:31 +0200 (Fri, 09 Apr 2010) New Revision: 849 Log: reformat pom (2 caracters for indent in xml) Modified: trunk/mavenpom4labs/pom.xml trunk/mavenpom4redmine/pom.xml trunk/pom.xml Modified: trunk/mavenpom4labs/pom.xml =================================================================== --- trunk/mavenpom4labs/pom.xml 2010-04-06 10:04:13 UTC (rev 848) +++ trunk/mavenpom4labs/pom.xml 2010-04-09 19:45:31 UTC (rev 849) @@ -1,348 +1,359 @@ <?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/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom</artifactId> - <version>2.0.8-SNAPSHOT</version> - </parent> + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom</artifactId> + <version>2.0.8-SNAPSHOT</version> + </parent> - <artifactId>mavenpom4labs</artifactId> + <artifactId>mavenpom4labs</artifactId> - <!-- add this in your pom - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom4labs</artifactId> - <version>XXX</version> - </parent> - --> + <!-- add this in your pom + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom4labs</artifactId> + <version>XXX</version> + </parent> + --> - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> - <name>Mavenpom4labs</name> + <name>Mavenpom4labs</name> - <description>Ancestor of all projects of Code Lutin based on a labs environnement</description> + <description>Ancestor of all projects of Code Lutin based on a labs + environnement + </description> - <inceptionYear>2010</inceptionYear> + <inceptionYear>2010</inceptionYear> - <licenses> - <license> - <name>General Public License (GPL)</name> - <url>${maven.license.file}</url> - <distribution>local</distribution> - </license> - </licenses> + <licenses> + <license> + <name>General Public License (GPL)</name> + <url>${maven.license.file}</url> + <distribution>local</distribution> + </license> + </licenses> - <!-- ************************************************************* --> - <!-- *** Build Environment ************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> - <!-- Build Environment : Environment Information --> + <!-- Build Environment : Environment Information --> - <!-- Add this in your pom --> - <!--issueManagement> - <system>gforge</system> - <url>https://${platform}/tracker?group_id=${labs.id}</url> - </issueManagement--> + <!-- Add this in your pom --> + <!--issueManagement> + <system>gforge</system> + <url>https://${platform}/tracker?group_id=${labs.id}</url> + </issueManagement--> - <!--Any mailing lists for the project--> - <!-- Add any of thoses in your pom --> + <!--Any mailing lists for the project--> + <!-- Add any of thoses in your pom --> - <!--mailingLists> - <mailingList> - <name>${listId}-commits</name> - <subscribe>http://list.${platform}/mailman/listinfo/${listId}-commits</subscribe> - <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-commits</unsubscribe> - <post>${listId}-commits@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> - </mailingList> + <!--mailingLists> + <mailingList> + <name>${listId}-commits</name> + <subscribe>http://list.${platform}/mailman/listinfo/${listId}-commits</subscribe> + <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-commits</unsubscribe> + <post>${listId}-commits@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> + </mailingList> - <mailingList> - <name>${listId}-devel</name> - <subscribe>http://list.${platform}/mailman/listinfo/${listId}-devel</subscribe> - <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-devel</unsubscribe> - <post>${listId}-devel@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> - </mailingList> + <mailingList> + <name>${listId}-devel</name> + <subscribe>http://list.${platform}/mailman/listinfo/${listId}-devel</subscribe> + <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-devel</unsubscribe> + <post>${listId}-devel@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> + </mailingList> - <mailingList> - <name>${listId}-users</name> - <subscribe>http://list.${platform}/mailman/listinfo/${listId}-users</subscribe> - <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-users</unsubscribe> - <post>${listId}-users@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-users/</archive> - </mailingList> - </mailingLists--> + <mailingList> + <name>${listId}-users</name> + <subscribe>http://list.${platform}/mailman/listinfo/${listId}-users</subscribe> + <unsubscribe>http://list.${platform}/mailman/listinfo/${listId}-users</unsubscribe> + <post>${listId}-users@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-users/</archive> + </mailingList> + </mailingLists--> - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> - <properties> + <properties> - <labs.id /> + <labs.id/> - <labs.list.host>lists.${platform}</labs.list.host> + <labs.list.host>lists.${platform}</labs.list.host> - <!-- default license to use --> - <license.licenseName>gpl_v3</license.licenseName> + <!-- default license to use --> + <license.licenseName>gpl_v3</license.licenseName> - <platform>labs.libre-entreprise.org</platform> + <platform>labs.libre-entreprise.org</platform> - <!-- disable scmwebeditor in generated site --> - <scmwebeditorEnabled>false</scmwebeditorEnabled> + <!-- disable scmwebeditor in generated site --> + <scmwebeditorEnabled>false</scmwebeditorEnabled> - </properties> + </properties> - <packaging>pom</packaging> + <packaging>pom</packaging> - <!--Site--> - <reporting> - <plugins> + <!--Site--> + <reporting> + <plugins> - <plugin> - <groupId>org.codehaus.sonar-plugins</groupId> - <artifactId>maven-report</artifactId> - <version>0.1</version> - <configuration> - <sonar.host.url>http://hudson.nuiton.org/sonar</sonar.host.url> - </configuration> - </plugin> + <plugin> + <groupId>org.codehaus.sonar-plugins</groupId> + <artifactId>maven-report</artifactId> + <version>0.1</version> + <configuration> + <sonar.host.url>http://hudson.nuiton.org/sonar</sonar.host.url> + </configuration> + </plugin> - </plugins> - </reporting> + </plugins> + </reporting> - <!-- ************************************************************* --> - <!-- *** Maven Environment *************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Maven Environment *************************************** --> + <!-- ************************************************************* --> - <!--Distribution--> - <distributionManagement> - <site> - <id>labs</id> - <url>scpexe://${platform}/home/groups/${projectId}/htdocs/</url> - </site> - </distributionManagement> + <!--Distribution--> + <distributionManagement> + <site> + <id>labs</id> + <url>scpexe://${platform}/home/groups/${projectId}/htdocs/</url> + </site> + </distributionManagement> - <!-- Maven Environment : profiles --> - <profiles> + <!-- Maven Environment : profiles --> + <profiles> - <!-- perform only on a release stage when using the maven-release-plugin --> - <profile> - <id>internal</id> - <activation> - <property> - <name>internal</name> - <value>true</value> - </property> - </activation> + <!-- perform only on a release stage when using the maven-release-plugin --> + <profile> + <id>internal</id> + <activation> + <property> + <name>internal</name> + <value>true</value> + </property> + </activation> - <properties> - <platform>nuiton.org</platform> + <properties> + <platform>nuiton.org</platform> - <!-- enable scmwebeditor in generated site --> - <scmwebeditorEnabled>true</scmwebeditorEnabled> + <!-- enable scmwebeditor in generated site --> + <scmwebeditorEnabled>true</scmwebeditorEnabled> - </properties> + </properties> - <distributionManagement> - <site> - <id>nuiton</id> - <url>scpexe://nuiton.org/var/lib/redmine-nuiton.org/project-site/mavenpom/mavenpom4labs</url> - </site> - </distributionManagement> + <distributionManagement> + <site> + <id>nuiton</id> + <url> + scpexe://nuiton.org/var/lib/redmine-nuiton.org/project-site/mavenpom/mavenpom4labs + </url> + </site> + </distributionManagement> - </profile> + </profile> - <!-- perform only on a release stage when using the maven-release-plugin --> - <profile> - <id>labs-build-release-profile</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> + <!-- perform only on a release stage when using the maven-release-plugin --> + <profile> + <id>labs-build-release-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> - <build> - <plugins> - <plugin> + <build> + <plugins> + <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <!-- TC-20100117 : 1.3 does not works here --> - <version>1.2</version> - <executions> + <artifactId>maven-antrun-plugin</artifactId> + <!-- TC-20100117 : 1.3 does not works here --> + <version>1.2</version> + <executions> - <!-- on recopie le changelog.txt vers le site pour faire la release note --> - <execution> - <id>copy changeLog to site</id> - <phase>pre-site</phase> - <configuration> - <tasks> - <!-- adds the ant-contrib tasks (if/then/else used below) --> - <taskdef resource="net/sf/antcontrib/antcontrib.properties" /> - <if> - <equals arg1="${siteSourcesType}" arg2="rst" /> - <then> - <echo message="Copy changelog.txt to src/site/rst/release-note.rst" /> - <copy verbose="${maven.verbose}" failonerror="false" overwrite="false" file="changelog.txt" tofile="src/site/rst/release-note.rst" /> - </then> - <else> - <echo message="Skip Copy changelog.txt to src/site/rst/release-note.rst (not rst documentation)" /> + <!-- on recopie le changelog.txt vers le site pour faire la release note --> + <execution> + <id>copy changeLog to site</id> + <phase>pre-site</phase> + <configuration> + <tasks> + <!-- adds the ant-contrib tasks (if/then/else used below) --> + <taskdef + resource="net/sf/antcontrib/antcontrib.properties"/> + <if> + <equals arg1="${siteSourcesType}" arg2="rst"/> + <then> + <echo + message="Copy changelog.txt to src/site/rst/release-note.rst"/> + <copy verbose="${maven.verbose}" failonerror="false" + overwrite="false" file="changelog.txt" + tofile="src/site/rst/release-note.rst"/> + </then> + <else> + <echo + message="Skip Copy changelog.txt to src/site/rst/release-note.rst (not rst documentation)"/> - </else> - </if> - </tasks> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - <dependencies> - <dependency> - <groupId>ant-contrib</groupId> - <artifactId>ant-contrib</artifactId> - <version>1.0b3</version> - </dependency> - </dependencies> - </plugin> - </plugins> - </build> + </else> + </if> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>ant-contrib</groupId> + <artifactId>ant-contrib</artifactId> + <version>1.0b3</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> - </profile> + </profile> - <!-- launch this profile after a release:perform on target/checkout --> - <profile> - <id>labs-pre-release-profile</id> - <activation> - <property> - <name>performLabsPreRelease</name> - <value>true</value> - </property> - </activation> + <!-- launch this profile after a release:perform on target/checkout --> + <profile> + <id>labs-pre-release-profile</id> + <activation> + <property> + <name>performLabsPreRelease</name> + <value>true</value> + </property> + </activation> - </profile> + </profile> - <!-- perform a labs release after a successfull release --> - <profile> - <id>labs-release-profile</id> - <activation> - <property> - <name>performLabsRelease</name> - <value>true</value> - </property> - </activation> + <!-- perform a labs release after a successfull release --> + <profile> + <id>labs-release-profile</id> + <activation> + <property> + <name>performLabsRelease</name> + <value>true</value> + </property> + </activation> - <properties> - - <dryRun>true</dryRun> + <properties> - <release.version>${project.version}</release.version> - <emailContentFile>src/announcement/release-email-${release.version}.txt</emailContentFile> - </properties> - <build> + <dryRun>true</dryRun> + <helper.dryRun>${dryRun}</helper.dryRun> + <release.version>${project.version}</release.version> + <emailContentFile>src/announcement/release-email-${release.version}.txt</emailContentFile> + </properties> + <build> - <defaultGoal>validate</defaultGoal> + <defaultGoal>validate</defaultGoal> - <plugins> + <plugins> - <!-- - - check mail content file exists - --> - <plugin> - <artifactId>maven-enforcer-plugin</artifactId> - <executions> - <execution> - <id>check-email-file</id> - <goals> - <goal>enforce</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - <configuration> - <rules> - <requireFilesExist> - <files> - <file>${emailContentFile}</file> - </files> - </requireFilesExist> - </rules> - <ignoreCache>true</ignoreCache> - <failFast>true</failFast> - <fail>true</fail> - </configuration> - </execution> - </executions> - </plugin> + <!-- + - check mail content file exists + --> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>check-email-file</id> + <goals> + <goal>enforce</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + <configuration> + <rules> + <requireFilesExist> + <files> + <file>${emailContentFile}</file> + </files> + </requireFilesExist> + </rules> + <ignoreCache>true</ignoreCache> + <failFast>true</failFast> + <fail>true</fail> + </configuration> + </execution> + </executions> + </plugin> - <!-- - - send release email - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>send-release-email</id> - <goals> - <goal>send-email</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - <configuration> + <!-- + - send release email + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>send-release-email</id> + <goals> + <goal>send-email</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + <configuration> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - <dryRun>${dryRun}</dryRun> - <emailTitle>[ANN] - ${project.name} ${release.version} released</emailTitle> - <emailContentFile>${emailContentFile}</emailContentFile> - <!--<emailContentFile>src/main/announcement/release-email-${release.version}.txt</emailContentFile>--> - <mailSender> - <name>${platform} Release Notification</name> - <email>noreply@${platform}</email> - </mailSender> - <toAddresses> - <item>${listId}-users@lists.${platform}</item> - <item>${listId}-devel@lists.${platform}</item> - <item>announce-redmine.org@list.redmine.org</item> - <!--<item>announce-${platform}@list.${platform}</item>--> - </toAddresses> - <smtpHost>smtp</smtpHost> - <!-- fix bug #146 --> - <encoding>iso-8859-1</encoding> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + <!--<dryRun>${dryRun}</dryRun>--> + <emailTitle>[ANN] - ${project.name} ${release.version} released</emailTitle> + <emailContentFile>${emailContentFile}</emailContentFile> + <!--<emailContentFile>src/main/announcement/release-email-${release.version}.txt</emailContentFile>--> + <mailSender> + <name>${platform} Release Notification</name> + <email>noreply@${platform}</email> + </mailSender> + <toAddresses> + <item>${listId}-users@lists.${platform}</item> + <item>${listId}-devel@lists.${platform}</item> + <item>announce-redmine.org@list.redmine.org</item> + <!--<item>announce-${platform}@list.${platform}</item>--> + </toAddresses> + <smtpHost>smtp</smtpHost> + <!-- fix bug #146 --> + <encoding>iso-8859-1</encoding> - </configuration> - </execution> - </executions> - </plugin> + </configuration> + </execution> + </executions> + </plugin> - </plugins> + </plugins> - </build> - </profile> + </build> + </profile> - <!-- perform a labs release after a successfull release --> - <profile> - <id>labs-next-version-profile</id> - <activation> - <property> - <name>labsNextVersion</name> - <value>true</value> - </property> - </activation> - </profile> + <!-- perform a labs release after a successfull release --> + <profile> + <id>labs-next-version-profile</id> + <activation> + <property> + <name>labsNextVersion</name> + <value>true</value> + </property> + </activation> + </profile> - </profiles> + </profiles> </project> Modified: trunk/mavenpom4redmine/pom.xml =================================================================== --- trunk/mavenpom4redmine/pom.xml 2010-04-06 10:04:13 UTC (rev 848) +++ trunk/mavenpom4redmine/pom.xml 2010-04-09 19:45:31 UTC (rev 849) @@ -1,571 +1,583 @@ <?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/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom</artifactId> - <version>2.0.8-SNAPSHOT</version> - </parent> + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom</artifactId> + <version>2.0.8-SNAPSHOT</version> + </parent> - <artifactId>mavenpom4redmine</artifactId> + <artifactId>mavenpom4redmine</artifactId> - <!-- add this in your pom - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom4redmine</artifactId> - <version>XXX</version> - </parent> - --> + <!-- add this in your pom + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom4redmine</artifactId> + <version>XXX</version> + </parent> + --> - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> - <name>Mavenpom4redmine</name> + <name>Mavenpom4redmine</name> - <description>Ancestor of all projects of Code Lutin based on a redmine developpment environnement</description> + <description>Ancestor of all projects of Code Lutin based on a redmine + developpment environnement + </description> - <inceptionYear>2010</inceptionYear> + <inceptionYear>2010</inceptionYear> - <!-- ************************************************************* --> - <!-- *** Build Environment ************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> - <!-- Build Environment : Environment Information --> + <!-- Build Environment : Environment Information --> - <issueManagement> - <system>redmine</system> - <url>${redmine.url}/projects/${projectId}/issues</url> - </issueManagement> + <issueManagement> + <system>redmine</system> + <url>${redmine.url}/projects/${projectId}/issues</url> + </issueManagement> - <!--Any mailing lists for the project--> - <!--on redmine platform (nuiton or chorem) we normalize it to 3 lists --> - <!--commits, devel and users --> - <mailingLists> - <mailingList> - <name>${listId}-commits</name> - <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</subscribe> - <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</unsubscribe> - <post>${listId}-commits@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> - </mailingList> + <!--Any mailing lists for the project--> + <!--on redmine platform (nuiton or chorem) we normalize it to 3 lists --> + <!--commits, devel and users --> + <mailingLists> + <mailingList> + <name>${listId}-commits</name> + <subscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits + </subscribe> + <unsubscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits + </unsubscribe> + <post>${listId}-commits@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> + </mailingList> - <mailingList> - <name>${listId}-devel</name> - <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</subscribe> - <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</unsubscribe> - <post>${listId}-devel@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> - </mailingList> + <mailingList> + <name>${listId}-devel</name> + <subscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel + </subscribe> + <unsubscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel + </unsubscribe> + <post>${listId}-devel@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> + </mailingList> - <mailingList> - <name>${listId}-users</name> - <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</subscribe> - <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</unsubscribe> - <post>${listId}-users@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-users/</archive> - </mailingList> - </mailingLists> + <mailingList> + <name>${listId}-users</name> + <subscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users + </subscribe> + <unsubscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users + </unsubscribe> + <post>${listId}-users@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-users/</archive> + </mailingList> + </mailingLists> - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> - <properties> + <properties> - <!-- the redmine plateform used (nuiton.org or chorem.org) --> - <platform>nuiton.org</platform> + <!-- the redmine plateform used (nuiton.org or chorem.org) --> + <platform>nuiton.org</platform> - <!-- redmine configuration --> - <redmine.safe>false</redmine.safe> - <redmine.url>http://www.${platform}</redmine.url> - <redmine.projectId>${projectId}</redmine.projectId> - <redmine.xmlPath>${maven.gen.dir}/changes/changes.xml</redmine.xmlPath> - <redmine.collectedArtifacts>target/collect-artifacts.txt</redmine.collectedArtifacts> - <redmine.collectedAttachments>target/collect-attachments.txt</redmine.collectedAttachments> - <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> + <!-- redmine configuration --> + <redmine.safe>false</redmine.safe> + <redmine.url>http://www.${platform}</redmine.url> + <redmine.projectId>${projectId}</redmine.projectId> + <redmine.xmlPath>${maven.gen.dir}/changes/changes.xml</redmine.xmlPath> + <redmine.collectedArtifacts>target/collect-artifacts.txt</redmine.collectedArtifacts> + <redmine.collectedAttachments>target/collect-attachments.txt</redmine.collectedAttachments> + <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> - <!-- extra files to include in release --> - <redmine.releaseFiles /> + <!-- extra files to include in release --> + <redmine.releaseFiles/> - <!-- use this for a lib extra files --> - <redmine.libReleaseFiles> - target/${project.artifactId}-${project.version}-deps.zip, - target/${project.artifactId}-${project.version}-full.zip - </redmine.libReleaseFiles> + <!-- use this for a lib extra files --> + <redmine.libReleaseFiles> + target/${project.artifactId}-${project.version}-deps.zip, + target/${project.artifactId}-${project.version}-full.zip + </redmine.libReleaseFiles> - </properties> + </properties> - <packaging>pom</packaging> + <packaging>pom</packaging> - <reporting> - <plugins> + <reporting> + <plugins> - <plugin> - <groupId>org.codehaus.sonar-plugins</groupId> - <artifactId>maven-report</artifactId> - <version>0.1</version> - <configuration> - <sonar.host.url>http://hudson.${platform}/sonar</sonar.host.url> - </configuration> - </plugin> - </plugins> - </reporting> - - <!-- ************************************************************* --> - <!-- *** Maven Environment *************************************** --> - <!-- ************************************************************* --> + <plugin> + <groupId>org.codehaus.sonar-plugins</groupId> + <artifactId>maven-report</artifactId> + <version>0.1</version> + <configuration> + <sonar.host.url>http://hudson.${platform}/sonar</sonar.host.url> + </configuration> + </plugin> + </plugins> + </reporting> - <!--Distribution--> - <distributionManagement> - <site> - <id>nuiton</id> - <!-- l'héritage sur les poms donnera la bonne url pour tous les poms - qui héritent de ce pom (/artifactId est rajouté) mais cela ne - fonctionne pas pour mavenpom lui-même (voir profile internal) - --> - <url>scpexe://${platform}/var/lib/redmine-${platform}/project-site/</url> - </site> - </distributionManagement> + <!-- ************************************************************* --> + <!-- *** Maven Environment *************************************** --> + <!-- ************************************************************* --> - <!-- Maven Environment : profiles --> - <profiles> + <!--Distribution--> + <distributionManagement> + <site> + <id>nuiton</id> + <!-- l'héritage sur les poms donnera la bonne url pour tous les poms + qui héritent de ce pom (/artifactId est rajouté) mais cela ne + fonctionne pas pour mavenpom lui-même (voir profile internal) + --> + <url>scpexe://${platform}/var/lib/redmine-${platform}/project-site/</url> + </site> + </distributionManagement> - <!-- perform only on a release stage when using the maven-release-plugin --> - <profile> - <id>redmine-build-release-profile</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - <properties> - <!-- fails if redmine goals are not ok --> - <redmine.safe>true</redmine.safe> - </properties> + <!-- Maven Environment : profiles --> + <profiles> - <reporting> - <plugins> + <!-- perform only on a release stage when using the maven-release-plugin --> + <profile> + <id>redmine-build-release-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <properties> + <!-- fails if redmine goals are not ok --> + <redmine.safe>true</redmine.safe> + </properties> - <plugin> - <artifactId>maven-changes-plugin</artifactId> - <version>2.3</version> - <configuration> - <issueLinkTemplatePerSystem> - <redmine>${redmine.issueLinkTemplate}</redmine> - </issueLinkTemplatePerSystem> - <xmlPath>${redmine.xmlPath}</xmlPath> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> + <reporting> + <plugins> - <!-- generate issues report --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <version>${jredmine.version}</version> - <configuration> - <columnNames> - key,summary,status,assignee,tracker,priority,version,category,createdOn - </columnNames> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>issues-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> + <plugin> + <artifactId>maven-changes-plugin</artifactId> + <version>2.3</version> + <configuration> + <issueLinkTemplatePerSystem> + <redmine>${redmine.issueLinkTemplate}</redmine> + </issueLinkTemplatePerSystem> + <xmlPath>${redmine.xmlPath}</xmlPath> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> - </plugins> - </reporting> - <build> + <!-- generate issues report --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <version>${jredmine.version}</version> + <configuration> + <columnNames> + key,summary,status,assignee,tracker,priority,version,category,createdOn + </columnNames> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>issues-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> - <plugins> + </plugins> + </reporting> + <build> - <!-- - - obtain redmine username - - collect all artifacts attached to build for announcements - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>initialize</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <usernameOut>redmine.username</usernameOut> - <!-- TC-20100124 just expose username, no need - password --> - <!--<passwordOut>redmine.password</passwordOut>--> - </configuration> - </execution> - <execution> - <id>collect-build-artifacts</id> - <goals> - <goal>collect-files</goal> - </goals> - <phase>install</phase> - <configuration> - <descriptionFile>${redmine.collectedArtifacts}</descriptionFile> - <includeAttached>true</includeAttached> - <includeSiteAttached>true</includeSiteAttached> - </configuration> - </execution> - <execution> - <id>collect-build-attachements</id> - <goals> - <goal>collect-files</goal> - </goals> - <phase>install</phase> - <configuration> - <extraFiles>${redmine.releaseFiles}</extraFiles> - <descriptionFile>${redmine.collectedAttachments}</descriptionFile> - <includeAttached>false</includeAttached> - </configuration> - </execution> - </executions> - </plugin> + <plugins> - <!-- - - generate changes.xml file from redmine - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-generate-changes</id> - <goals> - <goal>generate-changes</goal> - </goals> - <phase>process-classes</phase> - <configuration> - <generateOnce>true</generateOnce> - <actionMapping>fix:1, add:2</actionMapping> - <statusIds>3,4,5</statusIds> - </configuration> - </execution> + <!-- + - obtain redmine username + - collect all artifacts attached to build for announcements + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>initialize</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <usernameOut>redmine.username</usernameOut> + <!-- TC-20100124 just expose username, no need + password --> + <!--<passwordOut>redmine.password</passwordOut>--> + </configuration> + </execution> + <execution> + <id>collect-build-artifacts</id> + <goals> + <goal>collect-files</goal> + </goals> + <phase>install</phase> + <configuration> + <descriptionFile>${redmine.collectedArtifacts}</descriptionFile> + <includeAttached>true</includeAttached> + <includeSiteAttached>true</includeSiteAttached> + </configuration> + </execution> + <execution> + <id>collect-build-attachements</id> + <goals> + <goal>collect-files</goal> + </goals> + <phase>install</phase> + <configuration> + <extraFiles>${redmine.releaseFiles}</extraFiles> + <descriptionFile>${redmine.collectedAttachments}</descriptionFile> + <includeAttached>false</includeAttached> + </configuration> + </execution> + </executions> + </plugin> - </executions> + <!-- + - generate changes.xml file from redmine + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-generate-changes</id> + <goals> + <goal>generate-changes</goal> + </goals> + <phase>process-classes</phase> + <configuration> + <generateOnce>true</generateOnce> + <actionMapping>fix:1, add:2</actionMapping> + <statusIds>3,4,5</statusIds> + </configuration> + </execution> - </plugin> + </executions> - </plugins> + </plugin> - </build> - </profile> + </plugins> - <!-- launch this profile after a release:perform on target/checkout --> - <profile> - <id>redmine-pre-release-profile</id> - <activation> - <property> - <name>performRedminePreRelease</name> - <value>true</value> - </property> - </activation> - <properties> - <!-- fails if redmine goals are not ok --> - <redmine.safe>true</redmine.safe> + </build> + </profile> - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - </properties> + <!-- launch this profile after a release:perform on target/checkout --> + <profile> + <id>redmine-pre-release-profile</id> + <activation> + <property> + <name>performRedminePreRelease</name> + <value>true</value> + </property> + </activation> + <properties> + <!-- fails if redmine goals are not ok --> + <redmine.safe>true</redmine.safe> - <build> + <dryRun>true</dryRun> + <redmine.dryRun>${dryRun}</redmine.dryRun> + </properties> - <defaultGoal>validate</defaultGoal> + <build> - <plugins> + <defaultGoal>validate</defaultGoal> - <!-- - - obtain redmine login - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> - </execution> + <plugins> - </executions> - </plugin> + <!-- + - obtain redmine login + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>validate</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + </configuration> + </execution> - <!-- - - publish attachments - - generate release announcements - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-pre-release</id> - <goals> - <goal>publish-attachments</goal> - <goal>generate-news-announcement</goal> - <goal>generate-email-announcement</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - <configuration> + </executions> + </plugin> - <filesFromProperties>${redmine.collectedAttachments}</filesFromProperties> + <!-- + - publish attachments + - generate release announcements + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-pre-release</id> + <goals> + <goal>publish-attachments</goal> + <goal>generate-news-announcement</goal> + <goal>generate-email-announcement</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + <configuration> - <urlDownload>${redmine.url}/projects/list_files/${projectId}</urlDownload> - <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> + <filesFromProperties>${redmine.collectedAttachments}</filesFromProperties> - </configuration> - </execution> - </executions> + <urlDownload>${redmine.url}/projects/list_files/${projectId}</urlDownload> + <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> - </plugin> + </configuration> + </execution> + </executions> - </plugins> + </plugin> - </build> - </profile> + </plugins> - <!-- perform a redmine release after a successfull release --> - <profile> - <id>redmine-release-profile</id> - <activation> - <property> - <name>performRedmineRelease</name> - <value>true</value> - </property> - </activation> + </build> + </profile> - <properties> - <!-- fails if redmine goals are not ok --> - <redmine.safe>true</redmine.safe> + <!-- perform a redmine release after a successfull release --> + <profile> + <id>redmine-release-profile</id> + <activation> + <property> + <name>performRedmineRelease</name> + <value>true</value> + </property> + </activation> - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - </properties> - <build> + <properties> + <!-- fails if redmine goals are not ok --> + <redmine.safe>true</redmine.safe> - <defaultGoal>validate</defaultGoal> - - <plugins> + <dryRun>true</dryRun> + <redmine.dryRun>${dryRun}</redmine.dryRun> + </properties> + <build> - <!-- - - obtain redmine login - - send release email - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> - </execution> - <execution> - <id>send-release-email</id> - <goals> - <goal>send-email</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - <configuration> + <defaultGoal>validate</defaultGoal> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> + <plugins> - <emailTitle>[ANN] - ${project.name} ${project.version} released</emailTitle> - <emailContentFile> - target/generated-sources/announcement/release-email-announcement.vm - </emailContentFile> - <mailSender> - <name>${platform} Release Notification</name> - <email>noreply@${platform}</email> - </mailSender> - <toAddresses> - <item>${listId}-users@list.${platform}</item> - <item>${listId}-devel@list.${platform}</item> - <item>announce-${platform}@list.${platform}</item> - </toAddresses> - <smtpHost>smtp</smtpHost> - <!-- fix bug #146 --> - <encoding>iso-8859-1</encoding> + <!-- + - obtain redmine login + - send release email + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>validate</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + </configuration> + </execution> + <execution> + <id>send-release-email</id> + <goals> + <goal>send-email</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + <configuration> - </configuration> - </execution> - </executions> - </plugin> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> - <!-- - - update version in redmine - - publish the release news announcement in redmine - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-release</id> - <goals> - <goal>update-version</goal> - <goal>publish-news</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - <configuration> + <emailTitle>[ANN] - ${project.name} ${project.version} released</emailTitle> + <emailContentFile>target/generated-sources/announcement/release-email-announcement.vm</emailContentFile> + <mailSender> + <name>${platform} Release Notification</name> + <email>noreply@${platform}</email> + </mailSender> + <toAddresses> + <item>${listId}-users@list.${platform}</item> + <item>${listId}-devel@list.${platform}</item> + <item>announce-${platform}@list.${platform}</item> + </toAddresses> + <smtpHost>smtp</smtpHost> + <!-- fix bug #146 --> + <encoding>iso-8859-1</encoding> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> + </configuration> + </execution> + </executions> + </plugin> - <!-- udpate-version --> - <closeVersion>true</closeVersion> + <!-- + - update version in redmine + - publish the release news announcement in redmine + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-release</id> + <goals> + <goal>update-version</goal> + <goal>publish-news</goal> + </goals> + <phase>validate</phase> + </execution> + </executions> + <configuration> - <!-- publish-news --> - <newsContentFile> - target/generated-sources/announcement/release-news-announcement.vm - </newsContentFile> - <newsSummary>${project.description}</newsSummary> - <newsTitle>${project.name} ${project.version} released</newsTitle> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> - </configuration> - </plugin> + <!-- udpate-version --> + <closeVersion>true</closeVersion> - </plugins> + <!-- publish-news --> + <newsContentFile>target/generated-sources/announcement/release-news-announcement.vm</newsContentFile> + <newsSummary>${project.description}</newsSummary> + <newsTitle>${project.name} ${project.version} released</newsTitle> - </build> - </profile> + </configuration> + </plugin> - <!-- perform a redmine release after a successfull release --> - <profile> - <id>redmine-next-version-profile</id> - <activation> - <property> - <name>redmineNextVersion</name> - <value>true</value> - </property> - </activation> + </plugins> - <properties> + </build> + </profile> - </properties> - <build> + <!-- perform a redmine release after a successfull release --> + <profile> + <id>redmine-next-version-profile</id> + <activation> + <property> + <name>redmineNextVersion</name> + <value>true</value> + </property> + </activation> - <defaultGoal>validate</defaultGoal> + <properties> - <plugins> + </properties> + <build> - <!-- - - obtain redmine login - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - </configuration> - </execution> - </executions> - </plugin> + <defaultGoal>validate</defaultGoal> - <!-- - create next version if necessary and transfert all opened issued from a previous version - if given - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-next-version</id> - <goals> - <goal>next-version</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - </execution> - </executions> - <configuration> + <plugins> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> + <!-- + - obtain redmine login + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + </configuration> + </execution> + </executions> + </plugin> - </configuration> - </plugin> + <!-- + create next version if necessary and transfert all opened issued from a previous version + if given + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-next-version</id> + <goals> + <goal>next-version</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + </execution> + </executions> + <configuration> - </plugins> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> - </build> - </profile> + </configuration> + </plugin> - <profile> - <id>internal</id> - <activation> - <property> - <name>internal</name> - <value>true</value> - </property> - </activation> - <distributionManagement> - <site> - <id>nuiton</id> - <url> - scpexe://nuiton.org/var/lib/redmine-nuiton/project-site/mavenpom/mavenpom4redmine - </url> - </site> - </distributionManagement> - </profile> + </plugins> + </build> + </profile> - </profiles> + <profile> + <id>internal</id> + <activation> + <property> + <name>internal</name> + <value>true</value> + </property> + </activation> + <distributionManagement> + <site> + <id>nuiton</id> + <url> + scpexe://nuiton.org/var/lib/redmine-nuiton/project-site/mavenpom/mavenpom4redmine + </url> + </site> + </distributionManagement> + </profile> + + </profiles> + </project> Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-04-06 10:04:13 UTC (rev 848) +++ trunk/pom.xml 2010-04-09 19:45:31 UTC (rev 849) @@ -1,1689 +1,1707 @@ <?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/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom</artifactId> - <version>2.0.8-SNAPSHOT</version> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom</artifactId> + <version>2.0.8-SNAPSHOT</version> - <modules> - <module>mavenpom4redmine</module> - <module>mavenpom4labs</module> - </modules> + <modules> + <module>mavenpom4redmine</module> + <module>mavenpom4labs</module> + </modules> - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> - <name>Mavenpom</name> + <name>Mavenpom</name> - <description>Ancestor of all projects of Code Lutin</description> + <description>Ancestor of all projects of Code Lutin</description> - <url>http://maven-site.nuiton.org/mavenpom</url> + <url>http://maven-site.nuiton.org/mavenpom</url> - <inceptionYear>2009</inceptionYear> + <inceptionYear>2009</inceptionYear> - <licenses> - <license> - <name>Lesser General Public License (LGPL)</name> - <url>${maven.license.file}</url> - <distribution>local</distribution> - </license> - </licenses> + <licenses> + <license> + <name>Lesser General Public License (LGPL)</name> + <url>${maven.license.file}</url> + <distribution>local</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> + <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>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>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>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>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>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>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> - <developer> - <name>Jean Couteau</name> - <id>jcouteau</id> - <email>couteau@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> + <developer> + <name>Jean Couteau</name> + <id>jcouteau</id> + <email>couteau@codelutin.com</email> + <organization>CodeLutin</organization> + <timezone>+2</timezone> + <roles> + <role>Développeur</role> + </roles> + </developer> - <developer> - <name>Florian Desbois</name> - <id>fdesbois</id> - <email>desbois@codelutin.com</email> - <organization>CodeLutin</organization> - <timezone>+2</timezone> - <roles> - <role>Développeur</role> - </roles> - </developer> + <developer> + <name>Florian Desbois</name> + <id>fdesbois</id> + <email>desbois@codelutin.com</email> + <organization>CodeLutin</organization> + <timezone>+2</timezone> + <roles> + <role>Développeur</role> + </roles> + </developer> - <developer> - <name>Kevin Morin</name> - <id>kmorin</id> - <email>morin@codelutin.com</email> - <organization>CodeLutin</organization> - <timezone>+2</timezone> - <roles> - <role>Développeur</role> - </roles> - </developer> + <developer> + <name>Kevin Morin</name> + <id>kmorin</id> + <email>morin@codelutin.com</email> + <organization>CodeLutin</organization> + <timezone>+2</timezone> + <roles> + <role>Développeur</role> + </roles> + </developer> - </developers> + </developers> - <organization> - <name>CodeLutin</name> - <url>http://www.codelutin.com/</url> - </organization> + <organization> + <name>CodeLutin</name> + <url>http://www.codelutin.com/</url> + </organization> - <!-- ************************************************************* --> - <!-- *** Build Environment ************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> - <!-- Build Environment : Environment Information --> + <!-- Build Environment : Environment Information --> - <issueManagement> - <system>redmine</system> - <url>http://nuiton.org/projects/${projectId}/issues</url> - </issueManagement> + <issueManagement> + <system>redmine</system> + <url>http://nuiton.org/projects/${projectId}/issues</url> + </issueManagement> - <ciManagement> - <system>hudson</system> - <url>http://hudson.nuiton.org/hudson/job/${projectId}</url> - </ciManagement> + <ciManagement> + <system>hudson</system> + <url>http://hudson.nuiton.org/hudson/job/${projectId}</url> + </ciManagement> - <!--Any mailing lists for the project--> - <mailingLists> - <mailingList> - <name>${listId}-commits</name> - <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</subscribe> - <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits</unsubscribe> - <post>${listId}-commits@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> - </mailingList> + <!--Any mailing lists for the project--> + <mailingLists> + <mailingList> + <name>${listId}-commits</name> + <subscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits + </subscribe> + <unsubscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits + </unsubscribe> + <post>${listId}-commits@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-commits/</archive> + </mailingList> - <mailingList> - <name>${listId}-devel</name> - <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</subscribe> - <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel</unsubscribe> - <post>${listId}-devel@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> - </mailingList> + <mailingList> + <name>${listId}-devel</name> + <subscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel + </subscribe> + <unsubscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel + </unsubscribe> + <post>${listId}-devel@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-devel/</archive> + </mailingList> - <mailingList> - <name>${listId}-users</name> - <subscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</subscribe> - <unsubscribe>http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users</unsubscribe> - <post>${listId}-users@list.${platform}</post> - <archive>http://list.${platform}/pipermail/${listId}-users/</archive> - </mailingList> - </mailingLists> + <mailingList> + <name>${listId}-users</name> + <subscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users + </subscribe> + <unsubscribe> + http://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users + </unsubscribe> + <post>${listId}-users@list.${platform}</post> + <archive>http://list.${platform}/pipermail/${listId}-users/</archive> + </mailingList> + </mailingLists> - <!-- Source control management. --> - <scm> - <connection>scm:svn:http://svn.nuiton.org/svn/mavenpom/trunk</connection> - <developerConnection>scm:svn:http://svn.nuiton.org/svn/mavenpom/trunk</developerConnection> - <url>http://www.nuiton.org/repositories/browse/mavenpom/trunk</url> - </scm> + <!-- Source control management. --> + <scm> + <connection>scm:svn:http://svn.nuiton.org/svn/mavenpom/trunk</connection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/mavenpom/trunk + </developerConnection> + <url>http://www.nuiton.org/repositories/browse/mavenpom/trunk</url> + </scm> - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> - <properties> + <properties> - <!-- the redmine plateform used (nuiton.org or chorem.org) --> - <platform>nuiton.org</platform> + <!-- the redmine plateform used (nuiton.org or chorem.org) --> + <platform>nuiton.org</platform> - <!-- a proprerty to define the id of the project, in a multi-module - project, you must use a hard-cored value, otherwise for modules - the artifactId will be expanded , otherwise, no need to override it - --> - <projectId>${project.artifactId}</projectId> + <!-- a proprerty to define the id of the project, in a multi-module + project, you must use a hard-cored value, otherwise for modules + the artifactId will be expanded , otherwise, no need to override it + --> + <projectId>${project.artifactId}</projectId> - <!-- a property to define list id --> - <listId>${projectId}</listId> + <!-- a property to define list id --> + <listId>${projectId}</listId> - <!-- default license to use --> - <license.licenseName>lgpl_v3</license.licenseName> + <!-- default license to use --> + <license.licenseName>lgpl_v3</license.licenseName> - <!-- java level is 1.6 --> - <maven.compile.source>1.6</maven.compile.source> - <maven.compile.target>1.6</maven.compile.target> + <!-- java level is 1.6 --> + <maven.compile.source>1.6</maven.compile.source> + <maven.compile.target>1.6</maven.compile.target> - <!-- default encoding --> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <!-- default encoding --> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <!-- by default, use maven 2 source base dir --> - <maven.src.dir>${basedir}/src</maven.src.dir> + <!-- by default, use maven 2 source base dir --> + <maven.src.dir>${basedir}/src</maven.src.dir> - <!-- where to generate sources --> - <maven.gen.dir>${project.build.directory}/generated-sources</maven.gen.dir> + <!-- where to generate sources --> + <maven.gen.dir>${project.build.directory}/generated-sources</maven.gen.dir> - <!-- where to generate test sources --> - <maven.test.gen.dir>${project.build.directory}/generated-test-sources</maven.test.gen.dir> + <!-- where to generate test sources --> + <maven.test.gen.dir>${project.build.directory}/generated-test-sources + </maven.test.gen.dir> - <!-- locales for the site generation, by default only french --> - <!--<maven.site.locales>fr</maven.site.locales>--> - <siteLocales>fr</siteLocales> + <!-- locales for the site generation, by default only french --> + <!--<maven.site.locales>fr</maven.site.locales>--> + <siteLocales>fr</siteLocales> - <!-- default documentation format (if not rst, change it)--> - <siteSourcesType>rst</siteSourcesType> + <!-- default documentation format (if not rst, change it)--> + <siteSourcesType>rst</siteSourcesType> - <!-- scmwebeditor url --> - <scmwebeditorUrl>http://scmwebeditor.nuiton.org/nuiton-scmwebeditor/scmwebeditor</scmwebeditorUrl> + <!-- scmwebeditor url --> + <scmwebeditorUrl>http://scmwebeditor.nuiton.org/nuiton-scmwebeditor/scmwebeditor</scmwebeditorUrl> - <!-- enable or disable scmwebeditor in generated site --> - <scmwebeditorEnabled>true</scmwebeditorEnabled> + <!-- enable or disable scmwebeditor in generated site --> + <scmwebeditorEnabled>true</scmwebeditorEnabled> - <!-- le fichier de license du projet --> - <maven.license.file>${project.basedir}/LICENSE.txt</maven.license.file> + <!-- le fichier de license du projet --> + <maven.license.file>${project.basedir}/LICENSE.txt</maven.license.file> - <!-- to allow bad tests --> - <maven.test.testFailureIgnore>false</maven.test.testFailureIgnore> + <!-- 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 skip tests (can use also profile notests) --> + <maven.test.skip>false</maven.test.skip> - <!-- to control fork mode of tests --> - <maven.test.forkMode>once</maven.test.forkMode> + <!-- to control fork mode of tests --> + <maven.test.forkMode>once</maven.test.forkMode> - <!-- to activate generation of reports and javadoc when doing a site --> - <maven.reports.generate>true</maven.reports.generate> + <!-- to activate generation of reports and javadoc when doing a site --> + <maven.reports.generate>true</maven.reports.generate> - <!-- to activate or not the generation of detail dependencies in site --> - <maven.reports.dependencyDetailsEnabled>true</maven.reports.dependencyDetailsEnabled> + <!-- to activate or not the generation of detail dependencies in site --> + <maven.reports.dependencyDetailsEnabled>true</maven.reports.dependencyDetailsEnabled> - <!-- to activate or not the generation of location detail of dependencies in site --> - <maven.reports.dependencyLocationsEnabled>true</maven.reports.dependencyLocationsEnabled> + <!-- to activate or not the generation of location detail of dependencies in site --> + <maven.reports.dependencyLocationsEnabled>true</maven.reports.dependencyLocationsEnabled> - <!-- pb with 2.6 + doxia-jrst-module + maven-helper-plugin --> - <javadoc.version>2.5</javadoc.version> + <!-- pb with 2.6 + doxia-jrst-module + maven-helper-plugin --> + <javadoc.version>2.5</javadoc.version> - <!-- pour ne pas generer la javadoc --> - <maven.javadoc.skip>false</maven.javadoc.skip> + <!-- pour ne pas generer la javadoc --> + <maven.javadoc.skip>false</maven.javadoc.skip> - <!-- pour modifier la verbosite de la javadoc --> - <maven.javadoc.quiet>true</maven.javadoc.quiet> + <!-- pour modifier la verbosite de la javadoc --> + <maven.javadoc.quiet>true</maven.javadoc.quiet> - <maven.version>2.2.1</maven.version> + <maven.version>2.2.1</maven.version> - <maven-plugin-tools-javadoc.version>2.5.1</maven-plugin-tools-javadoc.version> - <!--<plexus-javadoc.version>1.0</plexus-javadoc.version>--> - <plexus-component-javadoc.version>1.3.0</plexus-component-javadoc.version> + <maven-plugin-tools-javadoc.version>2.5.1</maven-plugin-tools-javadoc.version> + <!--<plexus-javadoc.version>1.0</plexus-javadoc.version>--> + <plexus-component-javadoc.version>1.3.0</plexus-component-javadoc.version> - <helper.version>1.2.3-SNAPSHOT</helper.version> - <jredmine.version>1.1.3</jredmine.version> - <license.version>2.1-SNAPSHOT</license.version> - <jrst.version>1.1.0</jrst.version> - <skin.version>1.0.3</skin.version> + <helper.version>1.2.3-SNAPSHOT</helper.version> + <jredmine.version>1.1.3</jredmine.version> + <license.version>2.1-SNAPSHOT</license.version> + <jrst.version>1.1.0</jrst.version> + <skin.version>1.0.3</skin.version> - <!-- release repository url (to be used in site.xml) --> - <repository.home.url>http://maven.nuiton.org/release</repository.home.url> - </properties> + <!-- release repository url (to be used in site.xml) --> + <repository.home.url>http://maven.nuiton.org/release</repository.home.url> - <packaging>pom</packaging> + <environment-dev>true</environment-dev> + </properties> - <build> + <packaging>pom</packaging> - <!--Ressources--> - <resources> - <resource> - <directory>${maven.src.dir}/main/resources</directory> - <includes> - <include>**/*</include> - </includes> - <excludes> - <exclude>**/*~</exclude> - </excludes> - </resource> - </resources> + <build> - <plugins> + <!--Ressources--> + <resources> + <resource> + <directory>${maven.src.dir}/main/resources</directory> + <includes> + <include>**/*</include> + </includes> + <excludes> + <exclude>**/*~</exclude> + </excludes> + </resource> + </resources> - <plugin> + <plugins> - <artifactId>maven-enforcer-plugin</artifactId> - <executions> - <execution> - <id>check-project-files</id> - <goals> - <goal>enforce</goal> - </goals> - <phase>initialize</phase> - <configuration> - <rules> - <requireFilesExist> - <files> - <file>LICENSE.txt</file> - <file>README.txt</file> - <file>changelog.txt</file> - </files> - </requireFilesExist> - </rules> - <ignoreCache>true</ignoreCache> - <failFast>true</failFast> - <fail>true</fail> + <plugin> - </configuration> - </execution> - </executions> - </plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>check-project-files</id> + <goals> + <goal>enforce</goal> + </goals> + <phase>initialize</phase> + <configuration> + <rules> + <requireFilesExist> + <files> + <file>LICENSE.txt</file> + <file>README.txt</file> + <file>changelog.txt</file> + </files> + </requireFilesExist> + </rules> + <ignoreCache>true</ignoreCache> + <failFast>true</failFast> + <fail>true</fail> - </plugins> + </configuration> + </execution> + </executions> + </plugin> - <pluginManagement> + </plugins> - <plugins> + <pluginManagement> - <plugin> - <artifactId>maven-enforcer-plugin</artifactId> - <version>1.0-beta-1</version> - </plugin> + <plugins> - <plugin> - <artifactId>maven-resources-plugin</artifactId> - <version>2.4.1</version> - <configuration> - <encoding>${project.build.sourceEncoding}</encoding> - </configuration> - </plugin> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.0-beta-1</version> + </plugin> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.2</version> - <configuration> - <source>${maven.compile.source}</source> - <target>${maven.compile.target}</target> - <encoding>${project.build.sourceEncoding}</encoding> - <showDeprecation>true</showDeprecation> - <showWarnings>true</showWarnings> - </configuration> - </plugin> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>2.4.1</version> + <configuration> + <encoding>${project.build.sourceEncoding}</encoding> + </configuration> + </plugin> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.5</version> - <configuration> - <skip>${maven.test.skip}</skip> - <testFailureIgnore>${maven.test.testFailureIgnore} - </testFailureIgnore> - <forkMode>${maven.test.forkMode}</forkMode> - </configuration> - </plugin> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.2</version> + <configuration> + <source>${maven.compile.source}</source> + <target>${maven.compile.target}</target> + <encoding>${project.build.sourceEncoding}</encoding> + <showDeprecation>true</showDeprecation> + <showWarnings>true</showWarnings> + </configuration> + </plugin> - <plugin> - <artifactId>maven-dependency-plugin</artifactId> - <version>2.1</version> - </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.5</version> + <configuration> + <skip>${maven.test.skip}</skip> + <testFailureIgnore>${maven.test.testFailureIgnore} + </testFailureIgnore> + <forkMode>${maven.test.forkMode}</forkMode> + </configuration> + </plugin> - <plugin> - <artifactId>maven-war-plugin</artifactId> - <version>2.1-beta-1</version> - <configuration> - <warSourceDirectory>${maven.src.dir}/main/webapp - </warSourceDirectory> - </configuration> - </plugin> + <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.1</version> + </plugin> - <plugin> - <artifactId>maven-jar-plugin</artifactId> - <version>2.3</version> - <inherited>true</inherited> + <plugin> + <artifactId>maven-war-plugin</artifactId> + <version>2.1-beta-1</version> + <configuration> + <warSourceDirectory>${maven.src.dir}/main/webapp + </warSourceDirectory> + </configuration> + </plugin> - <configuration> - <archive> - <!-- cela fait bugger le chargement des service via - ServiceLoader donc on desactive --> - <!--index>true</index--> - <manifest> - <mainClass>${maven.jar.main.class}</mainClass> - </manifest> - <manifestEntries> - <url>${project.url}</url> - </manifestEntries> - </archive> - </configuration> - </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <version>2.3</version> + <inherited>true</inherited> - <plugin> - <artifactId>maven-source-plugin</artifactId> - <version>2.1.1</version> - </plugin> + <configuration> + <archive> + <!-- cela fait bugger le chargement des service via + ServiceLoader donc on desactive --> + <!--index>true</index--> + <manifest> + <mainClass>${maven.jar.main.class}</mainClass> + </manifest> + <manifestEntries> + <url>${project.url}</url> + </manifestEntries> + </archive> + </configuration> + </plugin> - <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <version>${javadoc.version}</version> - <configuration> - <docencoding>${project.reporting.outputEncoding} - </docencoding> - <encoding>${project.reporting.outputEncoding}</encoding> - <charset>${project.reporting.outputEncoding}</charset> - <quiet>${maven.javadoc.quiet}</quiet> - <skip>${maven.javadoc.skip}</skip> - <links> - <link>http://java.sun.com/javase/6/docs/api/</link> - </links> - <excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames> - <tagletArtifacts> - <tagletArtifact> - <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc</artifactId> - <version>${maven-plugin-tools-javadoc.version}</version> - </tagletArtifact> - <tagletArtifact> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-javadoc</artifactId> - <version>${plexus-component-javadoc.version}</version> - </tagletArtifact> - <!--tagletArtifact> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-javadoc</artifactId> - <version>${plexus-javadoc.version}</version> - </tagletArtifact--> - </tagletArtifacts> - </configuration> - </plugin> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <version>2.1.1</version> + </plugin> - <plugin> - <artifactId>maven-site-plugin</artifactId> - <version>2.1</version> - <configuration> - <inputEncoding>${project.reporting.outputEncoding}</inputEncoding> - <outputEncoding>${project.reporting.outputEncoding}</outputEncoding> - <generateReports>${maven.reports.generate}</generateReports> - <locales>${siteLocales}</locales> - <generateSitemap>true</generateSitemap> - </configuration> - <dependencies> - <dependency> - <groupId>org.nuiton</groupId> - <artifactId>maven-nuiton-skin</artifactId> - <version>${skin.version}</version> - </dependency> - </dependencies> - </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <version>${javadoc.version}</version> + <configuration> + <docencoding>${project.reporting.outputEncoding} + </docencoding> + <encoding>${project.reporting.outputEncoding}</encoding> + <charset>${project.reporting.outputEncoding}</charset> + <quiet>${maven.javadoc.quiet}</quiet> + <skip>${maven.javadoc.skip}</skip> + <links> + <link>http://java.sun.com/javase/6/docs/api/</link> + </links> + <excludePackageNames>${maven.javadoc.excludePackageNames} + </excludePackageNames> + <tagletArtifacts> + <tagletArtifact> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> + </tagletArtifact> + <tagletArtifact> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-javadoc</artifactId> + <version>${plexus-component-javadoc.version}</version> + </tagletArtifact> + <!--tagletArtifact> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-javadoc</artifactId> + <version>${plexus-javadoc.version}</version> + </tagletArtifact--> + </tagletArtifacts> + </configuration> + </plugin> - <plugin> - <artifactId>maven-release-plugin</artifactId> - <version>2.0</version> - <configuration> - <!-- all modules follow the mavenpom version, don't ask it --> - <autoVersionSubmodules>true</autoVersionSubmodules> - <!-- always sign with gpg artifacts in release repository --> - <releaseProfiles>release-sign-artifacts</releaseProfiles> - </configuration> - </plugin> + <plugin> + <artifactId>maven-site-plugin</artifactId> + <version>2.1</version> + <configuration> + <inputEncoding>${project.reporting.outputEncoding}</inputEncoding> + <outputEncoding>${project.reporting.outputEncoding}</outputEncoding> + <generateReports>${maven.reports.generate}</generateReports> + <locales>${siteLocales}</locales> + <generateSitemap>true</generateSitemap> + </configuration> + <dependencies> + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>maven-nuiton-skin</artifactId> + <version>${skin.version}</version> + </dependency> + </dependencies> + </plugin> - <plugin> - <artifactId>maven-plugin-plugin</artifactId> - <version>2.5.1</version> - </plugin> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <version>2.0</version> + <configuration> + <!-- all modules follow the mavenpom version, don't ask it --> + <autoVersionSubmodules>true</autoVersionSubmodules> + <!-- always sign with gpg artifacts in release repository + use --> + <releaseProfiles>release-sign-artifacts</releaseProfiles> + </configuration> + </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.2-beta-5</version> - <dependencies> - <dependency> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <version>${helper.version}</version> - </dependency> - </dependencies> - </plugin> + <plugin> + <artifactId>maven-plugin-plugin</artifactId> + <version>2.5.1</version> + </plugin> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.3</version> - </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.2-beta-5</version> + <dependencies> + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <version>${helper.version}</version> + </dependency> + </dependencies> + </plugin> - <plugin> - <artifactId>maven-clean-plugin</artifactId> - <version>2.4</version> - </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.3</version> + </plugin> - <plugin> - <artifactId>maven-gpg-plugin</artifactId> - <version>1.0</version> - </plugin> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <version>2.4</version> + </plugin> - <plugin> - <groupId>org.nuiton.thirdparty</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <version>1.0-alpha-2-cl_20091001</version> - <configuration> + <plugin> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.0</version> + </plugin> - <libPath>lib</libPath> - <makeArchive>false</makeArchive> - <verbose>false</verbose> + <plugin> + <groupId>org.nuiton.thirdparty</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <version>1.0-alpha-2-cl_20091001</version> + <configuration> - <jnlp> - <mainClass>${maven.jar.main.class}</mainClass> - <allPermissions>true</allPermissions> - <offlineAllowed>true</offlineAllowed> - </jnlp> - <sign> - <keystore>${keystorepath}</keystore> - <storepass>${keystorepass}</storepass> - <alias>${keyalias}</alias> - <keypass>${keypass}</keypass> - <verify>true</verify> - <keystoreConfig> - <delete>false</delete> - <gen>false</gen> - </keystoreConfig> - </sign> + <libPath>lib</libPath> + <makeArchive>false</makeArchive> + <verbose>false</verbose> - </configuration> - </plugin> + <jnlp> + <mainClass>${maven.jar.main.class}</mainClass> + <allPermissions>true</allPermissions> + <offlineAllowed>true</offlineAllowed> + </jnlp> + <sign> + <keystore>${keystorepath}</keystore> + <storepass>${keystorepass}</storepass> + <alias>${keyalias}</alias> + <keypass>${keypass}</keypass> + <verify>true</verify> + <keystoreConfig> + <delete>false</delete> + <gen>false</gen> + </keystoreConfig> + </sign> - <plugin> - <artifactId>maven-invoker-plugin</artifactId> - <version>1.5</version> - </plugin> + </configuration> + </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <version>1.1.1</version> - </plugin> + <plugin> + <artifactId>maven-invoker-plugin</artifactId> + <version>1.5</version> + </plugin> - <plugin> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-metadata</artifactId> - <version>1.5.2</version> - </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.1.1</version> + </plugin> - <plugin> - <groupId>org.mortbay.jetty</groupId> - <artifactId>maven-jetty-plugin</artifactId> - <version>6.1.22</version> - </plugin> + <plugin> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-metadata</artifactId> + <version>1.5.2</version> + </plugin> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <version>${helper.version}</version> - </plugin> + <plugin> + <groupId>org.mortbay.jetty</groupId> + <artifactId>maven-jetty-plugin</artifactId> + <version>6.1.22</version> + </plugin> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <version>${jredmine.version}</version> - </plugin> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <version>${helper.version}</version> + </plugin> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-license-plugin</artifactId> - <version>${license.version}</version> - </plugin> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <version>${jredmine.version}</version> + </plugin> - </plugins> - </pluginManagement> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-license-plugin</artifactId> + <version>${license.version}</version> + </plugin> - </build> + </plugins> + </pluginManagement> - <!--Site--> - <reporting> - <plugins> + </build> - <!-- - The Project Info Reports Plugin has twelve goals: - see http://maven.apache.org/plugins/maven-project-info-reports-plugin - --> - <plugin> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>2.1.2</version> - <configuration> - <dependencyDetailsEnabled>${maven.reports.dependencyDetailsEnabled}</dependencyDetailsEnabled> - <dependencyLocationsEnabled>${maven.reports.dependencyLocationsEnabled}</dependencyLocationsEnabled> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>project-team</report> - <report>mailing-list</report> - <report>cim</report> - <report>issue-tracking</report> - <report>license</report> - <report>scm</report> - <report>dependencies</report> - <report>dependency-convergence</report> - <report>plugin-management</report> - <report>plugins</report> - <report>dependency-management</report> - <report>summary</report> - </reports> - </reportSet> - </reportSets> - </plugin> + <!--Site--> + <reporting> + <plugins> - <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <version>${javadoc.version}</version> - <configuration> - <docencoding>${project.build.sourceEncoding}</docencoding> - <encoding>${project.build.sourceEncoding}</encoding> - <charset>${project.reporting.outputEncoding}</charset> - <quiet>${maven.javadoc.quiet}</quiet> - <skip>${maven.javadoc.skip}</skip> - <links> - <link>http://java.sun.com/javase/6/docs/api/</link> - </links> - <excludePackageNames>${maven.javadoc.excludePackageNames}</excludePackageNames> - <tagletArtifacts> - <tagletArtifact> - <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-tools-javadoc</artifactId> - <version>${maven-plugin-tools-javadoc.version}</version> - </tagletArtifact> - <tagletArtifact> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-javadoc</artifactId> - <version>${plexus-component-javadoc.version}</version> - </tagletArtifact> - <!--tagletArtifact> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-javadoc</artifactId> - <version>${plexus-javadoc.version}</version> - </tagletArtifact--> - </tagletArtifacts> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>javadoc</report> - <report>test-javadoc</report> - </reports> - </reportSet> - </reportSets> - </plugin> + <!-- + The Project Info Reports Plugin has twelve goals: + see http://maven.apache.org/plugins/maven-project-info-reports-plugin + --> + <plugin> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.1.2</version> + <configuration> + <dependencyDetailsEnabled>${maven.reports.dependencyDetailsEnabled}</dependencyDetailsEnabled> + <dependencyLocationsEnabled>${maven.reports.dependencyLocationsEnabled}</dependencyLocationsEnabled> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>project-team</report> + <report>mailing-list</report> + <report>cim</report> + <report>issue-tracking</report> + <report>license</report> + <report>scm</report> + <report>dependencies</report> + <report>dependency-convergence</report> + <report>plugin-management</report> + <report>plugins</report> + <report>dependency-management</report> + <report>summary</report> + </reports> + </reportSet> + </reportSets> + </plugin> - <!-- changelog:changelog - changelog:dev-activity - changelog:file-activity --> - <!--FIXME : TC-20090816 : there is a bug with fileactivity - in report, trunk url are prefix with tag/xxx-releaseNumber !--> - <plugin> - <artifactId>maven-changelog-plugin</artifactId> - <version>2.1</version> - <!--configuration> - <displayFileDetailUrl>http://svn.${platform}/svn/${projectId}%FILE%</displayFileDetailUrl> - </configuration--> - </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <version>${javadoc.version}</version> + <configuration> + <docencoding>${project.build.sourceEncoding}</docencoding> + <encoding>${project.build.sourceEncoding}</encoding> + <charset>${project.reporting.outputEncoding}</charset> + <quiet>${maven.javadoc.quiet}</quiet> + <skip>${maven.javadoc.skip}</skip> + <links> + <link>http://java.sun.com/javase/6/docs/api/</link> + </links> + <excludePackageNames>${maven.javadoc.excludePackageNames} + </excludePackageNames> + <tagletArtifacts> + <tagletArtifact> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-tools-javadoc</artifactId> + <version>${maven-plugin-tools-javadoc.version}</version> + </tagletArtifact> + <tagletArtifact> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-javadoc</artifactId> + <version>${plexus-component-javadoc.version}</version> + </tagletArtifact> + <!--tagletArtifact> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-javadoc</artifactId> + <version>${plexus-javadoc.version}</version> + </tagletArtifact--> + </tagletArtifacts> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>javadoc</report> + <report>test-javadoc</report> + </reports> + </reportSet> + </reportSets> + </plugin> - <plugin> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.5</version> - <configuration> - <encoding>${project.reporting.outputEncoding}</encoding> - </configuration> - </plugin> + <!-- changelog:changelog + changelog:dev-activity + changelog:file-activity --> + <!--FIXME : TC-20090816 : there is a bug with fileactivity +in report, trunk url are prefix with tag/xxx-releaseNumber !--> + <plugin> + <artifactId>maven-changelog-plugin</artifactId> + <version>2.1</version> + <!--configuration> + <displayFileDetailUrl>http://svn.${platform}/svn/${projectId}%FILE%</displayFileDetailUrl> + </configuration--> + </plugin> - <plugin> - <artifactId>maven-pmd-plugin</artifactId> - <version>2.4</version> - <configuration> - <linkXRef>true</linkXRef> - <sourceEncoding>${project.reporting.outputEncoding}</sourceEncoding> - <minimumTokens>100</minimumTokens> - <targetJdk>${maven.compile.target}</targetJdk> - </configuration> + <plugin> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.5</version> + <configuration> + <encoding>${project.reporting.outputEncoding}</encoding> + </configuration> + </plugin> - </plugin> + <plugin> + <artifactId>maven-pmd-plugin</artifactId> + <version>2.4</version> + <configuration> + <linkXRef>true</linkXRef> + <sourceEncoding>${project.reporting.outputEncoding}</sourceEncoding> + <minimumTokens>100</minimumTokens> + <targetJdk>${maven.compile.target}</targetJdk> + </configuration> - <plugin> - <artifactId>maven-jxr-plugin</artifactId> - <version>2.1</version> - </plugin> + </plugin> - <plugin> - <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.5</version> - </plugin> + <plugin> + <artifactId>maven-jxr-plugin</artifactId> + <version>2.1</version> + </plugin> - <!-- a voir si on le garde car hudson le fait aussi ? --> - <!--plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.3</version> - </plugin--> + <plugin> + <artifactId>maven-surefire-report-plugin</artifactId> + <version>2.5</version> + </plugin> - <!-- a tester si c'est viable sur du multi-module --> - <!-- il y a une version 2.1 voir pour la conf car sans conf ca plante --> - <!--plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>1.2</version> - </plugin--> + <!-- a voir si on le garde car hudson le fait aussi ? --> + <!--plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.3</version> + </plugin--> - </plugins> - </reporting> + <!-- a tester si c'est viable sur du multi-module --> + <!-- il y a une version 2.1 voir pour la conf car sans conf ca plante --> + <!--plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>1.2</version> + </plugin--> - <!-- ************************************************************* --> - <!-- *** Maven Environment *************************************** --> - <!-- ************************************************************* --> + </plugins> + </reporting> - <!-- prerequisites --> - <prerequisites> - <maven>2.1.0</maven> - </prerequisites> + <!-- ************************************************************* --> + <!-- *** Maven Environment *************************************** --> + <!-- ************************************************************* --> - <!--Distribution--> - <distributionManagement> - <repository> - <id>nuiton</id> - <url>scpexe://nuiton.org/var/lib/maven/release</url> - </repository> - <snapshotRepository> - <id>nuiton</id> - <url>scpexe://nuiton.org/var/lib/maven/snapshot</url> - </snapshotRepository> - <site> - <id>nuiton</id> - <url>scpexe://nuiton.org/var/lib/redmine-${platform}/project-site/${projectId}</url> - </site> - </distributionManagement> + <!-- prerequisites --> + <prerequisites> + <maven>2.1.0</maven> + </prerequisites> - <!-- Maven Environment : profiles --> - <profiles> + <!--Distribution--> + <distributionManagement> + <repository> + <id>nuiton</id> + <url>scpexe://nuiton.org/var/lib/maven/release</url> + </repository> + <snapshotRepository> + <id>nuiton</id> + <url>scpexe://nuiton.org/var/lib/maven/snapshot</url> + </snapshotRepository> + <site> + <id>nuiton</id> + <url> + scpexe://nuiton.org/var/lib/redmine-${platform}/project-site/${projectId} + </url> + </site> + </distributionManagement> - <!-- do not execute tests (generaly a bad idea...) --> - <profile> - <id>notests</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <maven.test.skip>true</maven.test.skip> - </properties> - </profile> - <!-- do not build reports (speedup site generation in dev) --> - <profile> - <id>noreports</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <maven.reports.generate>false</maven.reports.generate> - </properties> - </profile> + <!-- Maven Environment : profiles --> + <profiles> - <!-- do not build dependencies detail in maven-project-info-report (speedup site generation in dev) --> - <profile> - <id>nodepdetails</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <maven.reports.dependencyDetailsEnabled>false</maven.reports.dependencyDetailsEnabled> - </properties> - </profile> - <!-- do not build locations of dependencies in maven-project-info-report (speedup site generation in dev) --> - <profile> - <id>nodeplocations</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <maven.reports.dependencyLocationsEnabled>false</maven.reports.dependencyLocationsEnabled> - </properties> - </profile> + <!-- do not execute tests (generaly a bad idea...) --> + <profile> + <id>notests</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <properties> + <maven.test.skip>true</maven.test.skip> + </properties> + </profile> + <!-- do not build reports (speedup site generation in dev) --> + <profile> + <id>noreports</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <properties> + <maven.reports.generate>false</maven.reports.generate> + </properties> + </profile> - <!-- perform only on a release stage when using the maven-release-plugin --> - <profile> - <id>release-profile</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - <build> + <!-- do not build dependencies detail in maven-project-info-report (speedup site generation in dev) --> + <profile> + <id>nodepdetails</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <properties> + <maven.reports.dependencyDetailsEnabled>false</maven.reports.dependencyDetailsEnabled> + </properties> + </profile> + <!-- do not build locations of dependencies in maven-project-info-report (speedup site generation in dev) --> + <profile> + <id>nodeplocations</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <properties> + <maven.reports.dependencyLocationsEnabled>false</maven.reports.dependencyLocationsEnabled> + </properties> + </profile> - <plugins> + <!-- 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> - <!-- always compute source jar --> - <plugin> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> + <plugins> - <!-- always compute javadoc jar --> - <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <executions> - <execution> - <id>attach-javadocs</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> + <!-- always compute source jar --> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> - <!-- add license and third-party files to build --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-license-plugin</artifactId> - <executions> - <execution> - <id>attach-licenses</id> - <goals> - <goal>add-license</goal> - <goal>add-third-party</goal> - </goals> - </execution> - </executions> - </plugin> + <!-- always compute javadoc jar --> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> - <plugin> - <artifactId>maven-enforcer-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>enforce</goal> - </goals> - <id>ensure-no-container-api</id> - <configuration> - <rules> - <bannedDependencies> - <excludes> - <exclude>org.codehaus.plexus:plexus-component-api</exclude> - </excludes> - <message>The new containers are not supported. You probably added a - dependency that is missing the exclusions. - </message> - </bannedDependencies> - </rules> - <fail>true</fail> - </configuration> - </execution> - </executions> - </plugin> + <!-- add license and third-party files to build --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-license-plugin</artifactId> + <executions> + <execution> + <id>attach-licenses</id> + <goals> + <goal>add-license</goal> + <goal>add-third-party</goal> + </goals> + </execution> + </executions> + </plugin> - </plugins> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>enforce</goal> + </goals> + <id>ensure-no-container-api</id> + <configuration> + <rules> + <bannedDependencies> + <excludes> + <exclude>org.codehaus.plexus:plexus-component-api + </exclude> + </excludes> + <message>The new containers are not supported. You + probably added a + dependency that is missing the exclusions. + </message> + </bannedDependencies> + </rules> + <fail>true</fail> + </configuration> + </execution> + </executions> + </plugin> - </build> - </profile> + </plugins> - <profile> - <id>release-sign-artifacts</id> - <activation> - <property> - <name>performSign</name> - <value>true</value> - </property> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-pgp-passphrase</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>verify</phase> - <configuration> - <serverId>gpg-signer</serverId> - <usernameOut>gpg.keyname</usernameOut> - <passwordOut>gpg.passphrase</passwordOut> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> + </build> + </profile> - <!-- use this plugin to run the main class --> - <profile> - <id>run</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <build> - <defaultGoal>package</defaultGoal> - <plugins> - <plugin> - <artifactId>maven-enforcer-plugin</artifactId> - <executions> - <execution> - <id>check-run</id> - <goals> - <goal>enforce</goal> - </goals> - <phase>initialize</phase> - <configuration> - <rules> - <requireProperty> - <property>maven.jar.main.class</property> - <message>Could not find the "maven.jar.main.class" required property, use - -Dmaven.jar.main.class=your.main.class.fqn - </message> - </requireProperty> - </rules> - <ignoreCache>true</ignoreCache> - <failFast>true</failFast> - <fail>true</fail> + <profile> + <id>release-sign-artifacts</id> + <activation> + <property> + <name>performSign</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-pgp-passphrase</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>verify</phase> + <configuration> + <serverId>gpg-signer</serverId> + <usernameOut>gpg.keyname</usernameOut> + <passwordOut>gpg.passphrase</passwordOut> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> - </configuration> - </execution> - </executions> - </plugin> + <!-- use this plugin to run the main class --> + <profile> + <id>run</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <defaultGoal>package</defaultGoal> + <plugins> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>check-run</id> + <goals> + <goal>enforce</goal> + </goals> + <phase>initialize</phase> + <configuration> + <rules> + <requireProperty> + <property>maven.jar.main.class</property> + <message>Could not find the "maven.jar.main.class" + required property, use + -Dmaven.jar.main.class=your.main.class.fqn + </message> + </requireProperty> + </rules> + <ignoreCache>true</ignoreCache> + <failFast>true</failFast> + <fail>true</fail> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <executions> - <execution> - <id>run</id> - <goals> - <goal>java</goal> - </goals> - <phase>compile</phase> - <configuration> - <mainClass>${maven.jar.main.class}</mainClass> - <classpathScope>runtime</classpathScope> - </configuration> - </execution> - </executions> - </plugin> + </configuration> + </execution> + </executions> + </plugin> - </plugins> - </build> - <properties> - <exec.mainClass>${maven.jar.main.class}</exec.mainClass> - <exec.classpathScope>runtime</exec.classpathScope> - </properties> - </profile> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <executions> + <execution> + <id>run</id> + <goals> + <goal>java</goal> + </goals> + <phase>compile</phase> + <configuration> + <mainClass>${maven.jar.main.class}</mainClass> + <classpathScope>runtime</classpathScope> + </configuration> + </execution> + </executions> + </plugin> - <!-- ce plugin permet de deployer un site en local --> - <profile> - <id>staging-site-profile</id> - <activation> - <property> - <name>stagingSite</name> - <value>true</value> - </property> - </activation> - <properties> - <stagingUrl>scpexe://localhost/var/www/maven-staging-site</stagingUrl> - </properties> - <distributionManagement> - <site> - <id>staging-site</id> - <url>${stagingUrl}</url> - </site> - </distributionManagement> - </profile> + </plugins> + </build> + <properties> + <exec.mainClass>${maven.jar.main.class}</exec.mainClass> + <exec.classpathScope>runtime</exec.classpathScope> + </properties> + </profile> - <!-- ce profile permet de generer les entetes de licenses pour les - fichiers java --> - <profile> - <id>update-java-header</id> - <activation> - <property> - <name>updateJavaHeader</name> - <value>true</value> - </property> - </activation> - <build> - <defaultGoal>process-resources</defaultGoal> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-license-plugin</artifactId> - <executions> - <execution> - <id>update-java-header</id> - <goals> - <goal>update-header</goal> - </goals> - <phase>process-resources</phase> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> + <!-- ce plugin permet de deployer un site en local --> + <profile> + <id>staging-site-profile</id> + <activation> + <property> + <name>stagingSite</name> + <value>true</value> + </property> + </activation> + <properties> + <stagingUrl>scpexe://localhost/var/www/maven-staging-site</stagingUrl> + </properties> + <distributionManagement> + <site> + <id>staging-site</id> + <url>${stagingUrl}</url> + </site> + </distributionManagement> + </profile> - <!-- ce profile permet de generer les entetes de licenses pour les - fichiers JAXX --> - <profile> - <id>update-jaxx-header</id> - <activation> - <property> - <name>updateJaxxHeader</name> - <value>true</value> - </property> - </activation> - <build> - <defaultGoal>process-resources</defaultGoal> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-license-plugin</artifactId> - <executions> - <execution> - <id>update-jaxx-header</id> - <goals> - <goal>update-header</goal> - </goals> - <phase>process-resources</phase> - <configuration> - <generatorName>license-xml</generatorName> - <includes>**/*.jaxx</includes> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> + <!-- ce profile permet de generer les entetes de licenses pour les + fichiers java --> + <profile> + <id>update-java-header</id> + <activation> + <property> + <name>updateJavaHeader</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>process-resources</defaultGoal> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-license-plugin</artifactId> + <executions> + <execution> + <id>update-java-header</id> + <goals> + <goal>update-header</goal> + </goals> + <phase>process-resources</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> - <!-- ce profile permet de generer les entetes de licenses pour les - fichiers css JAXX --> - <profile> - <id>update-jaxx-css-header</id> - <activation> - <property> - <name>updateJaxxCssHeader</name> - <value>true</value> - </property> - </activation> - <build> - <defaultGoal>process-resources</defaultGoal> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-license-plugin</artifactId> - <executions> - <execution> - <id>update-jaxx-css-header</id> - <goals> - <goal>update-header</goal> - </goals> - <phase>process-resources</phase> - <configuration> - <generatorName>license-java</generatorName> - <includes>**/*.css</includes> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> + <!-- ce profile permet de generer les entetes de licenses pour les + fichiers JAXX --> + <profile> + <id>update-jaxx-header</id> + <activation> + <property> + <name>updateJaxxHeader</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>process-resources</defaultGoal> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-license-plugin</artifactId> + <executions> + <execution> + <id>update-jaxx-header</id> + <goals> + <goal>update-header</goal> + </goals> + <phase>process-resources</phase> + <configuration> + <generatorName>license-xml</generatorName> + <includes>**/*.jaxx</includes> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> - <!-- ce profile permet de generer les entetes de licenses pour les - fichiers properties --> - <profile> - <id>update-properties-header</id> - <activation> - <property> - <name>updatePropertiesHeader</name> - <value>true</value> - </property> - </activation> - <build> - <defaultGoal>process-resources</defaultGoal> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-license-plugin</artifactId> - <executions> - <execution> - <id>update-properties-header</id> - <goals> - <goal>update-header</goal> - </goals> - <phase>process-resources</phase> - <configuration> - <generatorName>license-properties</generatorName> - <compileSourceRoots>${basedir}/src/main/resources</compileSourceRoots> - <testSourceRoots>${basedir}/src/test/resources</testSourceRoots> - <includes>**/*.properties</includes> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> + <!-- ce profile permet de generer les entetes de licenses pour les + fichiers css JAXX --> + <profile> + <id>update-jaxx-css-header</id> + <activation> + <property> + <name>updateJaxxCssHeader</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>process-resources</defaultGoal> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-license-plugin</artifactId> + <executions> + <execution> + <id>update-jaxx-css-header</id> + <goals> + <goal>update-header</goal> + </goals> + <phase>process-resources</phase> + <configuration> + <generatorName>license-java</generatorName> + <includes>**/*.css</includes> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> - <profile> - <id>update-site-header</id> - <activation> - <property> - <name>updateSiteHeader</name> - <value>true</value> - </property> - </activation> - <build> - <defaultGoal>process-resources</defaultGoal> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-license-plugin</artifactId> - <executions> - <execution> - <id>update-site-xml-header</id> - <goals> - <goal>update-header</goal> - </goals> - <phase>process-resources</phase> - <configuration> - <compileSourceRoots>${basedir}/src/site - </compileSourceRoots> - <generatorName>license-xml</generatorName> - <includes>**/*.xml</includes> - </configuration> - </execution> - <execution> - <id>update-site-apt-header</id> - <goals> - <goal>update-header</goal> - </goals> - <phase>process-resources</phase> - <configuration> - <compileSourceRoots>${basedir}/src/site - </compileSourceRoots> - <generatorName>license-apt</generatorName> - <includes>**/*.apt</includes> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> + <!-- ce profile permet de generer les entetes de licenses pour les + fichiers properties --> + <profile> + <id>update-properties-header</id> + <activation> + <property> + <name>updatePropertiesHeader</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>process-resources</defaultGoal> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-license-plugin</artifactId> + <executions> + <execution> + <id>update-properties-header</id> + <goals> + <goal>update-header</goal> + </goals> + <phase>process-resources</phase> + <configuration> + <generatorName>license-properties</generatorName> + <compileSourceRoots>${basedir}/src/main/resources</compileSourceRoots> + <testSourceRoots>${basedir}/src/test/resources</testSourceRoots> + <includes>**/*.properties</includes> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> - <!-- just add to build the webstart --> - <profile> - <id>webstart-profile</id> - <activation> - <property> - <name>doWebstart</name> - <value>true</value> - </property> - </activation> - <build> - <plugins> + <profile> + <id>update-site-header</id> + <activation> + <property> + <name>updateSiteHeader</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>process-resources</defaultGoal> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-license-plugin</artifactId> + <executions> + <execution> + <id>update-site-xml-header</id> + <goals> + <goal>update-header</goal> + </goals> + <phase>process-resources</phase> + <configuration> + <compileSourceRoots>${basedir}/src/site</compileSourceRoots> + <generatorName>license-xml</generatorName> + <includes>**/*.xml</includes> + </configuration> + </execution> + <execution> + <id>update-site-apt-header</id> + <goals> + <goal>update-header</goal> + </goals> + <phase>process-resources</phase> + <configuration> + <compileSourceRoots>${basedir}/src/site</compileSourceRoots> + <generatorName>license-apt</generatorName> + <includes>**/*.apt</includes> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-keystore</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>package</phase> - <configuration> - <serverId>codelutin-keystore</serverId> - <privateKeyOut>keystorepath</privateKeyOut> - <passwordOut>keystorepass</passwordOut> - <usernameOut>keyalias</usernameOut> - <passphraseOut>keypass</passphraseOut> - </configuration> - </execution> - </executions> - </plugin> + <!-- just add to build the webstart --> + <profile> + <id>webstart-profile</id> + <activation> + <property> + <name>doWebstart</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> - <plugin> - <groupId>org.nuiton.thirdparty</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <executions> - <execution> - <id>generate-jnlp</id> - <phase>package</phase> - <goals> - <goal>jnlp-inline</goal> - </goals> - </execution> - </executions> - </plugin> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-keystore</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>package</phase> + <configuration> + <serverId>codelutin-keystore</serverId> + <privateKeyOut>keystorepath</privateKeyOut> + <passwordOut>keystorepass</passwordOut> + <usernameOut>keyalias</usernameOut> + <passphraseOut>keypass</passphraseOut> + </configuration> + </execution> + </executions> + </plugin> - </plugins> - </build> - </profile> + <plugin> + <groupId>org.nuiton.thirdparty</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <executions> + <execution> + <id>generate-jnlp</id> + <phase>package</phase> + <goals> + <goal>jnlp-inline</goal> + </goals> + </execution> + </executions> + </plugin> - <!-- just add to buil the local webstart (codebase will be in target/jnlp) --> - <profile> - <id>local-webstart-profile</id> - <activation> - <property> - <name>doLocalWebstart</name> - <value>true</value> - </property> - </activation> - <properties> - <jnlp.codebase>file://${project.build.directory}/jnlp</jnlp.codebase> - </properties> - <build> - <plugins> + </plugins> + </build> + </profile> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-keystore</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>package</phase> - <configuration> - <serverId>codelutin-keystore</serverId> - <privateKeyOut>keystorepath</privateKeyOut> - <passwordOut>keystorepass</passwordOut> - <usernameOut>keyalias</usernameOut> - <passphraseOut>keypass</passphraseOut> - </configuration> - </execution> - </executions> - </plugin> + <!-- just add to buil the local webstart (codebase will be in target/jnlp) --> + <profile> + <id>local-webstart-profile</id> + <activation> + <property> + <name>doLocalWebstart</name> + <value>true</value> + </property> + </activation> + <properties> + <jnlp.codebase>file://${project.build.directory}/jnlp</jnlp.codebase> + </properties> + <build> + <plugins> - <plugin> - <groupId>org.nuiton.thirdparty</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <executions> - <execution> - <id>generate-jnlp-local</id> - <phase>package</phase> - <goals> - <goal>jnlp-inline</goal> - </goals> - </execution> - </executions> - </plugin> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-keystore</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>package</phase> + <configuration> + <serverId>codelutin-keystore</serverId> + <privateKeyOut>keystorepath</privateKeyOut> + <passwordOut>keystorepass</passwordOut> + <usernameOut>keyalias</usernameOut> + <passphraseOut>keypass</passphraseOut> + </configuration> + </execution> + </executions> + </plugin> - </plugins> - </build> - </profile> + <plugin> + <groupId>org.nuiton.thirdparty</groupId> + <artifactId>webstart-maven-plugin</artifactId> + <executions> + <execution> + <id>generate-jnlp-local</id> + <phase>package</phase> + <goals> + <goal>jnlp-inline</goal> + </goals> + </execution> + </executions> + </plugin> - <!-- ce profile est dedie uniquement a mavenpom pour faire des releases - pour corriger les url de deployements qui marcheront pour tous les - poms héritant de mavenpom, mais pas pour mavenpom lui-même... - - Lors d'une release, il faut donc faire : - - mvn release:perform -Dinternal + </plugins> + </build> + </profile> - ou - - mvn release:perform -Pinternal - --> - <profile> - <id>internal</id> - <activation> - <property> - <name>internal</name> - <value>true</value> - </property> - </activation> - <properties> + <!-- ce profile est dedie uniquement a mavenpom pour faire des releases + pour corriger les url de deployements qui marcheront pour tous les + poms héritant de mavenpom, mais pas pour mavenpom lui-même... - <projectId>mavenpom</projectId> - <!-- TODO use this when english documentation will be ok --> - <siteLocales>fr,en</siteLocales> - <siteSourcesType>apt</siteSourcesType> + Lors d'une release, il faut donc faire : - <!-- must fail if redmine actions failed --> - <redmine.safe>true</redmine.safe> + mvn release:perform -Dinternal - <!-- redmine configuration --> - <redmine.url>http://www.${platform}</redmine.url> - <redmine.projectId>${projectId}</redmine.projectId> - <redmine.xmlPath>${maven.gen.dir}/changes/changes.xml</redmine.xmlPath> - <redmine.collectedArtifacts>target/collect-artifacts.txt</redmine.collectedArtifacts> - <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> - <!-- extra files to include in release --> - <redmine.releaseFiles /> + ou - </properties> + mvn release:perform -Pinternal + --> + <profile> + <id>internal</id> + <activation> + <property> + <name>internal</name> + <value>true</value> + </property> + </activation> + <properties> - <build> - <pluginManagement> - <plugins> + <projectId>mavenpom</projectId> + <siteLocales>fr,en</siteLocales> + <siteSourcesType>apt</siteSourcesType> - <plugin> - <artifactId>maven-release-plugin</artifactId> - <configuration> - <!-- activate this profile while doing release:prepare --> - <prepareVerifyArgs>-Dinternal</prepareVerifyArgs> - <!-- activate this profile while doing release:perform --> - <releaseProfiles>internal,release-sign-artifacts</releaseProfiles> - </configuration> - </plugin> + <!-- must fail if redmine actions failed --> + <redmine.safe>true</redmine.safe> - </plugins> - </pluginManagement> + <!-- redmine configuration --> + <redmine.url>http://www.${platform}</redmine.url> + <redmine.projectId>${projectId}</redmine.projectId> + <redmine.xmlPath>${maven.gen.dir}/changes/changes.xml</redmine.xmlPath> + <redmine.collectedArtifacts>target/collect-artifacts.txt</redmine.collectedArtifacts> + <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> + <!-- extra files to include in release --> + <redmine.releaseFiles/> - <plugins> + </properties> - <!-- - - obtain redmine login (for both cycle default and site) - - collect artifacts files - - collect attachments files - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>initialize</phase> - <inherited>false</inherited> - <configuration> - <serverId>redmine-nuiton.org</serverId> - <usernameOut>redmine.username</usernameOut> - <!-- TC-20100124 just expose username, no need - password --> - <!--<passwordOut>redmine.password</passwordOut>--> - </configuration> - </execution> - <execution> - <id>collect-build-artifacts</id> - <goals> - <goal>collect-files</goal> - </goals> - <phase>install</phase> - <configuration> - <descriptionFile>${redmine.collectedArtifacts}</descriptionFile> - <includeAttached>true</includeAttached> - <includeSiteAttached>true</includeSiteAttached> - <copyFiles>true</copyFiles> - </configuration> - </execution> - </executions> - </plugin> + <build> + <pluginManagement> + <plugins> - <!-- generate the changes.xml from redmine --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-generate-changes</id> - <goals> - <goal>generate-changes</goal> - </goals> - <!-- use this phase to avoid multi-invocations --> - <phase>process-classes</phase> - </execution> - </executions> - <configuration> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <!-- activate this profile while doing release:prepare --> + <prepareVerifyArgs>-Dinternal</prepareVerifyArgs> + <!-- activate this profile while doing release:perform --> + <releaseProfiles>internal,release-sign-artifacts</releaseProfiles> + </configuration> + </plugin> - <generateOnce>true</generateOnce> - <actionMapping>fix:1, add:2</actionMapping> - <statusIds>3,4,5</statusIds> + </plugins> + </pluginManagement> - </configuration> - </plugin> + <plugins> - </plugins> - </build> + <!-- + - obtain redmine login (for both cycle default and site) + - collect artifacts files + - collect attachments files + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>initialize</phase> + <inherited>false</inherited> + <configuration> + <serverId>redmine-nuiton.org</serverId> + <usernameOut>redmine.username</usernameOut> + <!-- TC-20100124 just expose username, no need + password --> + <!--<passwordOut>redmine.password</passwordOut>--> + </configuration> + </execution> + <execution> + <id>collect-build-artifacts</id> + <goals> + <goal>collect-files</goal> + </goals> + <phase>install</phase> + <configuration> + <descriptionFile>${redmine.collectedArtifacts}</descriptionFile> + <includeAttached>true</includeAttached> + <includeSiteAttached>true</includeSiteAttached> + <copyFiles>true</copyFiles> + </configuration> + </execution> + </executions> + </plugin> - <reporting> - <plugins> + <!-- generate the changes.xml from redmine --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-generate-changes</id> + <goals> + <goal>generate-changes</goal> + </goals> + <!-- use this phase to avoid multi-invocations --> + <phase>process-classes</phase> + </execution> + </executions> + <configuration> - <plugin> - <artifactId>maven-changes-plugin</artifactId> - <version>2.3</version> - <configuration> - <issueLinkTemplatePerSystem> - <redmine>${redmine.issueLinkTemplate}</redmine> - </issueLinkTemplatePerSystem> - <xmlPath>${redmine.xmlPath}</xmlPath> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> + <generateOnce>true</generateOnce> + <actionMapping>fix:1, add:2</actionMapping> + <statusIds>3,4,5</statusIds> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <version>${jredmine.version}</version> - <configuration> - <columnNames> - key,summary,status,assignee,tracker,priority,version,category,createdOn - </columnNames> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>issues-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> + </configuration> + </plugin> - </plugins> - </reporting> + </plugins> + </build> - </profile> + <reporting> + <plugins> - <!-- - - --> - <profile> - <id>internalRedminePreRelease</id> - <activation> - <property> - <name>internalRedminePreRelease</name> - <value>true</value> - </property> - </activation> + <plugin> + <artifactId>maven-changes-plugin</artifactId> + <version>2.3</version> + <configuration> + <issueLinkTemplatePerSystem> + <redmine>${redmine.issueLinkTemplate}</redmine> + </issueLinkTemplatePerSystem> + <xmlPath>${redmine.xmlPath}</xmlPath> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>changes-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> - <properties> - <!-- always force user to add -DdryRun to perform redmine actions --> - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - </properties> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <version>${jredmine.version}</version> + <configuration> + <columnNames> + key,summary,status,assignee,tracker,priority,version,category,createdOn + </columnNames> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>issues-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> - <build> + </plugins> + </reporting> - <defaultGoal>generate-sources</defaultGoal> + </profile> - <plugins> - <!-- - - obtain redmine login - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> - </execution> + <!-- - </executions> - </plugin> - <!-- - - upload attachments - - generate the changes.xml from redmine - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-pre-release</id> - <goals> - <goal>publish-attachments</goal> - <goal>generate-news-announcement</goal> - <goal>generate-email-announcement</goal> - </goals> - <phase>generate-sources</phase> - <inherited>false</inherited> - <configuration> + --> + <profile> + <id>internalRedminePreRelease</id> + <activation> + <property> + <name>internalRedminePreRelease</name> + <value>true</value> + </property> + </activation> - <!-- publish-attachments --> - <filesFromProperties>${redmine.collectedAttachments}</filesFromProperties> + <properties> + <!-- always force user to add -DdryRun to perform redmine actions --> + <dryRun>true</dryRun> + <redmine.dryRun>${dryRun}</redmine.dryRun> + </properties> - <!-- generate announcements --> - <urlDownload>${redmine.url}/projects/list_files/${projectId}</urlDownload> - <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> + <build> - </configuration> - </execution> - </executions> + <defaultGoal>generate-sources</defaultGoal> - </plugin> + <plugins> + <!-- + - obtain redmine login + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>validate</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + </configuration> + </execution> - </plugins> - </build> + </executions> + </plugin> + <!-- + - upload attachments + - generate the changes.xml from redmine + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-pre-release</id> + <goals> + <goal>publish-attachments</goal> + <goal>generate-news-announcement</goal> + <goal>generate-email-announcement</goal> + </goals> + <phase>generate-sources</phase> + <inherited>false</inherited> + <configuration> - </profile> + <!-- publish-attachments --> + <filesFromProperties>${redmine.collectedAttachments}</filesFromProperties> - <!-- perform a redmine release after a successfull release --> - <profile> - <id>internalRedmineRelease</id> - <activation> - <property> - <name>internalRedmineRelease</name> - <value>true</value> - </property> - </activation> + <!-- generate announcements --> + <urlDownload>${redmine.url}/projects/list_files/${projectId}</urlDownload> + <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> - <properties> - <!-- always force user to add -DdryRun to perform redmine actions --> - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - </properties> + </configuration> + </execution> + </executions> - <build> + </plugin> - <defaultGoal>validate</defaultGoal> + </plugins> + </build> - <plugins> - <!-- - - obtain redmine login - - send release email - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <passwordOut>redmine.password</passwordOut> - <usernameOut>redmine.username</usernameOut> - </configuration> - </execution> - <execution> - <id>send-release-email</id> - <goals> - <goal>send-email</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - </execution> - </executions> - <configuration> + </profile> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> + <!-- perform a redmine release after a successfull release --> + <profile> + <id>internalRedmineRelease</id> + <activation> + <property> + <name>internalRedmineRelease</name> + <value>true</value> + </property> + </activation> - <emailTitle>[ANN] - ${project.name} ${project.version} released</emailTitle> - <emailContentFile> - target/generated-sources/announcement/release-email-announcement.vm - </emailContentFile> - <mailSender> - <name>${platform} Release Notification</name> - <email>noreply@${platform}</email> - </mailSender> - <toAddresses> - <item>${listId}-users@list.${platform}</item> - <item>${listId}-devel@list.${platform}</item> - <item>announce-${platform}@list.${platform}</item> - </toAddresses> - <smtpHost>smtp</smtpHost> - <!-- fix bug #146 --> - <encoding>iso-8859-1</encoding> - </configuration> - </plugin> + <properties> + <!-- always force user to add -DdryRun to perform redmine actions --> + <dryRun>true</dryRun> + <redmine.dryRun>${dryRun}</redmine.dryRun> + </properties> - <!-- - - update version in redmine - - publish a release news in redmine - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>maven-jredmine-plugin</artifactId> - <executions> - <execution> - <id>jredmine-release</id> - <goals> - <goal>update-version</goal> - <goal>publish-news</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - </execution> - </executions> - <configuration> + <build> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> + <defaultGoal>validate</defaultGoal> - <!-- update-version --> - <closeVersion>true</closeVersion> + <plugins> + <!-- + - obtain redmine login + - send release email + --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-redmine-login</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>validate</phase> + <configuration> + <serverId>redmine-${platform}</serverId> + <passwordOut>redmine.password</passwordOut> + <usernameOut>redmine.username</usernameOut> + </configuration> + </execution> + <execution> + <id>send-release-email</id> + <goals> + <goal>send-email</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + </execution> + </executions> + <configuration> - <!-- publish-news --> - <newsContentFile> - target/generated-sources/announcement/release-news-announcement.vm - </newsContentFile> - <newsSummary>${project.description}</newsSummary> - <newsTitle>${project.name} ${project.version} released</newsTitle> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> - </configuration> - </plugin> + <emailTitle>[ANN] - ${project.name} ${project.version} released</emailTitle> + <emailContentFile>target/generated-sources/announcement/release-email-announcement.vm</emailContentFile> + <mailSender> + <name>${platform} Release Notification</name> + <email>noreply@${platform}</email> + </mailSender> + <toAddresses> + <item>${listId}-users@list.${platform}</item> + <item>${listId}-devel@list.${platform}</item> + <item>announce-${platform}@list.${platform}</item> + </toAddresses> + <smtpHost>smtp</smtpHost> + <!-- fix bug #146 --> + <encoding>iso-8859-1</encoding> + </configuration> + </plugin> - </plugins> + <!-- + - update version in redmine + - publish a release news in redmine + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>jredmine-release</id> + <goals> + <goal>update-version</goal> + <goal>publish-news</goal> + </goals> + <phase>validate</phase> + <inherited>false</inherited> + </execution> + </executions> + <configuration> - </build> - </profile> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> - </profiles> + <!-- update-version --> + <closeVersion>true</closeVersion> + <!-- publish-news --> + <newsContentFile>target/generated-sources/announcement/release-news-announcement.vm</newsContentFile> + <newsSummary>${project.description}</newsSummary> + <newsTitle>${project.name} ${project.version} released</newsTitle> + + </configuration> + </plugin> + + </plugins> + + </build> + </profile> + + </profiles> + </project>