Author: tchemit
Date: 2009-11-12 22:04:39 +0100 (Thu, 12 Nov 2009)
New Revision: 699
Modified:
trunk/pom.xml
trunk/src/site/en/apt/profiles.apt
trunk/src/site/fr/apt/profiles.apt
Log:
add redmine-next-version-profile
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-11-12 00:09:08 UTC (rev 698)
+++ trunk/pom.xml 2009-11-12 21:04:39 UTC (rev 699)
@@ -1148,6 +1148,81 @@
</build>
</profile>
+ <!-- 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>
+
+ </properties>
+ <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>
+ <configuration>
+
+ <!-- for a multi-module just run on root project -->
+ <runOnce>true</runOnce>
+ </configuration>
+ </plugin>
+
+ <!--
+ create next version if necessary and transfert all opened issued from a previous version
+ if given
+ -->
+ <plugin>
+ <groupId>org.nuiton.jredmine</groupId>
+ <artifactId>maven-jredmine-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>jredmine-next-version</id>
+ <goals>
+ <goal>next-version</goal>
+ </goals>
+ <phase>validate</phase>
+ </execution>
+ </executions>
+ <configuration>
+
+ <!-- for a multi-module just run on root project -->
+ <runOnce>true</runOnce>
+
+ </configuration>
+ </plugin>
+
+ </plugins>
+
+ </build>
+ </profile>
+
<!-- just add to build the webstart -->
<profile>
<id>webstart-profile</id>
Modified: trunk/src/site/en/apt/profiles.apt
===================================================================
--- trunk/src/site/en/apt/profiles.apt 2009-11-12 00:09:08 UTC (rev 698)
+++ trunk/src/site/en/apt/profiles.apt 2009-11-12 21:04:39 UTC (rev 699)
@@ -11,33 +11,35 @@
Overview
-*-----------------------------+---------------------------+
-| <<property>> | <<Activation property>> |
-*-----------------------------+---------------------------+
-| {{notests}} | <<->> |
-*-----------------------------+---------------------------+
-| {{noreports}} | <<->> |
-*-----------------------------+---------------------------+
-| {{release-profile}} | <<performRelease>> |
-*-----------------------------+---------------------------+
-| {{nodepdetails}} | <<->> |
-*-----------------------------+---------------------------+
-| {{nodeploacations}} | <<->> |
-*-----------------------------+---------------------------+
-| {{redmine-release-profile}} | <<performRedmineRelease>> |
-*-----------------------------+---------------------------+
-| {{webstart-profile}} | <<doWebstart>> |
-*-----------------------------+---------------------------+
-| {{local-webstart-profile}} | <<doLocalWebstart>> |
-*-----------------------------+---------------------------+
-| {{run}} | <<->> |
-*-----------------------------+---------------------------+
-| {{update-java-header}} | <<updateJavaHeader>> |
-*-----------------------------+---------------------------+
-| {{update-jaxx-header}} | <<updateJaxxHeader>> |
-*-----------------------------+---------------------------+
-| {{internal}} | <<UTF-8>> |
-*-----------------------------+---------------------------+
+*----------------------------------+---------------------------+
+| <<property>> | <<Activation property>> |
+*----------------------------------+---------------------------+
+| {{notests}} | <<->> |
+*----------------------------------+---------------------------+
+| {{noreports}} | <<->> |
+*----------------------------------+---------------------------+
+| {{release-profile}} | <<performRelease>> |
+*----------------------------------+---------------------------+
+| {{nodepdetails}} | <<->> |
+*----------------------------------+---------------------------+
+| {{nodeploacations}} | <<->> |
+*----------------------------------+---------------------------+
+| {{redmine-release-profile}} | <<performRedmineRelease>> |
+*----------------------------------+---------------------------+
+| {{redmine-next-version-profile}} | <<redmineNextVersion>> |
+*----------------------------------+---------------------------+
+| {{webstart-profile}} | <<doWebstart>> |
+*----------------------------------+---------------------------+
+| {{local-webstart-profile}} | <<doLocalWebstart>> |
+*----------------------------------+---------------------------+
+| {{run}} | <<->> |
+*----------------------------------+---------------------------+
+| {{update-java-header}} | <<updateJavaHeader>> |
+*----------------------------------+---------------------------+
+| {{update-jaxx-header}} | <<updateJaxxHeader>> |
+*----------------------------------+---------------------------+
+| {{internal}} | <<UTF-8>> |
+*----------------------------------+---------------------------+
Details
@@ -117,12 +119,28 @@
cd target/checkout; mvn validate -DperformRedmineRelease
--------------------------------------------------------------------------------
+* {redmine-next-version-profile}
+
+ This profile permits to create the version corresponding to (the none snapshot)
+ version of the pom on redmine's server, is activable via the property
+ <<redmineNextVersion>>.
+
+--------------------------------------------------------------------------------
+mvn -Predmine-next-version-profile
+--------------------------------------------------------------------------------
+
+ or
+
+--------------------------------------------------------------------------------
+mvn -DredmineNextVersion
+--------------------------------------------------------------------------------
+
* {webstart-profile}
This profile is used to build a webstart application associated with the <<jar>>
module.
- The profile can be activated via the property <doWebstart> :
+ The profile can be activated via the property <<doWebstart>> :
--------------------------------------------------------------------------------
mvn package -Pwebstart-profile
@@ -143,7 +161,7 @@
The codebase of the webstart will points to target/jnlp, so it is possible to
test locally the webstart application before any deploy of it.
- The profile can be activated via the property <doWebstart> :
+ The profile can be activated via the property <<doWebstart>> :
--------------------------------------------------------------------------------
mvn package -Plocal-webstart-profile
Modified: trunk/src/site/fr/apt/profiles.apt
===================================================================
--- trunk/src/site/fr/apt/profiles.apt 2009-11-12 00:09:08 UTC (rev 698)
+++ trunk/src/site/fr/apt/profiles.apt 2009-11-12 21:04:39 UTC (rev 699)
@@ -12,33 +12,35 @@
Vue d'ensemble
-*-----------------------------+---------------------------+
-| <<property>> | <<Activation property>> |
-*-----------------------------+---------------------------+
-| {{notests}} | <<->> |
-*-----------------------------+---------------------------+
-| {{noreports}} | <<->> |
-*-----------------------------+---------------------------+
-| {{release-profile}} | <<performRelease>> |
-*-----------------------------+---------------------------+
-| {{nodepdetails}} | <<->> |
-*-----------------------------+---------------------------+
-| {{nodeploacations}} | <<->> |
-*-----------------------------+---------------------------+
-| {{redmine-release-profile}} | <<performRedmineRelease>> |
-*-----------------------------+---------------------------+
-| {{webstart-profile}} | <<doWebstart>> |
-*-----------------------------+---------------------------+
-| {{local-webstart-profile}} | <<doLocalWebstart>> |
-*-----------------------------+---------------------------+
-| {{run}} | <<->> |
-*-----------------------------+---------------------------+
-| {{update-java-header}} | <<updateJavaHeader>> |
-*-----------------------------+---------------------------+
-| {{update-jaxx-header}} | <<updateJaxxHeader>> |
-*-----------------------------+---------------------------+
-| {{internal}} | <<UTF-8>> |
-*-----------------------------+---------------------------+
+*----------------------------------+---------------------------+
+| <<property>> | <<Activation property>> |
+*----------------------------------+---------------------------+
+| {{notests}} | <<->> |
+*----------------------------------+---------------------------+
+| {{noreports}} | <<->> |
+*----------------------------------+---------------------------+
+| {{release-profile}} | <<performRelease>> |
+*----------------------------------+---------------------------+
+| {{nodepdetails}} | <<->> |
+*----------------------------------+---------------------------+
+| {{nodeploacations}} | <<->> |
+*----------------------------------+---------------------------+
+| {{redmine-release-profile}} | <<performRedmineRelease>> |
+*----------------------------------+---------------------------+
+| {{redmine-next-version-profile}} | <<redmineNextVersion>> |
+*----------------------------------+---------------------------+
+| {{webstart-profile}} | <<doWebstart>> |
+*----------------------------------+---------------------------+
+| {{local-webstart-profile}} | <<doLocalWebstart>> |
+*----------------------------------+---------------------------+
+| {{run}} | <<->> |
+*----------------------------------+---------------------------+
+| {{update-java-header}} | <<updateJavaHeader>> |
+*----------------------------------+---------------------------+
+| {{update-jaxx-header}} | <<updateJaxxHeader>> |
+*----------------------------------+---------------------------+
+| {{internal}} | <<UTF-8>> |
+*----------------------------------+---------------------------+
Détails
@@ -121,12 +123,28 @@
cd target/checkout; mvn validate -DperformRedmineRelease
--------------------------------------------------------------------------------
+* {redmine-next-version-profile}
+
+ Ce profile permet de créer la version sur le serveur redmine correspondant à la
+ version (non snapshot) du pom, est activable par la propriété
+ <<redmineNextVersion>>.
+
+--------------------------------------------------------------------------------
+mvn -Predmine-next-version-profile
+--------------------------------------------------------------------------------
+
+ ou
+
+--------------------------------------------------------------------------------
+mvn -DredmineNextVersion
+--------------------------------------------------------------------------------
+
* {webstart-profile}
Ce profile est utilisé pour construire l'application webstart associé à un
module de type <<jar>>.
- Ce profile est utilisable en activant la propriété <doWebstart> :
+ Ce profile est utilisable en activant la propriété <<doWebstart>> :
--------------------------------------------------------------------------------
mvn package -Pwebstart-profile
@@ -146,7 +164,7 @@
Le codebase du webstart généré pointe sur target/jnlp, ainsi on peut tester
en local le webstart avant tout déployement.
- Ce profile est utilisable en activant la propriété <doLocalWebstart> :
+ Ce profile est utilisable en activant la propriété <<doLocalWebstart>> :
--------------------------------------------------------------------------------
mvn package -Plocal-webstart-profile