[maven-release-plugin] prepare release argeo-commons-2.1.85
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 9ce7476aaa03284512eaab1f94d3318408f00365..e1a33e279d58aa6f32a9f89249292d5488c274a8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,17 +1,15 @@
 <?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>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>2.1.73-SNAPSHOT</version>
+       <version>2.1.85</version>
        <name>Argeo Commons</name>
        <packaging>pom</packaging>
+       <!-- <url>http://repo.argeo.org/data/docs/argeo-2.1/site/argeo-commons/</url> -->
        <properties>
-               <version.argeo-commons>2.1.73</version.argeo-commons>
-               <developmentCycle.argeo-commons>2.1</developmentCycle.argeo-commons>
-               <developmentCycle.argeo-commons.startDate>2012-12-19</developmentCycle.argeo-commons.startDate>
-               <version.argeo-tp>2.1.20</version.argeo-tp>
+               <version.argeo-commons>2.1.85</version.argeo-commons>
+               <version.argeo-tp>2.1.27</version.argeo-tp>
                <!-- RPM -->
                <argeo.rpm.release>7</argeo.rpm.release>
                <argeo.rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-2/el7</argeo.rpm.stagingRepository>
@@ -25,6 +23,7 @@
                <module>org.argeo.enterprise</module>
                <module>org.argeo.jcr</module>
                <module>org.argeo.osgi.boot</module>
+               <module>org.argeo.core</module>
                <!-- Eclipse -->
                <module>org.argeo.eclipse.ui</module>
                <module>org.argeo.eclipse.ui.rap</module>
                <!-- CMS E4 -->
                <module>org.argeo.cms.e4</module>
                <module>org.argeo.cms.e4.rap</module>
-               <!-- CMS Workbench -->
-               <module>org.argeo.cms.ui.workbench</module>
-               <module>org.argeo.cms.ui.workbench.rap</module>
                <!-- Third Parties Extensions -->
                <module>org.argeo.ext.jackrabbit</module>
-               <module>org.argeo.ext.rap.ui.workbench</module>
+               <module>org.argeo.ext.equinox.jetty</module>
                <!-- Distribution -->
+               <module>maven</module>
                <module>dep</module>
                <module>demo</module>
                <module>doc</module>
@@ -53,7 +50,7 @@
                <connection>scm:git:http://git.argeo.org/apache2/argeo-commons.git</connection>
                <url>http://git.argeo.org/?p=apache2/argeo-commons.git;a=summary</url>
                <developerConnection>scm:git:https://code.argeo.org/git/apache2/argeo-commons.git</developerConnection>
-               <tag>HEAD</tag>
+               <tag>argeo-commons-2.1.85</tag>
        </scm>
        <inceptionYear>2007</inceptionYear>
        <licenses>
@@ -137,13 +134,14 @@ limitations under the License.
                                <!-- Maven -->
                                <plugin>
                                        <artifactId>maven-compiler-plugin</artifactId>
-                                       <version>3.3</version>
+                                       <version>3.8.1</version>
                                        <configuration>
-                                               <source>1.8</source>
+                                               <!-- <source>1.8</source> -->
+                                               <source>11</source>
                                                <target>1.8</target>
                                                <compilerId>eclipse</compilerId>
                                                <!-- Required for compliance level, see http://jira.codehaus.org/browse/PLXCOMP-231 -->
-                                               <optimize>true</optimize>
+                                               <!-- <optimize>true</optimize> -->
                                                <!-- Hack to work around issues with generated annotations : -->
                                                <generatedSourcesDirectory>target/classes</generatedSourcesDirectory>
                                                <generatedTestSourcesDirectory>target/test-classes</generatedTestSourcesDirectory>
@@ -152,30 +150,15 @@ limitations under the License.
                                                <dependency>
                                                        <groupId>org.codehaus.plexus</groupId>
                                                        <artifactId>plexus-compiler-eclipse</artifactId>
