Author: tchemit Date: 2010-06-19 20:57:14 +0200 (Sat, 19 Jun 2010) New Revision: 266 Url: http://nuiton.org/repositories/revision/nuiton-widgets/266 Log: Utilisation de mavenpom4redmine 2.2 Modified: trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-06-02 10:29:40 UTC (rev 265) +++ trunk/pom.xml 2010-06-19 18:57:14 UTC (rev 266) @@ -1,196 +1,242 @@ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <!-- ************************************************************* --> - <!-- *** POM Relationships *************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> - <parent> - <groupId>org.nuiton</groupId> - <artifactId>mavenpom4redmine</artifactId> - <version>2.1.5</version> - </parent> + <parent> + <groupId>org.nuiton</groupId> + <artifactId>mavenpom4redmine</artifactId> + <version>2.2</version> + </parent> - <artifactId>nuiton-widgets</artifactId> - <version>1.0.3-SNAPSHOT</version> + <artifactId>nuiton-widgets</artifactId> + <version>1.0.3-SNAPSHOT</version> - <dependencies> - <dependency> - <groupId>org.nuiton</groupId> - <artifactId>nuiton-utils</artifactId> - <version>1.1.0</version> - <scope>compile</scope> - </dependency> + <dependencies> + <dependency> + <groupId>org.nuiton</groupId> + <artifactId>nuiton-utils</artifactId> + <version>1.1.0</version> + <scope>compile</scope> + </dependency> - <dependency> - <groupId>javax.mail</groupId> - <artifactId>mail</artifactId> - <version>1.4</version> - <scope>compile</scope> - </dependency> + <dependency> + <groupId>javax.mail</groupId> + <artifactId>mail</artifactId> + <version>1.4</version> + <scope>compile</scope> + </dependency> - <dependency> - <groupId>jgoodies</groupId> - <artifactId>looks</artifactId> - <version>1.2.2</version> - <scope>compile</scope> - </dependency> + <dependency> + <groupId>jgoodies</groupId> + <artifactId>looks</artifactId> + <version>1.2.2</version> + <scope>compile</scope> + </dependency> - <dependency> - <groupId>org.nuiton.thirdparty</groupId> - <artifactId>l2fprod-common</artifactId> - <version>0.1</version> - <scope>compile</scope> - </dependency> + <dependency> + <groupId>org.nuiton.thirdparty</groupId> + <artifactId>l2fprod-common</artifactId> + <version>0.1</version> + <scope>compile</scope> + </dependency> - <!-- cl patch is same but without system.out --> - <dependency> - <groupId>org.nuiton.thirdparty</groupId> - <artifactId>sdoc</artifactId> - <version>0.5.0-beta-patchcl</version> - <optional>true</optional> - </dependency> + <!-- cl patch is same but without system.out --> + <dependency> + <groupId>org.nuiton.thirdparty</groupId> + <artifactId>sdoc</artifactId> + <version>0.5.0-beta-patchcl</version> + <optional>true</optional> + </dependency> - <dependency> - <groupId>org.nuiton.thirdparty</groupId> - <artifactId>rsyntaxtextarea</artifactId> - <version>1.4.0</version> - <optional>true</optional> - </dependency> + <dependency> + <groupId>org.nuiton.thirdparty</groupId> + <artifactId>rsyntaxtextarea</artifactId> + <version>1.4.0</version> + <optional>true</optional> + </dependency> - <dependency> - <groupId>net.sf.jped</groupId> - <artifactId>jedit-syntax</artifactId> - <version>2.2.2</version> - <optional>true</optional> - </dependency> + <dependency> + <groupId>net.sf.jped</groupId> + <artifactId>jedit-syntax</artifactId> + <version>2.2.2</version> + <optional>true</optional> + </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.8.1</version> - <scope>test</scope> - </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.8.1</version> + <scope>test</scope> + </dependency> - </dependencies> + </dependencies> - <!-- ************************************************************* --> - <!-- *** Project Information ************************************* --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Project Information ************************************* --> + <!-- ************************************************************* --> - <name>Graphical Widget</name> - <description>Widget graphique util pour tous les développements.</description> - <inceptionYear>2004</inceptionYear> - <url>http://maven-site.nuiton.org/nuiton-widgets</url> + <name>Graphical Widget</name> + <description>Widget graphique util pour tous les développements.</description> + <inceptionYear>2004</inceptionYear> + <url>http://maven-site.nuiton.org/nuiton-widgets</url> - <!-- ************************************************************* --> - <!-- *** Build Settings ****************************************** --> - <!-- ************************************************************* --> + <!-- ************************************************************* --> + <!-- *** Build Settings ****************************************** --> + <!-- ************************************************************* --> - <packaging>jar</packaging> + <packaging>jar</packaging> - <properties> + <properties> - <i18n.version>1.2.2</i18n.version> - - <!-- extra files to include in release --> - <redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> - </properties> + <i18n.version>1.2.2</i18n.version> - <build> + <!-- extra files to include in release --> + <redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> + </properties> - <plugins> + <build> - <plugin> - <groupId>org.nuiton.i18n</groupId> - <artifactId>maven-i18n-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>parserJava</goal> - <goal>gen</goal> - </goals> - </execution> - </executions> - </plugin> + <plugins> - </plugins> + <plugin> + <groupId>org.nuiton.i18n</groupId> + <artifactId>maven-i18n-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>parserJava</goal> + <goal>gen</goal> + </goals> + </execution> + </executions> + </plugin> - <pluginManagement> - <plugins> + </plugins> - <plugin> - <groupId>org.nuiton.i18n</groupId> - <artifactId>maven-i18n-plugin</artifactId> - <version>${i18n.version}</version> - </plugin> + <pluginManagement> + <plugins> - <plugin> - <artifactId>maven-site-plugin</artifactId> - <dependencies> - <dependency> - <groupId>org.nuiton.jrst</groupId> - <artifactId>doxia-module-jrst</artifactId> - <version>${jrst.version}</version> - </dependency> - </dependencies> - </plugin> - </plugins> - </pluginManagement> + <plugin> + <groupId>org.nuiton.i18n</groupId> + <artifactId>maven-i18n-plugin</artifactId> + <version>${i18n.version}</version> + </plugin> - </build> + <plugin> + <artifactId>maven-site-plugin</artifactId> + <dependencies> + <dependency> + <groupId>org.nuiton.jrst</groupId> + <artifactId>doxia-module-jrst</artifactId> + <version>${jrst.version}</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </pluginManagement> - <!-- ************************************************************* --> - <!-- *** Build Environment ************************************** --> - <!-- ************************************************************* --> + </build> - <!-- Source control management. --> - <scm> - <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-widgets/trunk</connection> - <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-widgets/trunk</developerConnection> - <url>http://www.nuiton.org/repositories/browse/nuiton-widgets/trunk</url> - </scm> + <!-- ************************************************************* --> + <!-- *** Build Environment ************************************** --> + <!-- ************************************************************* --> - <profiles> - <!-- create assemblies only at release time --> - <profile> - <id>release-assembly-profile</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - <build> - <plugins> + <!-- Source control management. --> + <scm> + <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-widgets/trunk</connection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-widgets/trunk</developerConnection> + <url>http://www.nuiton.org/repositories/browse/nuiton-widgets/trunk</url> + </scm> - <!-- launch in a release the assembly automaticly --> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <executions> - <execution> - <id>create-assemblies</id> - <phase>verify</phase> - <goals> - <goal>single</goal> - </goals> - </execution> - </executions> - <configuration> - <attach>false</attach> - <descriptorRefs> - <descriptorRef>deps</descriptorRef> - <descriptorRef>full</descriptorRef> - </descriptorRefs> - </configuration> - </plugin> + <profiles> + <!-- create assemblies only at release time --> + <profile> + <id>assembly-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> - </plugins> + <!-- launch in a release the assembly automaticly --> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <id>create-assemblies</id> + <phase>verify</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + <configuration> + <attach>false</attach> + <descriptorRefs> + <descriptorRef>deps</descriptorRef> + <descriptorRef>full</descriptorRef> + </descriptorRefs> + </configuration> + </plugin> - </build> - </profile> - </profiles> + </plugins> + </build> + </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>