Introduce SNAPSHOT repository.
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 57f8eead2ba23d0f08694401092570634ed256d5..68d72aa7653b4eb4c26b56afa558c628ee97d3ad 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -5,16 +5,18 @@
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>2.1.81-SNAPSHOT</version>
+       <version>2.1.82-SNAPSHOT</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.81-SNAPSHOT</version.argeo-commons>
-               <version.argeo-tp>2.1.25-SNAPSHOT</version.argeo-tp>
+               <version.argeo-commons>2.1.82-SNAPSHOT</version.argeo-commons>
+               <version.argeo-tp>2.1.25</version.argeo-tp>
                <!-- RPM -->
                <argeo.rpm.release>7</argeo.rpm.release>
                <argeo.rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-2/el7</argeo.rpm.stagingRepository>
+               <!-- SNAPSHOTs -->
+               <argeo.java.snapshotRepository>file:///srv/javafactory/argeo-2.1</argeo.java.snapshotRepository>
                <!-- Encoding, see http://is.gd/mvn_source_encoding -->
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <project.scm.id>code.argeo.org</project.scm.id>
@@ -411,6 +413,25 @@ limitations under the License.
                                <updatePolicy>daily</updatePolicy>
                                <checksumPolicy>warn</checksumPolicy>
                        </releases>
+                       <snapshots>
+                               <enabled>false</enabled>
+                               <updatePolicy>daily</updatePolicy>
+                               <checksumPolicy>warn</checksumPolicy>
+                       </snapshots>
+               </repository>
+               <repository>
+                       <id>argeo-snapshots</id>
+                       <url>${argeo.java.snapshotRepository}</url>
+                       <releases>
+                               <enabled>false</enabled>
+                               <updatePolicy>daily</updatePolicy>
+                               <checksumPolicy>warn</checksumPolicy>
+                       </releases>
+                       <snapshots>
+                               <enabled>true</enabled>
+                               <updatePolicy>daily</updatePolicy>
+                               <checksumPolicy>warn</checksumPolicy>
+                       </snapshots>
                </repository>
        </repositories>
        <pluginRepositories>
@@ -424,6 +445,22 @@ limitations under the License.
                        </releases>
                </pluginRepository>
        </pluginRepositories>
+       <distributionManagement>
+               <repository>
+                       <id>staging</id>
+                       <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>file:///srv/docfactory/argeo-2.1/site/argeo-commons/</url>
+               </site>
+       </distributionManagement>
        <reporting>
                <plugins>
                        <plugin>
@@ -491,17 +528,6 @@ limitations under the License.
                        </plugin>
                </plugins>
        </reporting>
-       <distributionManagement>
-               <repository>
-                       <id>staging</id>
-                       <url>dav:https://forge.argeo.org/data/java/argeo-2.1/</url>
-                       <uniqueVersion>false</uniqueVersion>
-               </repository>
-               <site>
-                       <id>staging</id>
-                       <url>file:///srv/docfactory/argeo-2.1/site/argeo-commons/</url>
-               </site>
-       </distributionManagement>
        <profiles>
                <profile>
                        <id>rpmbuild</id>