-                                                       <version>2.6</version>
+                                                       <version>2.8.5</version>
+                                               </dependency>
+                                               <dependency>
+                                                       <groupId>org.eclipse.jdt</groupId>
+                                                       <artifactId>ecj</artifactId>
+                                                       <version>3.19.0</version>
                                                </dependency>
                                        </dependencies>
                                </plugin>
-                               <plugin>
-                                       <artifactId>maven-source-plugin</artifactId>
-                                       <version>2.4</version>
-                                       <executions>
-                                               <execution>
-                                                       <id>attach-sources</id>
-                                                       <phase>package</phase>
-                                                       <goals>
-                                                               <goal>jar</goal>
-                                                       </goals>
-                                               </execution>
-                                       </executions>
-                                       <configuration>
-                                               <excludes>
-                                                       <!-- Prevents source jars to contain misleading data -->
-                                                       <exclude>plugin.xml</exclude>
-                                                       <exclude>META-INF/MANIFEST.MF</exclude>
-                                               </excludes>
-                                       </configuration>
-                               </plugin>
                                <plugin>
                                        <artifactId>maven-clean-plugin</artifactId>
                                        <version>2.6.1</version>
@@ -203,6 +186,18 @@ limitations under the License.
                                                </archive>
                                        </configuration>
                                </plugin>
