Author: tchemit Date: 2010-06-19 20:55:36 +0200 (Sat, 19 Jun 2010) New Revision: 1766 Url: http://nuiton.org/repositories/revision/i18n/1766 Log: Utilisation de mavenpom4redmine 2.2 Modified: trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-06-02 10:27:46 UTC (rev 1765) +++ trunk/pom.xml 2010-06-19 18:55:36 UTC (rev 1766) @@ -33,7 +33,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom4redmine</artifactId> - <version>2.1.5</version> + <version>2.2</version> </parent> <artifactId>i18n</artifactId> @@ -254,10 +254,9 @@ <projectId>i18n</projectId> <processor.version>1.0.3</processor.version> - <helper.version>1.2.3</helper.version> <!--Multilanguage maven-site --> - <siteLocales>fr,en</siteLocales> + <locales>fr,en</locales> </properties> @@ -268,9 +267,55 @@ <!-- Source control management. --> <scm> <connection>scm:svn:http://svn.nuiton.org/svn/i18n/trunk</connection> - <developerConnection>scm:svn:http://svn.nuiton.org/svn/i18n/trunk - </developerConnection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/i18n/trunk</developerConnection> <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>