This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-thirdparty.git
The following commit(s) were added to refs/heads/master by this push:
new 9512652 PHOENIX-7628 Don't add Apache Snapshot Maven Repo by Default
(#13)
9512652 is described below
commit 9512652d8cb71b9792e15aa3f489827aae0ccec7
Author: Istvan Toth <[email protected]>
AuthorDate: Wed Aug 6 09:01:01 2025 +0200
PHOENIX-7628 Don't add Apache Snapshot Maven Repo by Default (#13)
---
pom.xml | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/pom.xml b/pom.xml
index 3bbdf39..1ac2bad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -101,4 +101,41 @@
</plugins>
</build>
+ <profiles>
+ <!-- Duplicate the functionality of MPOM-451 for our older ASF parent pom
-->
+ <profile>
+ <id>dont-use-apache-snapshots</id>
+ <activation>
+ <property>
+ <name>!apache.snapshots</name>
+ </property>
+ </activation>
+ <repositories>
+ <repository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>https://repository.apache.org/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </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>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
</project>