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 2018/05/11 14:40:01 UTC

[maven-doxia-site] branch master updated: added snapshot repository to resolve parent pom

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

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doxia-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 2b1a337  added snapshot repository to resolve parent pom
2b1a337 is described below

commit 2b1a337149edcdd548773f505fa8770b29f9b83c
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Fri May 11 16:39:53 2018 +0200

    added snapshot repository to resolve parent pom
---
 pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pom.xml b/pom.xml
index 6ab0619..a94e7d5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -159,6 +159,17 @@ under the License.
     </site>
   </distributionManagement>
 
+  <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>
+
   <pluginRepositories>
     <pluginRepository>
       <id>apache.snapshots</id>

-- 
To stop receiving notification emails like this one, please contact
hboutemy@apache.org.