]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - pom.xml
[maven-release-plugin] prepare for next development iteration
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index d1d922b3dfb87ccac980d6d36825536bc6f00da4..e23c24e84fcec2f840f4100d98ed8e9bfcc29db3 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,17 +8,15 @@
        </parent>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>0.3.4-SNAPSHOT</version>
+       <version>1.1.1-SNAPSHOT</version>
        <name>Argeo Commons</name>
+       <description>Generic layers integrating free / open source technologies in order to quickly develop custom enterprise systems: security, JCR, user interface, monitoring</description>
        <packaging>pom</packaging>
        <properties>
-               <developmentCycle>0.3</developmentCycle>
-               <version.argeo-distribution>1.1.7</version.argeo-distribution>
-               <version.argeo-commons>0.3.4-SNAPSHOT</version.argeo-commons>
-               <version.equinox>3.6.2</version.equinox>
-               <!-- maven -->
-               <version.maven-argeo-osgi>1.0.33</version.maven-argeo-osgi>
-               <version.maven-argeo-qooxdoo>1.1.1</version.maven-argeo-qooxdoo>
+               <developmentCycle>0.4</developmentCycle>
+               <developmentCycle.startDate>2012-06-19</developmentCycle.startDate>
+               <version.argeo-distribution>1.2.0</version.argeo-distribution>
+               <version.argeo-commons>0.4.0</version.argeo-commons>
                <!-- distribution -->
                <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
                <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
@@ -34,7 +31,6 @@
                <module>server</module>
                <module>eclipse</module>
                <module>security</module>
-               <module>demo</module>
        </modules>
        <url>${site.urlBase}/${developmentCycle}</url>
        <scm>
@@ -43,6 +39,7 @@
                </developerConnection>
                <url>https://svn.argeo.org/commons/trunk</url>
        </scm>
+       <inceptionYear>2007</inceptionYear>
        <licenses>
                <license>
                        <name>Apache 2</name>
@@ -93,13 +90,11 @@ limitations under the License.
                </developer>
        </developers>
        <build>
-               <!-- NOTE: This is just a vision for the future, it's not yet implemented: 
-                       see MNG-2216 <sourceEncoding>UTF-8</sourceEncoding> -->
                <extensions>
                        <extension>
                                <groupId>org.apache.maven.wagon</groupId>
-                               <artifactId>wagon-webdav</artifactId>
-                               <version>1.0-beta-2</version>
+                               <artifactId>wagon-webdav-jackrabbit</artifactId>
+                               <version>2.2</version>
                        </extension>
                </extensions>
                <pluginManagement>
@@ -109,8 +104,8 @@ limitations under the License.
                                        <artifactId>maven-compiler-plugin</artifactId>
                                        <version>2.3.2</version>
                                        <configuration>
-                                               <source>1.5</source>
-                                               <target>1.5</target>
+                                               <source>1.6</source>
+                                               <target>1.6</target>
                                        </configuration>
                                </plugin>
                                <plugin>
@@ -132,11 +127,11 @@ limitations under the License.
                                </plugin>
                                <plugin>
                                        <artifactId>maven-surefire-plugin</artifactId>
-                                       <version>2.7.1</version>
+                                       <version>2.12</version>
                                </plugin>
                                <plugin>
                                        <artifactId>maven-jar-plugin</artifactId>
-                                       <version>2.3.1</version>
+                                       <version>2.4</version>
                                        <configuration>
                                                <archive>
                                                        <manifestFile>META-INF/MANIFEST.MF</manifestFile>
@@ -149,15 +144,18 @@ limitations under the License.
                                </plugin>
                                <plugin>
                                        <artifactId>maven-resources-plugin</artifactId>
-                                       <version>2.4.3</version>
+                                       <version>2.5</version>
                                </plugin>
                                <plugin>
-                                       <artifactId>maven-site-plugin</artifactId>
-                                       <version>2.1.1</version>
+                                       <artifactId>maven-dependency-plugin</artifactId>
+                                       <version>2.4</version>
                                </plugin>
                                <plugin>
                                        <artifactId>maven-release-plugin</artifactId>
-                                       <version>2.1</version>
+                                       <version>2.2.2</version>
+                                       <configuration>
+                                               <autoVersionSubmodules>true</autoVersionSubmodules>
+                                       </configuration>
                                </plugin>
                                <!-- Apache -->
                                <plugin>
@@ -170,7 +168,7 @@ limitations under the License.
                                                <instructions>
                                                        <Bundle-Version>${project.version}-r${timestamp}</Bundle-Version>
                                                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                                                       <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
+                                                       <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
                                                </instructions>
                                        </configuration>
                                        <executions>
@@ -212,13 +210,112 @@ limitations under the License.
                                <plugin>
                                        <groupId>org.argeo.maven.plugins</groupId>
                                        <artifactId>maven-argeo-osgi-plugin</artifactId>
-                                       <version>${version.maven-argeo-osgi}</version>
+                                       <version>1.0.33</version>
                                </plugin>
                                <!-- Others -->
                                <plugin>
                                        <groupId>com.mycila.maven-license-plugin</groupId>
                                        <artifactId>maven-license-plugin</artifactId>
