]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - pom.xml
[maven-release-plugin] prepare release argeo-commons-0.3.1
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 6ce75d8e29038dc789d14503e14dbbf65271e6c9..d7bd8d0a714e863162b51e5bbf409d44399aa8f8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -4,24 +4,30 @@
        <parent>
                <groupId>org.argeo</groupId>
                <artifactId>parent</artifactId>
-               <version>1.0.0</version>
+               <version>1.2.0</version>
        </parent>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>0.1.2-SNAPSHOT</version>
+       <version>0.3.1</version>
        <name>Argeo Commons</name>
        <packaging>pom</packaging>
        <properties>
-               <developmentCycle>0.1</developmentCycle>
-               <version.argeo-ria>0.12.2-SNAPSHOT</version.argeo-ria>
-               <version.maven-argeo-osgi>0.1.22</version.maven-argeo-osgi>
-               <version.maven-bundle-plugin>2.0.0</version.maven-bundle-plugin>
-               <version.maven-argeo-qooxdoo>0.8.2.1</version.maven-argeo-qooxdoo>
+               <developmentCycle>0.3</developmentCycle>
+               <version.argeo-distribution>1.1.3</version.argeo-distribution>
+               <version.argeo-commons>${project.version}</version.argeo-commons>
+               <version.argeo-ria>0.12.5</version.argeo-ria>
+               <version.equinox>3.6.2</version.equinox>
+               <version.maven-argeo-osgi>0.1.31</version.maven-argeo-osgi>
+               <version.maven-bundle-plugin>2.2.0</version.maven-bundle-plugin>
+               <version.maven-argeo-qooxdoo>1.1.1</version.maven-argeo-qooxdoo>
+               <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
+               <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
        </properties>
+       <url>${site.urlBase}/${developmentCycle}</url>
        <scm>
-               <connection>scm:svn:https://www.argeo.org/svn/commons/trunk</connection>
-               <developerConnection>scm:svn:https://www.argeo.org/svn/commons/trunk</developerConnection>
-               <url>https://www.argeo.org/svn/commons/trunk</url>
+               <connection>scm:svn:https://svn.argeo.org/commons/tags/argeo-commons-0.3.1</connection>
+               <developerConnection>scm:svn:https://svn.argeo.org/commons/tags/argeo-commons-0.3.1</developerConnection>
+               <url>https://svn.argeo.org/commons/tags/argeo-commons-0.3.1</url>
        </scm>
        <licenses>
                <license>
