Prepare release
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 29 Dec 2009 14:58:46 +0000 (14:58 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 29 Dec 2009 14:58:46 +0000 (14:58 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@3224 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

pom.xml

diff --git a/pom.xml b/pom.xml
index 968eb75fa158e1eae76e15cf256c28a6bade69bd..a19e622376fbb2b8be6c5dd8fc354c042cf4371a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,6 @@
 <?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>
        <packaging>pom</packaging>
        <properties>
                <developmentCycle>0.1</developmentCycle>
-               <version.argeo-ria>0.12.2-SNAPSHOT</version.argeo-ria>
-               <version.maven-argeo-osgi>0.1.24</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>
        <scm>
                <connection>scm:svn:https://www.argeo.org/svn/commons/trunk</connection>
@@ -134,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>
@@ -159,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>
@@ -171,7 +169,6 @@ limitations under the License.
                                <configuration>
                                        <autoVersionSubmodules>true</autoVersionSubmodules>
                                        <releaseProfiles>release</releaseProfiles>
-                                       <goals>deploy</goals>
                                </configuration>
                        </plugin>
                </plugins>
@@ -180,8 +177,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>
@@ -203,4 +200,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