]> 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 aa4bbc607ea8341bd01224119b55b7a5a7bb0d7f..361565a17c1378d045f4abde90dd9e109f7d632e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,21 +1,17 @@
 <?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>
-               <artifactId>parent</artifactId>
-               <version>1.2.0</version>
-       </parent>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>0.3.4-SNAPSHOT</version>
+       <version>1.1.3-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>
+               <developmentCycle>1.1</developmentCycle>
+               <developmentCycle.startDate>2012-06-19</developmentCycle.startDate>
+               <version.argeo-distribution>1.3.1</version.argeo-distribution>
+               <version.argeo-commons>1.1.2</version.argeo-commons>
                <!-- distribution -->
                <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
                <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
                <module>server</module>
                <module>eclipse</module>
                <module>security</module>
-               <module>demo</module>
        </modules>
+       <organization>
+               <name>Argeo</name>
+               <url>http://www.argeo.org</url>
+       </organization>
        <url>${site.urlBase}/${developmentCycle}</url>
        <scm>
                <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
@@ -39,6 +38,7 @@
                </developerConnection>
                <url>https://svn.argeo.org/commons/trunk</url>
        </scm>
+       <inceptionYear>2007</inceptionYear>
        <licenses>
                <license>
                        <name>Apache 2</name>
@@ -64,6 +64,10 @@ limitations under the License.
                        </comments>
                </license>
        </licenses>
+       <issueManagement>
+               <system>Bugzilla</system>
+               <url>https://bugzilla.argeo.org</url>
+       </issueManagement>
        <developers>
                <developer>
                        <id>mbaudier</id>
@@ -126,11 +130,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>
@@ -143,15 +147,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>
@@ -212,7 +219,106 @@ limitations under the License.
                                <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>
@@ -235,26 +341,23 @@ limitations under the License.
                                </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>
+                                       <goals>deploy</goals>
+                                       <releaseProfiles>rpmbuild,rpmbuild-tp,el5</releaseProfiles>
                                </configuration>
                        </plugin>
                        <plugin>
@@ -280,15 +383,12 @@ limitations under the License.
                                </configuration>
                        </plugin>
                </plugins>
-               <!-- NOTE: This is just a vision for the future, it's not yet implemented: 
-                       see MNG-2216 -->
-               <!-- <sourceEncoding>UTF-8</sourceEncoding> -->
        </build>
        <dependencyManagement>
                <dependencies>
                        <dependency>
-                               <groupId>org.argeo.dep</groupId>
-                               <artifactId>versions-all</artifactId>
+                               <groupId>org.argeo.tp</groupId>
+                               <artifactId>binaries</artifactId>
                                <version>${version.argeo-distribution}</version>
                                <type>pom</type>
                                <scope>import</scope>
@@ -297,8 +397,8 @@ limitations under the License.
        </dependencyManagement>
        <repositories>
                <repository>
-                       <id>argeo</id>
-                       <url>http://maven.argeo.org/argeo</url>
+                       <id>argeo-tp</id>
+                       <url>http://dev.argeo.org/org.argeo.jcr.webapp/public/java/org.argeo.tp-1.3.1</url>
                        <releases>
                                <enabled>true</enabled>
                                <updatePolicy>daily</updatePolicy>
@@ -311,118 +411,50 @@ limitations under the License.
                        </snapshots>
                </repository>
        </repositories>
+       <pluginRepositories>
+               <pluginRepository>
+                       <id>central</id>
+                       <url>http://repo1.maven.org/maven2</url>
+                       <releases>
+                               <enabled>true</enabled>
+                               <updatePolicy>daily</updatePolicy>
+                               <checksumPolicy>fail</checksumPolicy>
+                       </releases>
+                       <snapshots>
+                               <enabled>false</enabled>
+                               <updatePolicy>never</updatePolicy>
+                               <checksumPolicy>fail</checksumPolicy>
+                       </snapshots>
+               </pluginRepository>
+               <pluginRepository>
+                       <id>argeo</id>
+                       <url>http://maven.argeo.org/argeo</url>
+                       <releases>
+                               <enabled>true</enabled>
+                               <updatePolicy>daily</updatePolicy>
+                               <checksumPolicy>fail</checksumPolicy>
+                       </releases>
+                       <snapshots>
+                               <enabled>false</enabled>
+                               <updatePolicy>never</updatePolicy>
+                               <checksumPolicy>fail</checksumPolicy>
+                       </snapshots>
+               </pluginRepository>
+       </pluginRepositories>
        <distributionManagement>
+               <repository>
+                       <uniqueVersion>false</uniqueVersion>
+                       <id>argeo-commons-restricted</id>
+                       <name>Argeo FOSS Repository</name>
+                       <url>dav:http://localhost:7080/org.argeo.jcr.webapp/webdav/java/org.argeo.commons-${version.argeo-commons}</url>
+               </repository>
                <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>
@@ -435,18 +467,10 @@ limitations under the License.
                                <snapshotRepository>
                                        <id>localrepo.snapshots</id>
                                        <name>Internal Snapshot Repository</name>
-                                       <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
-                                       </url>
+                                       <url>dav:http://localhost:7070/org.argeo.jcr.webapp/webdav/java/org.argeo.commons-${version.argeo-commons}</url>
                                </snapshotRepository>
                        </distributionManagement>
                </profile>
-               <profile>
-                       <id>full</id>
-                       <modules>
-                               <module>doc</module>
-                               <module>sandbox</module>
-                       </modules>
-               </profile>
                <profile>
                        <id>el5</id>
                        <properties>
@@ -455,5 +479,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