Author: tchemit Date: 2010-07-01 14:53:08 +0200 (Thu, 01 Jul 2010) New Revision: 150 Url: http://nuiton.org/repositories/revision/jredmine/150 Log: use new central-safe configuration from mavenpom 2.2.2 Modified: trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-07-01 12:30:45 UTC (rev 149) +++ trunk/pom.xml 2010-07-01 12:53:08 UTC (rev 150) @@ -401,9 +401,6 @@ <projectId>jredmine</projectId> - <!-- remove this if maven-helper-plugin version is ok in mavenpom4redmine --> - <!--<helper.version>1.2.2</helper.version>--> - <!-- must be on a fixed version, not on the snapshot to make possible release --> <jredmine.version>1.1.3</jredmine.version> @@ -417,6 +414,14 @@ <test.verbose>false</test.verbose> <test.encoding>UTF-8</test.encoding> + <!-- release config --> + + <!-- activate this profile while doing release:prepare --> + <arguments>-DperformRelease -Pcentral-safe</arguments> + + <!-- activate this profile while doing release:perform --> + <releaseProfiles>central-safe</releaseProfiles> + </properties> <build> @@ -539,51 +544,6 @@ </properties> </profile> - <profile> - <id>central-safe</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - - <properties> - - <!-- deploy releases on nuiton-central-releases repository --> - <release.repository>${nuiton.central.release.repository}</release.repository> - - </properties> - - <build> - <defaultGoal>validate</defaultGoal> - <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>maven-helper-plugin</artifactId> - <executions> - <execution> - <id>check-central-safe</id> - <inherited>true</inherited> - <goals> - <goal>check-auto-container</goal> - </goals> - <configuration> - <addMavenCentral>true</addMavenCentral> - <failIfNotSafe>true</failIfNotSafe> - <repositories> - <nuiton-central-releases> - http://nexus.nuiton.org/nexus/content/repositories/nuiton-central-releases - </nuiton-central-releases> - </repositories> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> </project>
participants (1)
-
tchemit@users.nuiton.org