This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pom. See http://git.nuiton.org/pom.git commit 0cb555ca7696232500a2df917465d011e759d48f Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon Jul 21 08:49:45 2014 +0200 fill README + use a internal profile --- README.txt | 7 ++++--- chorempom/README.txt | 23 +++++++++++++++++++++++ codelutinpom/README.txt | 23 +++++++++++++++++++++++ pom.xml | 40 ++++++++++++++++++++++++++++++++++++++-- 4 files changed, 88 insertions(+), 5 deletions(-) diff --git a/README.txt b/README.txt index bfd4555..25dfef6 100644 --- a/README.txt +++ b/README.txt @@ -11,7 +11,8 @@ codelutinpom). Build ----- -Always add a -DprojectId=pom to get a correct build +Always add a -Dinternal to get a correct build (this will fill the +correct platform and projectId for the project). Release ------- @@ -21,8 +22,8 @@ project configurations. To release this project all must be done by hand. -mvn jgitflow:release-start -Dplatform=nuiton.org -DprojectId=pom -mvn jgitflow:release-finish -Dplatform=nuiton.org -DprojectId=pom +mvn jgitflow:release-start -Dinternal +mvn jgitflow:release-finish -Dinternal This will (only): diff --git a/chorempom/README.txt b/chorempom/README.txt index b372c3a..56cdc64 100644 --- a/chorempom/README.txt +++ b/chorempom/README.txt @@ -2,3 +2,26 @@ Abstract -------- The ancestor pom for all maven projects hosted on https://forge.chorem.org + +Release +------- + +To perform a release of a project using this pom : + +mvn jgitflow:release-start +mvn jgitflow:release-finish -Ppost-release-profile + +This will: + +o deploy artifacts on maven central repository +o publish attachments in forge.chorem.org +o close version on forge.chorem.org +o publish a news on forge.chorem.org +o send a email to the commits list if the project +o create the git merge to master +o create the git release tag + +This will not: + +o generate the maven site +o deploy the maven site diff --git a/codelutinpom/README.txt b/codelutinpom/README.txt index 16ad2e6..fb6a1a6 100644 --- a/codelutinpom/README.txt +++ b/codelutinpom/README.txt @@ -2,3 +2,26 @@ Abstract -------- The ancestor pom for all maven projects hosted on https://forge.codelutin.com + +Release +------- + +To perform a release of a project using this pom : + +mvn jgitflow:release-start +mvn jgitflow:release-finish -Ppost-release-profile + +This will: + +o deploy artifacts on maven central repository +o publish attachments in forge.codelutin.com +o close version on forge.codelutin.com +o publish a news on forge.codelutin.com +o send a email to the commits list if the project +o create the git merge to master +o create the git release tag + +This will not: + +o generate the maven site +o deploy the maven site diff --git a/pom.xml b/pom.xml index 5cab89f..3863e5f 100644 --- a/pom.xml +++ b/pom.xml @@ -151,7 +151,7 @@ <properties> <!-- the redmine plateform used --> - <platform>nuiton.org</platform> + <platform/> <!-- a proprerty to define the id of the project, in a multi-module project, you must use a hard-cored value, otherwise for modules @@ -720,8 +720,8 @@ </flowInitContext> <scmCommentPrefix>[jgitflow-maven-plugin]</scmCommentPrefix> <autoVersionSubmodules>true</autoVersionSubmodules> - <keepBranch>true</keepBranch> <pushReleases>true</pushReleases> + <squash>true</squash> </configuration> </plugin> @@ -803,6 +803,27 @@ </execution> <execution> + <id>enforce-platform</id> + <goals> + <goal>enforce</goal> + </goals> + <phase>initialize</phase> + <configuration> + <rules> + <requireProperty> + <property>platform</property> + <message>"platform property must be specified."</message> + <regex>.+$</regex> + <regexMessage>"platform property can not be empty."</regexMessage> + </requireProperty> + </rules> + <ignoreCache>true</ignoreCache> + <failFast>true</failFast> + <fail>true</fail> + </configuration> + </execution> + + <execution> <id>enforce-projectId</id> <goals> <goal>enforce</goal> @@ -1747,5 +1768,20 @@ </build> </profile> + <!-- Profile to build the pom project --> + <profile> + <id>internal</id> + <activation> + <property> + <name>internal</name> + <value>true</value> + </property> + </activation> + <properties> + <platform>nuiton.org</platform> + <projectId>pom</projectId> + </properties> + </profile> + </profiles> </project> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.