Configure snapshot deploy to apache snapshot repo

Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/46f5e094
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/46f5e094
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/46f5e094

Branch: refs/heads/master
Commit: 46f5e094e933d3a9561a8d74df828cd6c734354c
Parents: 1c0b7ba
Author: Nikita Timofeev <[email protected]>
Authored: Thu Oct 11 11:46:14 2018 +0300
Committer: Nikita Timofeev <[email protected]>
Committed: Thu Oct 11 11:46:14 2018 +0300

----------------------------------------------------------------------
 build-tools/cayenne-checkers/pom.xml |  5 +++++
 pom.xml                              | 13 +++++++++++++
 2 files changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/46f5e094/build-tools/cayenne-checkers/pom.xml
----------------------------------------------------------------------
diff --git a/build-tools/cayenne-checkers/pom.xml 
b/build-tools/cayenne-checkers/pom.xml
index c046bf9..6bfad50 100644
--- a/build-tools/cayenne-checkers/pom.xml
+++ b/build-tools/cayenne-checkers/pom.xml
@@ -33,6 +33,11 @@
             <name>Apache Release Distribution Repository</name>
             
<url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
         </repository>
+        <snapshotRepository>
+            <id>apache.snapshots.https</id>
+            <name>Apache Development Snapshot Repository</name>
+            
<url>https://repository.apache.org/content/repositories/snapshots</url>
+        </snapshotRepository>
     </distributionManagement>
 
     <licenses>

http://git-wip-us.apache.org/repos/asf/cayenne/blob/46f5e094/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 40cda97..dff5cf6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -503,6 +503,14 @@
                                <enabled>true</enabled>
                        </releases>
                </repository>
+               <repository>
+                       <id>apache.snapshots</id>
+                       <name>Apache Snapshot Repository</name>
+                       <url>https://repository.apache.org/snapshots</url>
+                       <releases>
+                               <enabled>false</enabled>
+                       </releases>
+               </repository>
        </repositories>
        <pluginRepositories>
                <pluginRepository>
@@ -956,6 +964,11 @@
                        <name>Apache Release Distribution Repository</name>
                        
<url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
                </repository>
+               <snapshotRepository>
+                       <id>apache.snapshots.https</id>
+                       <name>Apache Development Snapshot Repository</name>
+                       
<url>https://repository.apache.org/content/repositories/snapshots</url>
+               </snapshotRepository>
        </distributionManagement>
 
        <profiles>

Reply via email to