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-queryserver.git
The following commit(s) were added to refs/heads/master by this push:
new ada20ca PHOENIX-7628 Don't add Apache Snapshot Maven Repo by Default
(#182)
ada20ca is described below
commit ada20ca1a40b72529a449de38e832913b5ff343a
Author: Istvan Toth <[email protected]>
AuthorDate: Wed Aug 6 09:09:48 2025 +0200
PHOENIX-7628 Don't add Apache Snapshot Maven Repo by Default (#182)
---
pom.xml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/pom.xml b/pom.xml
index 72e4dca..0ef59cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1377,6 +1377,41 @@
@{jacocoArgLine}</argLine>
</properties>
</profile>
+ <!-- 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>
<reporting>
<plugins>