r1474 - in trunk: . mavenpom4redmine mavenpom4redmine/mavenpom4redmineAndCentral mavenpomdoc mavenpomdoc/src/site/apt mavenpomdoc/src/site/resources/announcement/redmineAndCentral
Author: tchemit Date: 2013-11-02 11:52:02 +0100 (Sat, 02 Nov 2013) New Revision: 1474 Url: http://nuiton.org/projects/mavenpom/repository/revisions/1474 Log: fixes #2889: Announcement templates are not using topLevel projects. refs #2888: Use the new release process for mavenpom itself Modified: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml trunk/mavenpom4redmine/pom.xml trunk/mavenpomdoc/pom.xml trunk/mavenpomdoc/src/site/apt/usage.apt trunk/mavenpomdoc/src/site/resources/announcement/redmineAndCentral/release-email-announcement.vm trunk/mavenpomdoc/src/site/resources/announcement/redmineAndCentral/release-news-announcement.vm trunk/pom.xml Modified: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml 2013-11-01 06:14:43 UTC (rev 1473) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml 2013-11-02 10:52:02 UTC (rev 1474) @@ -23,11 +23,11 @@ <http://www.gnu.org/licenses/lgpl-3.0.html>. #L% --> -<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> - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> + <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom4redmine</artifactId> @@ -44,17 +44,12 @@ </parent> --> - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> <name>Mavenpom4redmineAndCentral</name> <description>Ancestor of all projects of Code Lutin based on a redmine developpment environnement and which are synchronized to Maven central </description> <inceptionYear>2010</inceptionYear> - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> + <properties> <!-- deploy releases on central-releases repository --> @@ -64,21 +59,30 @@ <repository.home.url>${central.release.home.url}</repository.home.url> <!-- use Maven central repository for announcement --> - <redmine.deploymentUrl>http://repo1.maven.org/maven2/ + <redmine.deploymentUrl> + http://repo1.maven.org/maven2/ </redmine.deploymentUrl> - <redmine.templateDirectory> - http://maven-site.nuiton.org/mavenpom/announcement/redmineAndCentral - </redmine.templateDirectory> </properties> - <!-- ************************************************************* --> - <!-- *** Maven Environment *************************************** --> - <!-- ************************************************************* --> - <!-- Maven Environment : profiles --> <profiles> + <!-- For post-release actions --> <profile> + <id>post-release-profile</id> + <properties> + + <!-- templates location --> + <redmine.templateDirectory> + http://maven-site.nuiton.org/mavenpom/announcement/redmineAndCentral + </redmine.templateDirectory> + </properties> + + </profile> + + <!-- Check that all dependencies of the project are on central or in our + release repository --> + <profile> <id>central-safe</id> <activation> <property> @@ -104,7 +108,8 @@ <addMavenCentral>true</addMavenCentral> <failIfNotSafe>true</failIfNotSafe> <repositories> - <central-releases>${central.release.home.url} + <central-releases> + ${central.release.home.url} </central-releases> </repositories> </configuration> Modified: trunk/mavenpom4redmine/pom.xml =================================================================== --- trunk/mavenpom4redmine/pom.xml 2013-11-01 06:14:43 UTC (rev 1473) +++ trunk/mavenpom4redmine/pom.xml 2013-11-02 10:52:02 UTC (rev 1474) @@ -25,9 +25,7 @@ --> <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> - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> + <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom</artifactId> @@ -36,9 +34,7 @@ <artifactId>mavenpom4redmine</artifactId> <packaging>pom</packaging> - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> + <name>Mavenpom4redmine</name> <description>Ancestor of all projects of Code Lutin based on a redmine developpment environnement @@ -54,15 +50,12 @@ <modules> <module>mavenpom4redmineAndCentral</module> </modules> - <!-- ************************************************************* --> - <!-- *** Build Environment ************************************** --> - <!-- ************************************************************* --> - <!-- Build Environment : Environment Information --> <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 --> @@ -104,9 +97,6 @@ </mailingList> </mailingLists--> - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> <properties> <!-- the redmine plateform used (nuiton.org or chorem.org) --> @@ -132,10 +122,6 @@ </redmine.collectedAttachments> <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> - <redmine.templateDirectory> - http://maven-site.nuiton.org/mavenpom/announcement/redmine - </redmine.templateDirectory> - <!-- since v 4.0, can execute som mojo not on root module --> <redmine.runOnlyOnRoot>false</redmine.runOnlyOnRoot> <helper.runOnlyOnRoot>false</helper.runOnlyOnRoot> @@ -160,11 +146,7 @@ <skipReleasePublishNews>${skipPostRelease}</skipReleasePublishNews> </properties> - <!-- ************************************************************* --> - <!-- *** Maven Environment *************************************** --> - <!-- ************************************************************* --> - <!-- Maven Environment : profiles --> <profiles> <!-- perform only on a release stage when using the maven-release-plugin --> @@ -305,18 +287,15 @@ </build> </profile> - <!-- launch this profile by the last module of a project to release --> - <!-- You must add the properties to false in your last module --> + <!-- For post-release actions --> <profile> <id>post-release-profile</id> <properties> - <!-- fails if redmine goals are not ok --> - <redmine.safe>true</redmine.safe> - <!-- no dry run for us (we trust the jredmine-m-p !) --> - <redmine.dryRun>false</redmine.dryRun> - - <releaseAnnouncementTitle>${session.topLevelProject.name} ${session.topLevelProject.version} released</releaseAnnouncementTitle> + <!-- templates location --> + <redmine.templateDirectory> + http://maven-site.nuiton.org/mavenpom/announcement/redmine + </redmine.templateDirectory> </properties> <build> @@ -418,6 +397,17 @@ </goals> <phase>verify</phase> <configuration> + <announceParameters> + <releaseProjectGroupId> + ${session.topLevelProject.groupId} + </releaseProjectGroupId> + <releaseProjectArtifactId> + ${session.topLevelProject.artifactId} + </releaseProjectArtifactId> + <releaseProjectVersion> + ${session.topLevelProject.version} + </releaseProjectVersion> + </announceParameters> <skipGenerateEmailAnnouncement> ${skipReleaseSendEmail} </skipGenerateEmailAnnouncement> Modified: trunk/mavenpomdoc/pom.xml =================================================================== --- trunk/mavenpomdoc/pom.xml 2013-11-01 06:14:43 UTC (rev 1473) +++ trunk/mavenpomdoc/pom.xml 2013-11-02 10:52:02 UTC (rev 1474) @@ -25,9 +25,7 @@ --> <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> - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> + <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom4redmineAndCentral</artifactId> @@ -70,10 +68,11 @@ <!-- release config --> + <!-- fires Internal Post Release actions --> + <skipInternalPostRelease>false</skipInternalPostRelease> + <!-- activate this profile while doing release:prepare --> <arguments>-DperformRelease -Pcentral-safe</arguments> - <!-- activate this profile while doing release:perform --> - <releaseProfiles>central-safe</releaseProfiles> <!-- deploy releases on central-releases repository --> <release.repository>${central.release.repository}</release.repository> Modified: trunk/mavenpomdoc/src/site/apt/usage.apt =================================================================== --- trunk/mavenpomdoc/src/site/apt/usage.apt 2013-11-01 06:14:43 UTC (rev 1473) +++ trunk/mavenpomdoc/src/site/apt/usage.apt 2013-11-02 10:52:02 UTC (rev 1474) @@ -1,3 +1,26 @@ +~~~ +~~ #%L +~~ mavenpomdoc +~~ $Id$ +~~ $HeadURL:$ +~~ %% +~~ Copyright (C) 2012 - 2013 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ ------ Maven pom usage Modified: trunk/mavenpomdoc/src/site/resources/announcement/redmineAndCentral/release-email-announcement.vm =================================================================== --- trunk/mavenpomdoc/src/site/resources/announcement/redmineAndCentral/release-email-announcement.vm 2013-11-01 06:14:43 UTC (rev 1473) +++ trunk/mavenpomdoc/src/site/resources/announcement/redmineAndCentral/release-email-announcement.vm 2013-11-02 10:52:02 UTC (rev 1474) @@ -147,7 +147,7 @@ Find us at -* http://search.maven.org/#artifactdetails|${project.groupId}|${project.artifactId}|${project.version}|jar +* http://search.maven.org/#artifactdetails|${announceParameters.releaseProjectGroupId}|${announceParameters.releaseProjectArtifactId}|${announceParameters.releaseProjectVersion}|jar #else No artifact deployed. Modified: trunk/mavenpomdoc/src/site/resources/announcement/redmineAndCentral/release-news-announcement.vm =================================================================== --- trunk/mavenpomdoc/src/site/resources/announcement/redmineAndCentral/release-news-announcement.vm 2013-11-01 06:14:43 UTC (rev 1473) +++ trunk/mavenpomdoc/src/site/resources/announcement/redmineAndCentral/release-news-announcement.vm 2013-11-02 10:52:02 UTC (rev 1474) @@ -142,7 +142,7 @@ Find us at -* http://search.maven.org/#artifactdetails|${project.groupId}|${project.artifactId}|${project.version}|jar +* http://search.maven.org/#artifactdetails|${announceParameters.releaseProjectGroupId}|${announceParameters.releaseProjectArtifactId}|${announceParameters.releaseProjectVersion}|jar #else No artifact deployed. #end Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2013-11-01 06:14:43 UTC (rev 1473) +++ trunk/pom.xml 2013-11-02 10:52:02 UTC (rev 1474) @@ -430,6 +430,8 @@ <signatureArtifactId>java16</signatureArtifactId> <signatureVersion>1.1</signatureVersion> + <!-- Default Release annoncement title --> + <releaseAnnouncementTitle>${session.topLevelProject.name} ${session.topLevelProject.version} released</releaseAnnouncementTitle> </properties> <dependencyManagement> @@ -966,7 +968,7 @@ <reporting> <excludeDefaults>true</excludeDefaults> </reporting> - <!-- Maven Environment : profiles --> + <profiles> <!-- do not execute tests (generaly a bad idea...) --> @@ -1654,6 +1656,12 @@ <!-- must fail if redmine actions failed --> <redmine.safe>true</redmine.safe> + <!-- to launch post-release actions (generate announcements, ...) --> + <skipInternalPostRelease>true</skipInternalPostRelease> + + <!-- post release profile to activate while release:perform --> + <releaseProfiles>internal-post-release-profile</releaseProfiles> + <!-- redmine configuration --> <redmine.url>http://www.${platform}</redmine.url> <redmine.projectId>${projectId}</redmine.projectId> @@ -1661,9 +1669,6 @@ <redmine.collectedArtifacts>target/collect-artifacts.txt </redmine.collectedArtifacts> <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> - <redmine.templateDirectory> - http://maven-site.nuiton.org/mavenpom/announcement/redmineAndCentral - </redmine.templateDirectory> <!-- extra files to include in release --> <redmine.releaseFiles /> @@ -1750,253 +1755,9 @@ </plugins> </build> - <!--reporting> - <plugins> - - <plugin> - <artifactId>maven-changes-plugin</artifactId> - <version>${changesPluginVersion}</version> - <configuration> - <issueLinkTemplatePerSystem> - <redmine>${redmine.issueLinkTemplate}</redmine> - </issueLinkTemplatePerSystem> - <xmlPath>${redmine.xmlPath}</xmlPath> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>changes-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> - - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <version>${jredminePluginVersion}</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> - </reporting--> - </profile> - <!-- - - --> <profile> - <id>internal-redmine-pre-release</id> - <activation> - <property> - <name>internalRedminePreRelease</name> - <value>true</value> - </property> - </activation> - - <properties> - <!-- always force user to add -DdryRun to perform redmine actions --> - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - </properties> - - <build> - - <defaultGoal>generate-sources</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> - <privateKeyOut>redmine.apiKey</privateKeyOut> - </configuration> - </execution> - - </executions> - </plugin> - <!-- - - upload attachments - - generate the changes.xml from redmine - --> - <plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-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> - - <!-- publish-attachments --> - <filesFromProperties>${redmine.collectedAttachments} - </filesFromProperties> - - <!-- generate announcements --> - <urlDownload>${redmine.url}/projects/files/${projectId} - </urlDownload> - <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> - <deploymentUrl> - http://repo1.maven.org/maven2 - </deploymentUrl> - - </configuration> - </execution> - </executions> - - </plugin> - - </plugins> - </build> - - </profile> - - <!-- perform a redmine release after a successfull release --> - <profile> - <id>internal-redmine-release</id> - <activation> - <property> - <name>internalRedmineRelease</name> - <value>true</value> - </property> - </activation> - - <properties> - <!-- always force user to add -DdryRun to perform redmine actions --> - <dryRun>true</dryRun> - <redmine.dryRun>${dryRun}</redmine.dryRun> - </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> - <privateKeyOut>redmine.apiKey</privateKeyOut> - </configuration> - </execution> - <execution> - <id>send-release-email</id> - <goals> - <goal>send-email</goal> - </goals> - <phase>validate</phase> - <inherited>false</inherited> - </execution> - </executions> - <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> - </plugin> - - <!-- - - update version in redmine - - publish a release news 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> - <inherited>false</inherited> - </execution> - </executions> - <configuration> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - <!-- 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> - - <profile> <id>maven-3</id> <activation> <file> @@ -2075,7 +1836,8 @@ <phase>verify</phase> <configuration> <extraFiles>${deployFiles}</extraFiles> - <descriptionFile>${deploy.collectedFiles} + <descriptionFile> + ${deploy.collectedFiles} </descriptionFile> <includeAttached>false</includeAttached> <includeSiteAttached>false</includeSiteAttached> @@ -2110,7 +1872,8 @@ <phase>verify</phase> <configuration> <extraFiles>${deployFiles}</extraFiles> - <descriptionFile>${deploy.collectedFiles} + <descriptionFile> + ${deploy.collectedFiles} </descriptionFile> <includeAttached>false</includeAttached> <includeSiteAttached>false</includeSiteAttached> @@ -2123,5 +1886,196 @@ </build> </profile> + <!-- For post-release actions --> + <profile> + <id>post-release-profile</id> + <properties> + + <!-- fails if redmine goals are not ok --> + <redmine.safe>true</redmine.safe> + + <!-- no dry run for us (we trust the jredmine-m-p !) --> + <redmine.dryRun>false</redmine.dryRun> + + </properties> + </profile> + + <!-- For internal post-release actions --> + <profile> + <id>internal-post-release-profile</id> + <properties> + + <!-- fails if redmine goals are not ok --> + <redmine.safe>true</redmine.safe> + + <!-- no dry run for us (we trust the jredmine-m-p !) --> + <redmine.dryRun>false</redmine.dryRun> + + <redmine.templateDirectory> + http://maven-site.nuiton.org/mavenpom/announcement/redmineAndCentral + </redmine.templateDirectory> + + <skipInternalReleasePublishAttachments>${skipInternalPostRelease}</skipInternalReleasePublishAttachments> + <skipInternalReleasePublishNews>${skipInternalPostRelease}</skipInternalReleasePublishNews> + <skipInternalReleaseUpdateVersion>${skipPostRelease}</skipInternalReleaseUpdateVersion> + <skipInternalReleaseSendEmail>${skipInternalPostRelease}</skipInternalReleaseSendEmail> + </properties> + + <build> + + <defaultGoal>validate</defaultGoal> + + <plugins> + + <!-- + - obtain redmine login + - send announcement 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>install</phase> + <!--inherited>false</inherited--> + <configuration> + + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + <skipSendEmail>${skipInternalReleaseSendEmail}</skipSendEmail> + + <emailTitle> + [ANN] - ${releaseAnnouncementTitle} + </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}-commits@list.${platform}</item> + </toAddresses> + <!--smtpHost>smtp</smtpHost--> + <!-- fix bug #146 --> + <encoding>iso-8859-1</encoding> + + </configuration> + </execution> + + </executions> + </plugin> + + <!-- + - publish attachments + - generate news announcement + - generate email announcement + - update version + - publish news announcement + - create next version + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <executions> + <execution> + <id>publish-internal-attachments</id> + <goals> + <goal>publish-attachments</goal> + </goals> + <phase>verify</phase> + <configuration> + <filesFromProperties> + ${redmine.collectedAttachments} + </filesFromProperties> + + <skipPublishAttachments> + ${skipInternalReleasePublishAttachments} + </skipPublishAttachments> + </configuration> + </execution> + <execution> + <id>generate-internal-announcements</id> + <goals> + <goal>generate-news-announcement</goal> + <goal>generate-email-announcement</goal> + </goals> + <phase>verify</phase> + <configuration> + <announceParameters> + <releaseProjectGroupId>${session.topLevelProject.groupId}</releaseProjectGroupId> + <releaseProjectArtifactId>${session.topLevelProject.artifactId}</releaseProjectArtifactId> + <releaseProjectVersion>${session.topLevelProject.version}</releaseProjectVersion> + </announceParameters> + <skipGenerateEmailAnnouncement> + ${skipInternalReleaseSendEmail} + </skipGenerateEmailAnnouncement> + <skipGenerateNewsAnnouncement> + ${skipInternalReleasePublishNews} + </skipGenerateNewsAnnouncement> + <anonymous>${publicProject}</anonymous> + <urlDownload> + ${redmine.url}/projects/${projectId}/files + </urlDownload> + <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> + </configuration> + </execution> + + <execution> + <id>jredmine-internal-release</id> + <goals> + <goal>update-version</goal> + <goal>publish-news</goal> + </goals> + <phase>install</phase> + <configuration> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + <skipUpdateVersion> + ${skipInternalReleaseUpdateVersion} + </skipUpdateVersion> + <skipPublishNews> + ${skipInternalReleasePublishNews} + </skipPublishNews> + + <!-- udpate-version --> + <closeVersion>true</closeVersion> + + <!-- publish-news --> + <newsContentFile> + target/generated-sources/announcement/release-news-announcement.vm + </newsContentFile> + <newsSummary>${project.description}</newsSummary> + <newsTitle> + ${releaseAnnouncementTitle} + </newsTitle> + </configuration> + </execution> + </executions> + + </plugin> + + </plugins> + + </build> + </profile> </profiles> </project>
participants (1)
-
tchemit@users.nuiton.org