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/10/20 12:13:57 UTC
[maven] 03/13: add repo to resolve SNAPSHOT parent POM and plugins
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
commit 18e868ced766651f6c7315f61d84367cd0fd1ec1
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Sep 22 09:16:33 2019 +0200
add repo to resolve SNAPSHOT parent POM and plugins
---
pom.xml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/pom.xml b/pom.xml
index 50c6616..3a8234c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -708,4 +708,25 @@ 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>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>https://repository.apache.org/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
</project>