Author: tchemit Date: 2010-07-01 14:54:51 +0200 (Thu, 01 Jul 2010) New Revision: 1772 Url: http://nuiton.org/repositories/revision/i18n/1772 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:33 UTC (rev 1771) +++ trunk/pom.xml 2010-07-01 12:54:51 UTC (rev 1772) @@ -258,6 +258,14 @@ <!--Multilanguage maven-site --> <locales>fr,en</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> <!-- ************************************************************* --> @@ -271,51 +279,4 @@ <url>http://www.nuiton.org/repositories/browse/i18n/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>