This is an automated email from the git hooks/post-receive script. New commit to annotated tag v1.7 in repository jredmine. See https://gitlab.nuiton.org/nuiton/jredmine.git commit c463a7af610b0f548e2f6e12c9c7359c3b0a85b6 Author: Tony Chemit <chemit@codelutin.com> Date: Wed Apr 16 09:43:25 2014 +0000 fix release build --- jredmine-maven-plugin/pom.xml | 115 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) diff --git a/jredmine-maven-plugin/pom.xml b/jredmine-maven-plugin/pom.xml index 6f9bd4c..8ed6965 100644 --- a/jredmine-maven-plugin/pom.xml +++ b/jredmine-maven-plugin/pom.xml @@ -292,5 +292,120 @@ </build> </profile> +<!-- For post-release actions --> + <profile> + <id>post-release-profile</id> + <properties> + + <!-- templates location --> + <redmine.templateDirectory> + https://doc.nuiton.org/mavenpom/announcement/redmine + </redmine.templateDirectory> + </properties> + + <build> + + <defaultGoal>validate</defaultGoal> + + <plugins> + + <!-- + - 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-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> + <anonymous>${publicProject}</anonymous> + <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>.