+                               <plugin>
+                                       <artifactId>maven-source-plugin</artifactId>
+                                       <version>3.1.0</version>
+                                       <configuration>
+                                               <excludes>
+                                                       <exclude>**/*.class</exclude>
+                                                       <!-- Prevents source jars to contain misleading data -->
+                                                       <exclude>plugin.xml</exclude>
+                                                       <exclude>META-INF/MANIFEST.MF</exclude>
+                                               </excludes>
+                                       </configuration>
+                               </plugin>
                                <plugin>
                                        <artifactId>maven-antrun-plugin</artifactId>
                                        <version>1.8</version>
@@ -215,6 +210,25 @@ limitations under the License.
                                        <artifactId>maven-dependency-plugin</artifactId>
                                        <version>2.9</version>
                                </plugin>
+                               <plugin>
+                                       <artifactId>maven-site-plugin</artifactId>
+                                       <version>3.7</version>
+                               </plugin>
+                               <plugin>
+                                       <artifactId>maven-javadoc-plugin</artifactId>
+                                       <version>3.0.0</version>
+                                       <configuration>
+                                               <failOnError>false</failOnError>
+                                               <additionalJOption>-Xdoclint:none</additionalJOption>
+                                               <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames>
+                                               <encoding>UTF-8</encoding>
+                                       </configuration>
+                               </plugin>
+                               <plugin>
+                                       <groupId>pl.project13.maven</groupId>
+                                       <artifactId>git-commit-id-plugin</artifactId>
+                                       <version>3.0.0</version>
+                               </plugin>
                                <plugin>
                                        <artifactId>maven-release-plugin</artifactId>
                                        <version>2.5.1</version>
@@ -222,15 +236,10 @@ limitations under the License.
                                                <autoVersionSubmodules>true</autoVersionSubmodules>
                                        </configuration>
                                </plugin>
-                               <!-- <plugin> -->
-                               <!-- <artifactId>maven-javadoc-plugin</artifactId> -->
-                               <!-- <version>2.10.4</version> -->
-                               <!-- </plugin> -->
-                               <!-- Apache -->
                                <plugin>
                                        <groupId>org.apache.felix</groupId>
                                        <artifactId>maven-bundle-plugin</artifactId>
-                                       <version>3.0.1</version>
+                                       <version>4.2.1</version>
                                        <extensions>true</extensions>
                                        <configuration>
                                                <manifestLocation>META-INF</manifestLocation>
@@ -238,10 +247,14 @@ limitations under the License.
                                                        <_include>bnd.bnd</_include>
                                                        <Bundle-Version>${project.version}-r${tstamp}</Bundle-Version>
                                                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                                                       <Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
+                                                       <Bundle-RequiredExecutionEnvironment>JavaSE-11,JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
                                                        <_removeheaders>Bnd-LastModified,Build-Jdk,Built-By,Tool,Created-By</_removeheaders>
-                                                       <!-- SLC specific instructions -->
+                                                       <Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
                                                        <SLC-Category>${project.groupId}</SLC-Category>
+                                                       <!-- Git metadata -->
+                                                       <!-- <SLC-Git-Commit-Id>${git.commit.id}</SLC-Git-Commit-Id> -->
+                                                       <!-- <SLC-Git-Commit-Describe>${git.commit.id.describe}</SLC-Git-Commit-Describe> -->
+                                                       <!-- <SLC-Git-Commit-Count>${git.closest.tag.commit.count}</SLC-Git-Commit-Count> -->
                                                </instructions>
                                        </configuration>
                                        <executions>
@@ -259,16 +272,15 @@ limitations under the License.
                                        <groupId>org.codehaus.mojo</groupId>
                                        <artifactId>rpm-maven-plugin</artifactId>
                                        <version>2.1.4</version>
-                                       <!-- <version>2.1-alpha-1</version> -->
                                        <extensions>true</extensions>
                                        <configuration>
                                                <version>${project.version}</version>
                                                <distribution>argeo${argeo.rpm.release}</distribution>
                                                <group>Applications/System</group>
                                                <prefix>/usr</prefix>
-                                               <!-- <copyTo>${argeo.rpm.stagingRepository}</copyTo> -->
                                                <defaultDirMode>755</defaultDirMode>
                                                <defaultFileMode>644</defaultFileMode>
+                                               <autoRequires>false</autoRequires>
                                        </configuration>
                                </plugin>
                                <plugin>
@@ -279,99 +291,8 @@ limitations under the License.
                                <!-- Argeo -->
                                <plugin>
                                        <groupId>org.argeo.maven.plugins</groupId>
-                                       <artifactId>maven-argeo-osgi-plugin</artifactId>
-                                       <version>1.1.6</version>
-                               </plugin>
-                               <!-- Site -->
-                               <plugin>
-                                       <artifactId>maven-javadoc-plugin</artifactId>
-                                       <version>3.0.0</version>
-                                       <configuration>
-                                               <encoding>UTF-8</encoding>
-                                               <detectLinks>true</detectLinks>
-                                               <!-- <sourcepath>src</sourcepath> -->
-                                               <links>
-                                                       <!-- Java -->
-                                                       <link>http://docs.oracle.com/javase/8/docs/api</link>
-                                                       <!-- OSGi -->
-                                                       <link>http://www.osgi.org/javadoc/r5/core</link>
-                                                       <link>http://www.osgi.org/javadoc/r5/enterprise</link>
-                                                       <!-- Spring -->
-                                                       <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link>
-                                                       <!-- JCR -->
-                                                       <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
-                                                       <!-- Eclipse -->
-                                                       <link>http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.isv/reference/api</link>
-                                               </links>
-                                       </configuration>
-                               </plugin>
-                               <plugin>
-                                       <artifactId>maven-site-plugin</artifactId>
-                                       <version>3.7</version>
-                                       <!-- <configuration> -->
-                                       <!-- <siteDirectory>doc/site</siteDirectory> -->
-                                       <!-- <generateSitemap>true</generateSitemap> -->
-                                       <!-- <skip>false</skip> -->
-                                       <!-- <reportPlugins> -->
-                                       <!-- <plugin> -->
-                                       <!-- <groupId>org.apache.maven.plugins</groupId> -->
-                                       <!-- <artifactId>maven-project-info-reports-plugin</artifactId> -->
-                                       <!-- <version>2.8.1</version> -->
-                                       <!-- <reportSets> -->
-                                       <!-- <reportSet> -->
-                                       <!-- <reports> -->
-                                       <!-- <report>index</report> -->
-                                       <!-- <report>summary</report> -->
-                                       <!-- <report>license</report> -->
-                                       <!-- <report>scm</report> -->
-                                       <!-- </reports> -->
-                                       <!-- </reportSet> -->
-                                       <!-- </reportSets> -->
-                                       <!-- </plugin> -->
-                                       <!-- <plugin> -->
-                                       <!-- <artifactId>maven-javadoc-plugin</artifactId> -->
-                                       <!-- <version>3.0.0</version> -->
-                                       <!-- <configuration> -->
-                                       <!-- <encoding>UTF-8</encoding> -->
-                                       <!-- <detectLinks>true</detectLinks> -->
-                                       <!-- <sourcepath>src</sourcepath> -->
-                                       <!-- <links> -->
-                                       <!-- Java -->
-                                       <!-- <link>http://docs.oracle.com/javase/8/docs/api</link> -->
-                                       <!-- OSGi -->
-                                       <!-- <link>http://www.osgi.org/javadoc/r5/core</link> -->
-                                       <!-- <link>http://www.osgi.org/javadoc/r5/enterprise</link> -->
-                                       <!-- Spring -->
-                                       <!-- <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link> -->
-                                       <!-- JCR -->
-                                       <!-- <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link> -->
-                                       <!-- Eclipse -->
-                                       <!-- <link>http://help.eclipse.org/neon/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.5</version> -->
-                                       <!-- <reportSets> -->
-                                       <!-- <reportSet> -->
-                                       <!-- <id>aggregate</id> -->
-                                       <!-- <reports> -->
-                                       <!-- <report>aggregate</report> -->
-                                       <!-- </reports> -->
-                                       <!-- </reportSet> -->
-                                       <!-- </reportSets> -->
-                                       <!-- </plugin> -->
-                                       <!-- </reportPlugins> -->
-                                       <!-- </configuration> -->
+                                       <artifactId>argeo-osgi-plugin</artifactId>
+                                       <version>2.1.1</version>
                                </plugin>
                        </plugins>
                </pluginManagement>
@@ -390,10 +311,17 @@ limitations under the License.
                                </configuration>
                        </plugin>
                        <!-- <plugin> -->
-                       <!-- <artifactId>maven-javadoc-plugin</artifactId> -->
-                       <!-- <configuration> -->
-                       <!-- <skip>true</skip> -->
-                       <!-- </configuration> -->
+                       <!-- <groupId>pl.project13.maven</groupId> -->
+                       <!-- <artifactId>git-commit-id-plugin</artifactId> -->
+                       <!-- <executions> -->
+                       <!-- <execution> -->
+                       <!-- <id>get-the-git-infos</id> -->
+                       <!-- <goals> -->
+                       <!-- <goal>revision</goal> -->
+                       <!-- </goals> -->
+                       <!-- <phase>initialize</phase> -->
+                       <!-- </execution> -->
+                       <!-- </executions> -->
                        <!-- </plugin> -->
                        <plugin>
                                <artifactId>maven-resources-plugin</artifactId>
@@ -408,6 +336,19 @@ limitations under the License.
                                        <skip>false</skip>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>attach-sources</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>jar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
                        <plugin>
                                <artifactId>maven-release-plugin</artifactId>
                                <configuration>
@@ -427,6 +368,21 @@ limitations under the License.
                        <artifactId>argeo-tp</artifactId>
                        <version>${version.argeo-tp}</version>
                        <scope>provided</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.argeo.tp.apache</groupId>
+                                       <artifactId>org.apache.xerces</artifactId>
+                               </exclusion>
+                               <!-- Avoid slf4j implementations lurking in the classpath. -->
+                               <exclusion>
+                                       <groupId>org.argeo.tp.sdk</groupId>
+                                       <artifactId>biz.aQute.bndlib</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.argeo.tp.misc</groupId>
+                                       <artifactId>slf4j.osgi</artifactId>
+                               </exclusion>
+                       </exclusions>
                </dependency>
        </dependencies>
        <dependencyManagement>
@@ -450,60 +406,74 @@ limitations under the License.
        <repositories>
                <repository>
                        <id>argeo</id>
-                       <url>http://forge.argeo.org/data/java/argeo-2.1/</url>
+                       <url>http://repo.argeo.org/data/java/argeo-2.1/</url>
                        <releases>
                                <enabled>true</enabled>
-                               <updatePolicy>daily</updatePolicy>
+                               <updatePolicy>never</updatePolicy>
                                <checksumPolicy>warn</checksumPolicy>
                        </releases>
+                       <snapshots>
+                               <enabled>false</enabled>
+                       </snapshots>
                </repository>
-               <!-- Disable Maven default repository -->
                <repository>
-                       <id>central</id>
-                       <url>http://repo1.maven.org/maven2</url>
+                       <id>argeo-snapshots</id>
+                       <url>http://snapshots.argeo.org/data/java/argeo-2.1/</url>
                        <releases>
                                <enabled>false</enabled>
                        </releases>
                        <snapshots>
-                               <enabled>false</enabled>
+                               <enabled>true</enabled>
+                               <updatePolicy>always</updatePolicy>
+                               <checksumPolicy>warn</checksumPolicy>
                        </snapshots>
                </repository>
        </repositories>
        <pluginRepositories>
                <pluginRepository>
-                       <id>central</id>
-                       <url>http://repo1.maven.org/maven2</url>
+                       <id>argeo-maven-plugins</id>
+                       <url>http://repo.argeo.org/data/java/argeo-2.1</url>
                        <releases>
                                <enabled>true</enabled>
-                               <updatePolicy>daily</updatePolicy>
+                               <updatePolicy>never</updatePolicy>
                                <checksumPolicy>warn</checksumPolicy>
                        </releases>
+                       <snapshots>
+                               <enabled>false</enabled>
+                       </snapshots>
                </pluginRepository>
                <pluginRepository>
-                       <id>argeo-maven-plugins</id>
-                       <url>http://repo.argeo.org/data/public/java/argeo-maven-1.1</url>
+                       <id>argeo-maven-plugins-snapshots</id>
+                       <url>http://snapshots.argeo.org/data/java/argeo-2.1/</url>
                        <releases>
+                               <enabled>false</enabled>
+                       </releases>
+                       <snapshots>
                                <enabled>true</enabled>
-                               <updatePolicy>daily</updatePolicy>
+                               <updatePolicy>always</updatePolicy>
                                <checksumPolicy>warn</checksumPolicy>
-                       </releases>
+                       </snapshots>
                </pluginRepository>
        </pluginRepositories>
        <distributionManagement>
                <repository>
                        <id>staging</id>
-                       <url>dav:https://forge.argeo.org/data/java/argeo-${developmentCycle.argeo-commons}</url>
+                       <url>dav:https://forge.argeo.org/data/java/argeo-2.1/</url>
                        <uniqueVersion>false</uniqueVersion>
                </repository>
+               <snapshotRepository>
+                       <id>staging</id>
+                       <url>file:///srv/javafactory/argeo-2.1</url>
+                       <uniqueVersion>true</uniqueVersion>
+               </snapshotRepository>
                <site>
                        <id>staging</id>
-                       <url>dav:https://forge.argeo.org/data/docs/argeo-${developmentCycle.argeo-commons}</url>
+                       <url>file:///srv/docfactory/argeo-2.1/site/argeo-commons/</url>
                </site>
        </distributionManagement>
        <reporting>
                <plugins>
                        <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-project-info-reports-plugin</artifactId>
                                <version>2.9</version>
                                <reportSets>
@@ -521,21 +491,18 @@ limitations under the License.
                                <artifactId>maven-javadoc-plugin</artifactId>
                                <version>3.0.0</version>
                                <configuration>
+                                       <failOnError>false</failOnError>
+                                       <additionalJOption>-Xdoclint:none</additionalJOption>
+                                       <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames>
                                        <encoding>UTF-8</encoding>
                                        <detectLinks>true</detectLinks>
-                                       <!-- <sourcepath>src</sourcepath> -->
                                        <links>
-                                               <!-- Java -->
                                                <link>http://docs.oracle.com/javase/8/docs/api</link>
-                                               <!-- OSGi -->
-                                               <link>http://www.osgi.org/javadoc/r5/core</link>
-                                               <link>http://www.osgi.org/javadoc/r5/enterprise</link>
-                                               <!-- Spring -->
+                                               <link>https://osgi.org/javadoc/r5/core</link>
+                                               <link>https://osgi.org/javadoc/r5/enterprise</link>
+                                               <link>https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0</link>
+                                               <link>http://help.eclipse.org/oxygen/topic/org.eclipse.platform.doc.isv/reference/api</link>
                                                <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link>
-                                               <!-- JCR -->
-                                               <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
-                                               <!-- Eclipse -->
-                                               <link>http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.isv/reference/api</link>
                                        </links>
                                </configuration>
                                <reportSets>
@@ -548,8 +515,7 @@ limitations under the License.
                                        </reportSet>
                                        <reportSet>
                                                <id>javadoc</id>
-                                               <reports>
-                                               </reports>
+                                               <reports />
                                        </reportSet>
                                </reportSets>
                        </plugin>
@@ -566,39 +532,13 @@ limitations under the License.
                                        </reportSet>
                                        <reportSet>
                                                <id>jxr</id>
-                                               <reports>
-                                               </reports>
+                                               <reports />
                                        </reportSet>
                                </reportSets>
                        </plugin>
                </plugins>
        </reporting>
        <profiles>
-               <profile>
-                       <id>localrepo</id>
-                       <repositories>
-                               <repository>
-                                       <id>argeo</id>
-                                       <url>http://localhost:7080/data/java/argeo-2.1</url>
-                                       <releases>
-                                               <enabled>true</enabled>
-                                               <updatePolicy>daily</updatePolicy>
-                                               <checksumPolicy>warn</checksumPolicy>
-                                       </releases>
-                               </repository>
-                       </repositories>
-                       <distributionManagement>
-                               <repository>
-                                       <id>staging</id>
-                                       <url>dav:http://localhost:7080/data/java/argeo-${developmentCycle.argeo-commons}</url>
-                                       <uniqueVersion>false</uniqueVersion>
-                               </repository>
-                               <site>
-                                       <id>staging</id>
-                                       <url>dav:http://localhost:7080/data/docs/argeo-${developmentCycle.argeo-commons}</url>
-                               </site>
-                       </distributionManagement>
-               </profile>
                <profile>
                        <id>rpmbuild</id>
                        <build>
@@ -613,10 +553,8 @@ limitations under the License.
                                                                </goals>
                                                                <configuration>
                                                                        <target>
-                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
-                                                                                       failonerror="false">
-                                                                                       <fileset dir="${project.build.directory}/rpm"
-                                                                                               includes="*/RPMS/**/*.rpm" />
+                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true" failonerror="false">
+                                                                                       <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
                                                                                        <flattenmapper />
                                                                                </copy>
                                                                        </target>
