[maven-release-plugin] copy for tag argeo-commons-0.2.0
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 88680138197611597d12aee277c098b768de0d2d..3d26210fd415768a1252c3d56e49e233a1d40064 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,21 +8,24 @@
        </parent>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>0.1.1-SNAPSHOT</version>
+       <version>0.2.0</version>
        <name>Argeo Commons</name>
        <packaging>pom</packaging>
        <properties>
                <developmentCycle>0.1</developmentCycle>
-               <version.slc>0.12.1-SNAPSHOT</version.slc>
-               <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.4</version.argeo-distribution>
+               <version.argeo-ria>0.12.4</version.argeo-ria>
+               <version.maven-argeo-osgi>0.1.28</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.2.0</connection>
+               <developerConnection>scm:svn:https://www.argeo.org/svn/commons/tags/argeo-commons-0.2.0</developerConnection>
+               <url>https://www.argeo.org/svn/commons/tags/argeo-commons-0.2.0</url>
        </scm>
        <licenses>
                <license>
@@ -69,6 +71,7 @@ limitations under the License.
                <module>osgi</module>
                <module>server</module>
                <module>security</module>
+               <module>sandbox</module>
        </modules>
        <build>
                <pluginManagement>
@@ -136,7 +139,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>
@@ -161,11 +163,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>
@@ -173,17 +170,46 @@ limitations under the License.
                                <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>
+                               <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>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>check</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>
        <dependencyManagement>
                <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>
@@ -205,4 +231,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