-                                       <version>1.8.0</version>
+                                       <version>1.9.0</version>
+                               </plugin>
+                               <!-- Site -->
+                               <plugin>
+                                       <artifactId>maven-site-plugin</artifactId>
+                                       <version>3.0</version>
+                                       <configuration>
+                                               <siteDirectory>doc/site</siteDirectory>
+                                               <generateSitemap>true</generateSitemap>
+                                               <skip>true</skip>
+                                               <reportPlugins>
+                                                       <plugin>
+                                                               <groupId>org.apache.maven.plugins</groupId>
+                                                               <artifactId>maven-project-info-reports-plugin</artifactId>
+                                                               <version>2.4</version>
+                                                               <reportSets>
+                                                                       <reportSet>
+                                                                               <reports>
+                                                                                       <report>index</report>
+                                                                                       <report>summary</report>
+                                                                                       <report>license</report>
+                                                                                       <report>scm</report>
+                                                                                       <report>issue-tracking</report>
+                                                                                       <report>project-team</report>
+                                                                               </reports>
+                                                                       </reportSet>
+                                                               </reportSets>
+                                                       </plugin>
+                                                       <plugin>
+                                                               <artifactId>maven-javadoc-plugin</artifactId>
+                                                               <version>2.8.1</version>
+                                                               <configuration>
+                                                                       <encoding>UTF-8</encoding>
+                                                                       <excludePackageNames>*.demo.*:*.internal.*</excludePackageNames>
+                                                                       <detectLinks>true</detectLinks>
+                                                                       <links>
+                                                                               <!-- OSGi -->
+                                                                               <link>http://www.osgi.org/javadoc/r4v42</link>
+                                                                               <!-- Spring -->
+                                                                               <link>http://static.springsource.org/spring/docs/2.5.x/api</link>
+                                                                               <link>http://static.springsource.org/osgi/docs/1.2.x/api</link>
+                                                                               <link>http://static.springsource.org/spring-security/site/docs/2.0.x/apidocs</link>
+                                                                               <!-- JCR -->
+                                                                               <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
+                                                                               <!-- Eclipse -->
+                                                                               <link>http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api</link>
+                                                                       </links>
+                                                               </configuration>
+                                                               <reportSets>
+                                                                       <reportSet>
+                                                                               <id>aggregate</id>
+                                                                               <reports>
+                                                                                       <report>aggregate</report>
+                                                                               </reports>
+                                                                       </reportSet>
+                                                               </reportSets>
+                                                       </plugin>
+                                                       <plugin>
+                                                               <artifactId>maven-jxr-plugin</artifactId>
+                                                               <version>2.3</version>
+                                                               <configuration>
+                                                                       <excludes>
+                                                                               <exclude>**/demo/**/*</exclude>
+                                                                               <exclude>**/internal/**/*</exclude>
+                                                                       </excludes>
+                                                               </configuration>
+                                                               <reportSets>
+                                                                       <reportSet>
+                                                                               <id>aggregate</id>
+                                                                               <reports>
+                                                                                       <report>aggregate</report>
+                                                                               </reports>
+                                                                       </reportSet>
+                                                               </reportSets>
+                                                       </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>
+                                                                       </tags>
+                                                               </configuration>
+                                                       </plugin>
+                                                       <plugin>
+                                                               <artifactId>maven-changelog-plugin</artifactId>
+                                                               <version>2.2</version>
+                                                               <configuration>
+                                                                       <type>date</type>
+                                                                       <dates>
+                                                                               <date>${developmentCycle.startDate}</date>
+                                                                       </dates>
+                                                                       <dateFormat>yyyy-MM-dd</dateFormat>
+                                                               </configuration>
+                                                       </plugin>
+                                               </reportPlugins>
+                                       </configuration>
                                </plugin>
                        </plugins>
                </pluginManagement>
@@ -239,40 +336,24 @@ limitations under the License.
                                        <doUpdate>false</doUpdate>
                                        <timestampFormat>yyMMdd_HHmm</timestampFormat>
                                </configuration>
-                               <!-- <configuration> -->
-                               <!-- <doCheck>false</doCheck> -->
-                               <!-- <doUpdate>false</doUpdate> -->
-                               <!-- <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>
                                <configuration>
                                        <encoding>UTF-8</encoding>
                                </configuration>
                        </plugin>
                        <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-site-plugin</artifactId>
+                               <inherited>false</inherited>
                                <configuration>
-                                       <siteDirectory>doc/site</siteDirectory>
+                                       <skip>false</skip>
                                </configuration>
                        </plugin>
                        <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-release-plugin</artifactId>
                                <configuration>
-                                       <autoVersionSubmodules>true</autoVersionSubmodules>
-                                       <releaseProfiles>release</releaseProfiles>
-                                       <preparationGoals>clean install</preparationGoals>
+                                       <releaseProfiles>rpmbuild,rpmbuild-tp,el5</releaseProfiles>
                                </configuration>
                        </plugin>
                        <plugin>
@@ -330,114 +411,10 @@ limitations under the License.
                <site>
                        <id>argeo-commons-site</id>
                        <name>Argeo Commons Site</name>
-                       <url>file://${site.repoBase}/${developmentCycle}/</url>
+                       <url>file://${site.repoBase}/${project.version}</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>
                <profile>
                        <id>localrepo</id>
                        <distributionManagement>
@@ -455,13 +432,6 @@ limitations under the License.
                                </snapshotRepository>
                        </distributionManagement>
                </profile>
-               <profile>
-                       <id>full</id>
-                       <modules>
-                               <module>doc</module>
-                               <module>sandbox</module>
-                       </modules>
-               </profile>
                <profile>
                        <id>el5</id>
                        <properties>
@@ -470,5 +440,11 @@ limitations under the License.
                                </rpm.stagingRepository>
                        </properties>
                </profile>
+               <profile>
+                       <id>doc</id>
+                       <modules>
+                               <module>doc</module>
+                       </modules>
+               </profile>
        </profiles>
 </project>
\ No newline at end of file