This is an automated email from the git hooks/post-receive script. New commit to annotated tag v1.8 in repository jredmine. See https://gitlab.nuiton.org/nuiton/jredmine.git commit 891db0ee107cde2b0c93cfdf9a701ceb05643e59 Author: Maven Release <maven-release@nuiton.org> Date: Wed Apr 16 13:25:11 2014 +0000 fix release --- jredmine-maven-plugin/pom.xml | 105 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) diff --git a/jredmine-maven-plugin/pom.xml b/jredmine-maven-plugin/pom.xml index cce6d88..6c6ca5a 100644 --- a/jredmine-maven-plugin/pom.xml +++ b/jredmine-maven-plugin/pom.xml @@ -287,5 +287,110 @@ </build> </profile> + <!-- For post-release actions --> + <profile> + <id>post-release-profile</id> + + <build> + + <defaultGoal>validate</defaultGoal> + + <plugins> + + <!-- + - publish attachments + - generate news announcement + - generate email announcement + - update version + - publish news announcement + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <executions> + <execution> + <id>publish-attachments</id> + <goals> + <goal>publish-attachments</goal> + </goals> + <phase>verify</phase> + <configuration> + <filesFromProperties> + ${redmine.collectedAttachments} + </filesFromProperties> + + <skipPublishAttachments> + ${skipReleasePublishAttachments} + </skipPublishAttachments> + </configuration> + </execution> + <execution> + <id>generate-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> + ${skipReleaseSendEmail} + </skipGenerateEmailAnnouncement> + <skipGenerateNewsAnnouncement> + ${skipReleasePublishNews} + </skipGenerateNewsAnnouncement> + <urlDownload> + ${redmine.url}/projects/${projectId}/files + </urlDownload> + <artifactsFile>${redmine.collectedArtifacts}</artifactsFile> + </configuration> + </execution> + + <execution> + <id>jredmine-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> + ${skipReleaseUpdateVersion} + </skipUpdateVersion> + <skipPublishNews>${skipReleasePublishNews}</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> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.