[maven-release-plugin] copy for tag argeo-commons-0.1.2
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 882c3708ca19e702e43bd0319a8afacd79d76927..b928539eca097dd0b18043b0eaa4cf91c0689ebc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,6 +1,5 @@
 <?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/maven-v4_0_0.xsd">
+<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/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.argeo</groupId>
@@ -9,20 +8,24 @@
        </parent>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>0.1.1-SNAPSHOT</version>
+       <version>0.1.2</version>
        <name>Argeo Commons</name>
        <packaging>pom</packaging>
        <properties>
                <developmentCycle>0.1</developmentCycle>
-               <version.argeo-ria>0.12.1</version.argeo-ria>
-               <version.maven-argeo-osgi>0.1.21</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>
+               <version.argeo-distribution>1.0.2</version.argeo-distribution>
+               <version.argeo-ria>0.12.2</version.argeo-ria>
+               <version.maven-argeo-osgi>0.1.25</version.maven-argeo-osgi>
+               <version.maven-bundle-plugin>2.0.1</version.maven-bundle-plugin>
+               <version.maven-argeo-qooxdoo>0.8.3.0</version.maven-argeo-qooxdoo>
+               <site.repoBase>file:///var/argeo/projects/commons/www/site</site.repoBase>
+               <site.urlBase>http://www.argeo.org/projects/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://www.argeo.org/svn/commons/tags/argeo-commons-0.1.2</connection>
+               <developerConnection>scm:svn:https://www.argeo.org/svn/commons/tags/argeo-commons-0.1.2</developerConnection>
+               <url>https://www.argeo.org/svn/commons/tags/argeo-commons-0.1.2</url>
        </scm>
        <licenses>
                <license>
@@ -135,7 +138,6 @@ limitations under the License.
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>buildnumber-maven-plugin</artifactId>
-                               <version>1.0-beta-3</version>
                                <executions>
                                        <execution>
                                                <phase>validate</phase>
@@ -160,11 +162,6 @@ 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
-                               -->
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
@@ -172,7 +169,7 @@ limitations under the License.
                                <configuration>
                                        <autoVersionSubmodules>true</autoVersionSubmodules>
                                        <releaseProfiles>release</releaseProfiles>
-                                       <goals>deploy</goals>
+                                       <preparationGoals>clean install</preparationGoals>
                                </configuration>
                        </plugin>
                </plugins>
@@ -181,8 +178,8 @@ limitations under the License.
                <dependencies>
                        <dependency>
                                <groupId>org.argeo.dep</groupId>
-                               <artifactId>versions</artifactId>
-                               <version>1.0.0</version>
+                               <artifactId>versions-all</artifactId>
+                               <version>${version.argeo-distribution}</version>
                                <type>pom</type>
                                <scope>import</scope>
                        </dependency>
@@ -204,4 +201,111 @@ 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>
+                               <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>
+                               <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>
+                               <configuration>
+                                       <aggregate>true</aggregate>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-report-plugin</artifactId>
+                               <inherited>false</inherited>
+                               <configuration>
+                                       <aggregate>true</aggregate>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>taglist-maven-plugin</artifactId>
+                               <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>
+                               <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