You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/09/22 07:16:38 UTC

[maven] branch reproducible updated: add repo to resolve SNAPSHOT parent POM

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch reproducible
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/reproducible by this push:
     new 1f4ae9f  add repo to resolve SNAPSHOT parent POM
1f4ae9f is described below

commit 1f4ae9fc3abb04694887f8262999ae7b6c03bd82
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Sep 22 09:16:33 2019 +0200

    add repo to resolve SNAPSHOT parent POM
---
 pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pom.xml b/pom.xml
index 4caa934..e728bc3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -696,4 +696,15 @@ under the License.
       </build>
     </profile>
   </profiles>
+
+  <repositories>
+    <repository><!-- useful to resolve parent pom when it is a SNAPSHOT -->
+      <id>apache.snapshots</id>
+      <name>Apache Snapshot Repository</name>
+      <url>https://repository.apache.org/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+    </repository>
+  </repositories>
 </project>