You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2022/02/28 05:12:58 UTC

[maven-resolver] branch ci-reporting updated: add snapshot repo

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

olamy pushed a commit to branch ci-reporting
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git


The following commit(s) were added to refs/heads/ci-reporting by this push:
     new ba99e9c  add snapshot repo
ba99e9c is described below

commit ba99e9c5eda5076f4f4c1f0f04f11f98c25ee205
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Mon Feb 28 15:12:41 2022 +1000

    add snapshot repo
    
    Signed-off-by: Olivier Lamy <ol...@apache.org>
---
 pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pom.xml b/pom.xml
index f4bc54d..fdc797c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,6 +99,17 @@
     <module>maven-resolver-demos</module>
   </modules>
 
+  <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>
+
   <dependencyManagement>
     <dependencies>
       <dependency>