Author: tchemit Date: 2011-08-04 10:46:53 +0200 (Thu, 04 Aug 2011) New Revision: 1132 Url: http://nuiton.org/repositories/revision/mavenpom/1132 Log: add publishAttachments profile update svn properties Modified: trunk/mavenpom4redmine/pom.xml trunk/mavenpom4redmine/src/site/apt/profiles.apt trunk/src/site/resources/announcement/redmine/release-email-announcement.vm trunk/src/site/resources/announcement/redmine/release-news-announcement.vm trunk/src/site/resources/announcement/redmineAndCentral/release-email-announcement.vm trunk/src/site/resources/announcement/redmineAndCentral/release-news-announcement.vm Modified: trunk/mavenpom4redmine/pom.xml =================================================================== --- trunk/mavenpom4redmine/pom.xml 2011-07-17 12:24:39 UTC (rev 1131) +++ trunk/mavenpom4redmine/pom.xml 2011-08-04 08:46:53 UTC (rev 1132) @@ -608,7 +608,74 @@ </build> </profile> + <!-- to enter into redmine --> <profile> + <id>redmine-publish-attachments-profile</id> + <activation> + <property> + <name>publishAttachments</name> + <value>true</value> + </property> + </activation> + + <build> + + <defaultGoal>validate</defaultGoal> + + <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> + + <!-- + - publish attachments + - generate release announcements + --> + <plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>maven-jredmine-plugin</artifactId> + <executions> + <execution> + <id>publish-attachments</id> + <goals> + <goal>update-version</goal> + <goal>publish-attachments</goal> + </goals> + <phase>validate</phase> + <configuration> + <closeVersion>false</closeVersion> + </configuration> + </execution> + </executions> + + </plugin> + + </plugins> + + </build> + </profile> + + <profile> <id>internal</id> <activation> <property> Modified: trunk/mavenpom4redmine/src/site/apt/profiles.apt =================================================================== --- trunk/mavenpom4redmine/src/site/apt/profiles.apt 2011-07-17 12:24:39 UTC (rev 1131) +++ trunk/mavenpom4redmine/src/site/apt/profiles.apt 2011-08-04 08:46:53 UTC (rev 1132) @@ -44,6 +44,8 @@ *----------------------------------+------------------------------+ | <<property>> | <<Activation property>> | *----------------------------------+------------------------------+ +| {{redmine-publish-attachments-profile}}| <<publishAttachments>> | +*----------------------------------+------------------------------+ | {{redmine-build-release-profile}}| <<performRelease>> | *----------------------------------+------------------------------+ | {{redmine-pre-release-profile}} | <<performRedminePreRelease>> | @@ -55,7 +57,11 @@ Détails +* {redmine-publish-attachments-profile} + Ce profile permet de déployer des fichiers sur le redmine. Il est activable + via la propriété <<publishAttachments>>. + * {redmine-build-release-profile} Ce profile permet pendant la release classique de collecter les fichiers à Property changes on: trunk/src/site/resources/announcement/redmine/release-email-announcement.vm ___________________________________________________________________ Modified: svn:keywords - Author Date Id Revision + Author Date Id Revision HeadURL Property changes on: trunk/src/site/resources/announcement/redmine/release-news-announcement.vm ___________________________________________________________________ Modified: svn:keywords - Author Date Id Revision + Author Date Id Revision HeadURL Property changes on: trunk/src/site/resources/announcement/redmineAndCentral/release-email-announcement.vm ___________________________________________________________________ Modified: svn:keywords - Author Date Id Revision + Author Date Id Revision HeadURL Property changes on: trunk/src/site/resources/announcement/redmineAndCentral/release-news-announcement.vm ___________________________________________________________________ Modified: svn:keywords - Author Date Id Revision + Author Date Id Revision HeadURL