@@ -641,10 +579,8 @@ limitations under the License.
                                                                </goals>
                                                                <configuration>
                                                                        <target>
-                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
-                                                                                       failonerror="false">
-                                                                                       <fileset dir="${project.build.directory}/rpm"
-                                                                                               includes="*/RPMS/**/*.rpm" />
+                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true" failonerror="false">
+                                                                                       <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
                                                                                        <flattenmapper />
                                                                                </copy>
                                                                        </target>
@@ -655,5 +591,26 @@ limitations under the License.
                                </plugins>
                        </build>
                </profile>
+               <profile>
+                       <id>localrepo</id>
+                       <repositories>
+                               <repository>
+                                       <id>argeo</id>
+                                       <url>http://localhost:7080/data/java/argeo-2.1</url>
+                                       <releases>
+                                               <enabled>true</enabled>
+                                               <updatePolicy>daily</updatePolicy>
+                                               <checksumPolicy>warn</checksumPolicy>
+                                       </releases>
+                               </repository>
+                       </repositories>
+                       <distributionManagement>
+                               <repository>
+                                       <id>staging</id>
+                                       <url>dav:http://localhost:7080/data/java/argeo-2.1/</url>
+                                       <uniqueVersion>false</uniqueVersion>
+                               </repository>
+                       </distributionManagement>
+               </profile>
        </profiles>
 </project>