Author: tchemit Date: 2010-07-01 14:53:07 +0200 (Thu, 01 Jul 2010) New Revision: 934 Url: http://nuiton.org/repositories/revision/eugene/934 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:25 UTC (rev 933) +++ trunk/pom.xml 2010-07-01 12:53:07 UTC (rev 934) @@ -273,6 +273,14 @@ <!--Multilanguage maven-site --> <locales>en,fr</locales> + + <!-- 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> @@ -318,53 +326,4 @@ <url>http://www.nuiton.org/repositories/browse/eugene/trunk</url> </scm> - <profiles> - - <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>