@@ -31,7 +37,7 @@
                        <comments><![CDATA[
 SLC - Software LifeCycle framework
                           
-Copyright 2008 Mathieu Baudier - Argeo e.U.
+Copyright 2010 Mathieu Baudier
 
 Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
 you may not use this file except in compliance with the License.
@@ -66,7 +72,10 @@ limitations under the License.
                <module>basic</module>
                <module>osgi</module>
                <module>server</module>
+               <module>eclipse</module>
                <module>security</module>
+               <module>gis</module>
+               <module>sandbox</module>
        </modules>
        <build>
                <pluginManagement>
@@ -74,6 +83,7 @@ limitations under the License.
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
+                                       <version>2.3.2</version>
                                        <configuration>
                                                <source>1.5</source>
                                                <target>1.5</target>
@@ -82,6 +92,7 @@ limitations under the License.
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-source-plugin</artifactId>
+                                       <version>2.1.2</version>
                                        <executions>
                                                <execution>
                                                        <id>attach-sources</id>
@@ -92,6 +103,16 @@ limitations under the License.
                                                </execution>
                                        </executions>
                                </plugin>
+                               <plugin>
+                                       <groupId>org.apache.maven.plugins</groupId>
+                                       <artifactId>maven-clean-plugin</artifactId>
+                                       <version>2.4.1</version>
+                               </plugin>
+                               <plugin>
+                                       <groupId>org.apache.maven.plugins</groupId>
+                                       <artifactId>maven-surefire-plugin</artifactId>
+                                       <version>2.7.1</version>
+                               </plugin>
                                <plugin>
                                        <groupId>org.argeo.maven.plugins</groupId>
                                        <artifactId>maven-argeo-osgi-plugin</artifactId>
@@ -99,9 +120,10 @@ limitations under the License.
                                </plugin>
                                <plugin>
                                        <artifactId>maven-jar-plugin</artifactId>
+                                       <version>2.3.1</version>
                                        <configuration>
                                                <archive>
-                                                       <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
+                                                       <manifestFile>META-INF/MANIFEST.MF</manifestFile>
                                                </archive>
                                        </configuration>
                                </plugin>
@@ -111,10 +133,11 @@ limitations under the License.
                                        <version>${version.maven-bundle-plugin}</version>
                                        <extensions>true</extensions>
                                        <configuration>
-                                               <manifestLocation>target/classes/META-INF</manifestLocation>
+                                               <manifestLocation>META-INF</manifestLocation>
                                                <instructions>
                                                        <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
-                                                       <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                                                       <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                                                       <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
                                                        <_removeheaders>Bnd-LastModified</_removeheaders>
                                                </instructions>
                                        </configuration>
@@ -134,10 +157,10 @@ limitations under the License.
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>buildnumber-maven-plugin</artifactId>
-                               <version>1.0-beta-3</version>
+                               <version>1.0-beta-4</version>
                                <executions>
                                        <execution>
-                                               <phase>validate</phase>
+                                               <phase>generate-resources</phase>
                                                <goals>
                                                        <goal>create</goal>
                                                </goals>
@@ -146,12 +169,20 @@ limitations under the License.
                                <configuration>
                                        <doCheck>false</doCheck>
                                        <doUpdate>false</doUpdate>
-                                       <useLastCommittedRevision>true</useLastCommittedRevision>
+                                       <format>{0,date,yyyyMMdd_HHmmss}</format>
+                                       <items>
+                                               <item>timestamp</item>
+                                       </items>
+                                       <revisionOnScmFailure>git</revisionOnScmFailure>
+                                       <providerImplementations>
+                                               <git>svn</git>
+                                       </providerImplementations>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-resources-plugin</artifactId>
+                               <version>2.4.3</version>
                                <configuration>
                                        <encoding>UTF-8</encoding>
                                </configuration>
@@ -159,19 +190,39 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-site-plugin</artifactId>
-                               <version>2.0-beta-5</version>
-                               <!--
-                                       The site plugin is buggy with multi modules.
-                                       http://jira.codehaus.org/browse/MSITE-276
-                               -->
+                               <version>2.1.1</version>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-release-plugin</artifactId>
+                               <version>2.1</version>
                                <configuration>
                                        <autoVersionSubmodules>true</autoVersionSubmodules>
                                        <releaseProfiles>release</releaseProfiles>
-                                       <goals>deploy</goals>
+                                       <preparationGoals>clean install</preparationGoals>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>com.mycila.maven-license-plugin</groupId>
+                               <artifactId>maven-license-plugin</artifactId>
+                               <version>1.8.0</version>
+                               <configuration>
+                                       <header>license-apache2-header.txt</header>
+                                       <failIfMissing>true</failIfMissing>
+                                       <aggregate>true</aggregate>
+                                       <includes>
+                                               <include>src/**/*.java</include>
+                                               <include>src/**/*.xml</include>
+                                       </includes>
+                                       <excludes>
+                                               <exclude>**/springutil/**</exclude>
+                                               <exclude>**/qooxdoo-sdk/**</exclude>
+                                       </excludes>
+                                       <useDefaultExcludes>true</useDefaultExcludes>
+                                       <mapping>
+                                               <java>SLASHSTAR_STYLE</java>
+                                               <xml>XML_STYLE</xml>
+                                       </mapping>
                                </configuration>
                        </plugin>
                </plugins>
@@ -180,8 +231,8 @@ limitations under the License.
                <dependencies>
                        <dependency>
                                <groupId>org.argeo.dep</groupId>
-                               <artifactId>versions</artifactId>
-                               <version>1.0.1-SNAPSHOT</version>
+                               <artifactId>versions-all</artifactId>
+                               <version>${version.argeo-distribution}</version>
                                <type>pom</type>
                                <scope>import</scope>
                        </dependency>
@@ -190,7 +241,7 @@ limitations under the License.
        <repositories>
                <repository>
                        <id>argeo</id>
-                       <url>http://www.argeo.org/maven/argeo</url>
+                       <url>http://maven.argeo.org/argeo</url>
                        <releases>
                                <enabled>true</enabled>
                                <updatePolicy>daily</updatePolicy>
@@ -203,4 +254,117 @@ limitations under the License.
                        </snapshots>
                </repository>
        </repositories>
+       <distributionManagement>
+               <site>
+                       <id>argeo-commons-site</id>
+                       <name>Argeo Commons Site</name>
+                       <url>file://${site.repoBase}/${developmentCycle}/</url>
+               </site>
+       </distributionManagement>
+       <reporting>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-project-info-reports-plugin</artifactId>
+                               <version>2.3.1</version>
+                               <reportSets>
+                                       <reportSet>
+                                               <reports>
+                                                       <report>index</report>
+                                                       <report>summary</report>
+                                                       <report>license</report>
+                                                       <report>scm</report>
+                                                       <report>issue-tracking</report>
+                                                       <report>dependencies</report>
+                                               </reports>
+                                       </reportSet>
+                                       <reportSet>
+                                               <inherited>false</inherited>
+                                               <reports>
+                                                       <report>project-team</report>
+                                               </reports>
+                                       </reportSet>
+                               </reportSets>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-javadoc-plugin</artifactId>
+                               <version>2.7</version>
+                               <inherited>false</inherited>
+                               <configuration>
+                                       <aggregate>true</aggregate>
+                                       <encoding>UTF-8</encoding>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jxr-plugin</artifactId>
+                               <version>2.2</version>
+                               <configuration>
+                                       <aggregate>true</aggregate>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-report-plugin</artifactId>
+                               <version>2.7.1</version>
+                               <inherited>false</inherited>
+                               <configuration>
+                                       <aggregate>true</aggregate>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>taglist-maven-plugin</artifactId>
+                               <version>2.4</version>
+                               <configuration>
+                                       <aggregate>true</aggregate>
+                                       <tags>
+                                               <tag>TODO</tag>
+                                               <tag>FIXME</tag>
+                                               <tag>@deprecated</tag>
+                                       </tags>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-changelog-plugin</artifactId>
+                               <version>2.2</version>
+                               <inherited>false</inherited>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-pmd-plugin</artifactId>
+                               <version>2.3</version>
+                               <inherited>false</inherited>
+                               <configuration>
+                                       <linkXref>true</linkXref>
+                                       <targetJdk>1.5</targetJdk>
+                                       <aggregate>true</aggregate>
+                                       <excludes>
+                                               <exclude>**/springutil/*.java</exclude>
+                                       </excludes>
+                               </configuration>
+                               <reportSets>
+                                       <reportSet>
+                                               <reports>
+                                                       <report>cpd</report>
+                                               </reports>
+                                       </reportSet>
+                               </reportSets>
+                       </plugin>
+               </plugins>
+       </reporting>
+       <profiles>
+               <profile>
+                       <id>release</id>
+                       <distributionManagement>
+                               <site>
+                                       <id>argeo-commons-site</id>
+                                       <name>Argeo Commons Site</name>
+                                       <url>file://${site.repoBase}/${project.version}</url>
+                               </site>
+                       </distributionManagement>
+               </profile>
+       </profiles>
 </project>
\ No newline at end of file