Author: tchemit Date: 2011-08-08 21:37:11 +0200 (Mon, 08 Aug 2011) New Revision: 1139 Url: http://nuiton.org/repositories/revision/mavenpom/1139 Log: pass to version 3.0.1-SNAPSHOT Anomalie #1664: need to expose redmine password in redmine-build-release-profile Evolution #1663: add a privateProject property for redmine private projects Evolution #1665: Make mavenpom4redmine works with redmine private projects Modified: trunk/mavenpom4labs/pom.xml trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml trunk/mavenpom4redmine/pom.xml trunk/mavenpom4redmine/src/site/apt/properties.apt trunk/pom.xml Modified: trunk/mavenpom4labs/pom.xml =================================================================== --- trunk/mavenpom4labs/pom.xml 2011-08-04 09:42:54 UTC (rev 1138) +++ trunk/mavenpom4labs/pom.xml 2011-08-08 19:37:11 UTC (rev 1139) @@ -34,7 +34,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom</artifactId> - <version>3.1-SNAPSHOT</version> + <version>3.0.1-SNAPSHOT</version> </parent> <artifactId>mavenpom4labs</artifactId> Modified: trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml =================================================================== --- trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml 2011-08-04 09:42:54 UTC (rev 1138) +++ trunk/mavenpom4redmine/mavenpom4redmineAndCentral/pom.xml 2011-08-08 19:37:11 UTC (rev 1139) @@ -34,7 +34,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom4redmine</artifactId> - <version>3.1-SNAPSHOT</version> + <version>3.0.1-SNAPSHOT</version> </parent> <artifactId>mavenpom4redmineAndCentral</artifactId> Modified: trunk/mavenpom4redmine/pom.xml =================================================================== --- trunk/mavenpom4redmine/pom.xml 2011-08-04 09:42:54 UTC (rev 1138) +++ trunk/mavenpom4redmine/pom.xml 2011-08-08 19:37:11 UTC (rev 1139) @@ -34,7 +34,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom</artifactId> - <version>3.1-SNAPSHOT</version> + <version>3.0.1-SNAPSHOT</version> </parent> <artifactId>mavenpom4redmine</artifactId> @@ -124,6 +124,9 @@ <!-- the redmine plateform used (nuiton.org or chorem.org) --> <platform>nuiton.org</platform> + <!-- change this to false for a private project (need some redmine login) --> + <publicProject>true</publicProject> + <license.licenseName>lgpl_v3</license.licenseName> <!-- redmine configuration --> @@ -134,6 +137,8 @@ <redmine.collectedArtifacts>target/collect-artifacts.txt</redmine.collectedArtifacts> <redmine.collectedAttachments>target/collect-attachments.txt</redmine.collectedAttachments> <redmine.deploymentUrl>${repository.home.url}</redmine.deploymentUrl> + <!-- make sure we log in redmine for private projects --> + <redmine.anonymous>${publicProject}</redmine.anonymous> <redmine.templateDirectory> http://maven-site.nuiton.org/mavenpom/announcement/redmine @@ -279,9 +284,7 @@ <configuration> <serverId>redmine-${platform}</serverId> <usernameOut>redmine.username</usernameOut> - <!-- TC-20100124 just expose username, no need - password --> - <!--<passwordOut>redmine.password</passwordOut>--> + <passwordOut>redmine.password</passwordOut> </configuration> </execution> <execution> Modified: trunk/mavenpom4redmine/src/site/apt/properties.apt =================================================================== --- trunk/mavenpom4redmine/src/site/apt/properties.apt 2011-08-04 09:42:54 UTC (rev 1138) +++ trunk/mavenpom4redmine/src/site/apt/properties.apt 2011-08-08 19:37:11 UTC (rev 1139) @@ -44,6 +44,8 @@ *----------------------------------------------+--------------------------------------------------------+ | {{platform}} | <<nuiton.org>> | *----------------------------------------------+--------------------------------------------------------+ +| {{publicProject}} | <<true>> | +*----------------------------------------------+--------------------------------------------------------+ | {{redmine.url}} | <<http://www.${platform}>> | *----------------------------------------------+--------------------------------------------------------+ | {{redmine.serverId}} | <<redmine-${platform}>> | @@ -78,6 +80,11 @@ chorem.org -------------------------------------------------------------------------------- +* {publicProject} + + Pour savoir si un project est public. Si le projet est privé dans redmine, il + faut alors mettre comme valeur <<false>>. + * {redmine.url} L'url du serveur redmine. Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2011-08-04 09:42:54 UTC (rev 1138) +++ trunk/pom.xml 2011-08-08 19:37:11 UTC (rev 1139) @@ -33,7 +33,7 @@ <groupId>org.nuiton</groupId> <artifactId>mavenpom</artifactId> - <version>3.1-SNAPSHOT</version> + <version>3.0.1-SNAPSHOT</version> <modules> <module>mavenpom4redmine</module>