r1525 - in trunk: . mavenpom4redmine mavenpom4redmine/mavenpom4redmineAndCentral mavenpomdoc
Author: tchemit Date: 2014-02-24 23:01:41 +0100 (Mon, 24 Feb 2014) New Revision: 1525 Url: http://nuiton.org/projects/mavenpom/repository/revisions/1525 Log: fixes #2890: Remove legacy release process Modified: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml trunk/mavenpom4redmine/pom.xml trunk/mavenpomdoc/pom.xml trunk/pom.xml Modified: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml 2014-02-20 21:31:31 UTC (rev 1524) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml 2014-02-24 22:01:41 UTC (rev 1525) @@ -72,7 +72,7 @@ <!-- templates location --> <redmine.templateDirectory> - http://maven-site.nuiton.org/mavenpom/announcement/redmineAndCentral + http://doc.nuiton.org/mavenpom/announcement/redmineAndCentral </redmine.templateDirectory> </properties> Modified: trunk/mavenpom4redmine/pom.xml =================================================================== --- trunk/mavenpom4redmine/pom.xml 2014-02-20 21:31:31 UTC (rev 1524) +++ trunk/mavenpom4redmine/pom.xml 2014-02-24 22:01:41 UTC (rev 1525) @@ -109,7 +109,7 @@ <!-- redmine configuration --> <redmine.safe>false</redmine.safe> - <redmine.url>https://${platform}</redmine.url> + <redmine.url>https://forge.${platform}</redmine.url> <redmine.projectId>${projectId}</redmine.projectId> <redmine.xmlPath> ${maven.root.dir}/target/changes/changes.xml @@ -294,7 +294,7 @@ <!-- templates location --> <redmine.templateDirectory> - https://maven-site.nuiton.org/mavenpom/announcement/redmine + https://doc.nuiton.org/mavenpom/announcement/redmine </redmine.templateDirectory> </properties> @@ -459,305 +459,6 @@ </build> </profile> - <!-- Since version 4.0, prefer use the new way to release (see http://maven-site.nuiton.org/mavenpom/mavenpom4redmine/release.html) --> - <!-- 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> - - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - - <!-- In this mode, can only run redmine mojo on root module --> - <redmine.runOnlyOnRoot>true</redmine.runOnlyOnRoot> - <helper.runOnlyOnRoot>true</helper.runOnlyOnRoot> - </properties> - - <build> - - <defaultGoal>validate</defaultGoal> - - <plugins> - - <!-- - - obtain redmine login - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>helper-maven-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <usernameOut>redmine.username</usernameOut> - <privateKeyOut>redmine.apiKey</privateKeyOut> - </configuration> - </execution> - - </executions> - </plugin> - - <!-- - - publish attachments - - generate release announcements - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <id>publish-attachments</id> - <goals> - <goal>publish-attachments</goal> - </goals> - <phase>validate</phase> - <configuration> - <filesFromProperties> - ${redmine.collectedAttachments} - </filesFromProperties> - </configuration> - </execution> - <execution> - <id>generate-announcement</id> - <goals> - <goal>generate-news-announcement</goal> - <goal>generate-email-announcement</goal> - </goals> - <phase>validate</phase> - <configuration> - <anonymous>${publicProject}</anonymous> - <urlDownload> - ${redmine.url}/projects/${projectId}/files - </urlDownload> - <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> - </configuration> - </execution> - </executions> - - </plugin> - - </plugins> - - </build> - </profile> - - <!-- Since version 4.0, prefer use the new way to release (see http://maven-site.nuiton.org/mavenpom/mavenpom4redmine/release.html) --> - <!-- perform a redmine release after a successfull release --> - <profile> - <id>redmine-release-profile</id> - <activation> - <property> - <name>performRedmineRelease</name> - <value>true</value> - </property> - </activation> - - <properties> - <!-- fails if redmine goals are not ok --> - <redmine.safe>true</redmine.safe> - - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - - <!-- In this mode, can only run redmine mojo on root module --> - <redmine.runOnlyOnRoot>true</redmine.runOnlyOnRoot> - <helper.runOnlyOnRoot>true</helper.runOnlyOnRoot> - </properties> - <build> - - <defaultGoal>validate</defaultGoal> - - <plugins> - - <!-- - - obtain redmine login - - send release email - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>helper-maven-plugin</artifactId> - <executions> - <execution> - <id>get-redmine-login</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>validate</phase> - <configuration> - <serverId>redmine-${platform}</serverId> - <usernameOut>redmine.username</usernameOut> - <privateKeyOut>redmine.apiKey</privateKeyOut> - </configuration> - </execution> - <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> - - <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> - </execution> - </executions> - </plugin> - - <!-- - - update version in redmine - - publish the release news announcement in redmine - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <id>jredmine-release</id> - <goals> - <goal>update-version</goal> - <goal>publish-news</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - <!-- udpate-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> - - <!-- Since version 4.0, prefer use the new way to release (see http://maven-site.nuiton.org/mavenpom/mavenpom4redmine/release.html) --> - <!-- 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> - - <properties> - - <!-- In this mode, can only run redmine mojo on root module --> - <redmine.runOnlyOnRoot>true</redmine.runOnlyOnRoot> - <helper.runOnlyOnRoot>true</helper.runOnlyOnRoot> - - </properties> - <build> - - <defaultGoal>validate</defaultGoal> - - <plugins> - - <!-- - - obtain redmine login - --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>helper-maven-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> - <usernameOut>redmine.username</usernameOut> - <privateKeyOut>redmine.apiKey</privateKeyOut> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - </configuration> - </execution> - </executions> - </plugin> - - <!-- - create next version if necessary and transfert all opened issued from a previous version - if given - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <id>jredmine-next-version</id> - <goals> - <goal>next-version</goal> - </goals> - <phase>validate</phase> - <!--inherited>false</inherited--> - </execution> - </executions> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - <useLatestClosedVersion>true</useLatestClosedVersion> - - </configuration> - </plugin> - - </plugins> - - </build> - </profile> - <!-- To publish attachments in redmine --> <profile> <id>redmine-publish-attachments-profile</id> Modified: trunk/mavenpomdoc/pom.xml =================================================================== --- trunk/mavenpomdoc/pom.xml 2014-02-20 21:31:31 UTC (rev 1524) +++ trunk/mavenpomdoc/pom.xml 2014-02-24 22:01:41 UTC (rev 1525) @@ -43,12 +43,12 @@ <scm> <connection> - scm:svn:http://svn.nuiton.org/svn/mavenpom/trunk/mavenpomdoc + scm:svn:https://svn.nuiton.org/mavenpom/trunk/mavenpomdoc </connection> <developerConnection> - scm:svn:http://svn.nuiton.org/svn/mavenpom/trunk/mavenpomdoc + scm:svn:https://svn.nuiton.org/mavenpom/trunk/mavenpomdoc </developerConnection> - <url>http://nuiton.org/projects/mavenpom/repository/browse/trunk/mavenpomdoc + <url>https://forge.nuiton.org/projects/mavenpom/repository/browse/trunk/mavenpomd... </url> </scm> <distributionManagement> Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2014-02-20 21:31:31 UTC (rev 1524) +++ trunk/pom.xml 2014-02-24 22:01:41 UTC (rev 1525) @@ -33,7 +33,7 @@ <name>Mavenpom</name> <description>Ancestor of all projects of Code Lutin</description> - <url>https://maven-site.nuiton.org/mavenpom</url> + <url>https://doc.nuiton.org/mavenpom</url> <inceptionYear>2009</inceptionYear> <organization> <name>CodeLutin</name> @@ -100,37 +100,37 @@ <mailingList> <name>${listId}-commits</name> <subscribe> - https://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits + https://ml.${platform}/cgi-bin/mailman/listinfo/${listId}-commits </subscribe> <unsubscribe> - https://list.${platform}/cgi-bin/mailman/listinfo/${listId}-commits + https://ml.${platform}/cgi-bin/mailman/listinfo/${listId}-commits </unsubscribe> <post>${listId}-commits@list.${platform}</post> - <archive>https://list.${platform}/pipermail/${listId}-commits/</archive> + <archive>https://ml.${platform}/pipermail/${listId}-commits/</archive> </mailingList> <mailingList> <name>${listId}-devel</name> <subscribe> - https://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel + https://ml.${platform}/cgi-bin/mailman/listinfo/${listId}-devel </subscribe> <unsubscribe> - https://list.${platform}/cgi-bin/mailman/listinfo/${listId}-devel + https://ml.${platform}/cgi-bin/mailman/listinfo/${listId}-devel </unsubscribe> <post>${listId}-devel@list.${platform}</post> - <archive>https://list.${platform}/pipermail/${listId}-devel/</archive> + <archive>https://ml.${platform}/pipermail/${listId}-devel/</archive> </mailingList> <mailingList> <name>${listId}-users</name> <subscribe> - https://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users + https://ml.${platform}/cgi-bin/mailman/listinfo/${listId}-users </subscribe> <unsubscribe> - https://list.${platform}/cgi-bin/mailman/listinfo/${listId}-users + https://ml.${platform}/cgi-bin/mailman/listinfo/${listId}-users </unsubscribe> <post>${listId}-users@list.${platform}</post> - <archive>https://list.${platform}/pipermail/${listId}-users/</archive> + <archive>https://ml.${platform}/pipermail/${listId}-users/</archive> </mailingList> </mailingLists> @@ -145,20 +145,20 @@ </modules> <scm> - <connection>scm:svn:https://svn.nuiton.org/svn/mavenpom/trunk</connection> + <connection>scm:svn:https://svn.nuiton.org/mavenpom/trunk</connection> <developerConnection> - scm:svn:https://svn.nuiton.org/svn/mavenpom/trunk + scm:svn:https://svn.nuiton.org/mavenpom/trunk </developerConnection> - <url>https://nuiton.org/projects/mavenpom/repository/trunk</url> + <url>https://forge.nuiton.org/projects/mavenpom/repository/trunk</url> </scm> <issueManagement> <system>redmine</system> - <url>https://${platform}/projects/${projectId}/issues</url> + <url>https://forge.${platform}/projects/${projectId}/issues</url> </issueManagement> <ciManagement> - <system>hudson</system> - <url>${ci.host.url}/job/${projectId}</url> + <system>jenkins</system> + <url>https://ci.${platform}/jenkins</url> </ciManagement> <!--Distribution--> <distributionManagement> @@ -203,7 +203,7 @@ <!-- location of nuiton site repository --> <our.site.repository> - scpexe://${platform}/var/lib/redmine-${platform}/project-site + scpexe://forge.${platform}/var/lib/doc/${platform} </our.site.repository> <!-- location of the release repository to use --> @@ -234,10 +234,10 @@ <maven.license.file>${project.basedir}/LICENSE.txt</maven.license.file> <!-- url of the quality assurance platform --> - <qa.host.url>https://qa.${platform}/sonar</qa.host.url> + <!--<qa.host.url>https://qa.${platform}</qa.host.url>--> <!-- url of the continuous integration platform --> - <ci.host.url>https://ci.${platform}/jenkins</ci.host.url> + <!--<ci.host.url>https://ci.${platform}/jenkins</ci.host.url>--> <mavenVersion>2.2.1</mavenVersion> <antVersion>1.8.3</antVersion> @@ -280,6 +280,7 @@ <gwtPluginVersion>2.5.1</gwtPluginVersion> <l10nPluginVersion>1.0-alpha-2</l10nPluginVersion> <licensePluginVersion>1.6</licensePluginVersion> + <sonarPluginVersion>2.2</sonarPluginVersion> <tidyPluginVersion>1.0-alpha-2</tidyPluginVersion> <versionsPluginVersion>2.1</versionsPluginVersion> <wagonPluginVersion>1.0-beta-4</wagonPluginVersion> @@ -801,6 +802,12 @@ <plugin> <groupId>org.codehaus.mojo</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>${sonarPluginVersion}</version> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> <artifactId>tidy-maven-plugin</artifactId> <version>${tidyPluginVersion}</version> </plugin> @@ -1232,7 +1239,7 @@ <artifactId>maven-report</artifactId> <version>${sonarReportPluginVersion}</version> <configuration> - <sonarHostURL>${qa.host.url}</sonarHostURL> + <sonarHostURL>https://qa.${platform}</sonarHostURL> </configuration> </plugin>
participants (1)
-
tchemit@users.nuiton.org