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

stoty pushed a commit to branch 5.2
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/5.2 by this push:
     new 78945df82d PHOENIX-7628 Don't add Apache Snapshot Maven Repo by 
Default (#2262)
78945df82d is described below

commit 78945df82df01752e6e6396bb41c69eb62f9015b
Author: Istvan Toth <st...@apache.org>
AuthorDate: Tue Aug 5 07:02:00 2025 +0200

    PHOENIX-7628 Don't add Apache Snapshot Maven Repo by Default (#2262)
---
 pom.xml | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/pom.xml b/pom.xml
index 08df1b3f5c..c344bd846d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2066,6 +2066,41 @@
         </plugins>
       </build>
     </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>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <id>apache.snapshots</id>
+          <name>Apache Snapshot Repository</name>
+          <url>https://repository.apache.org/snapshots</url>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <id>apache.snapshots</id>
+          <name>Apache Snapshot Repository</name>
+          <url>https://repository.apache.org/snapshots</url>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
     <!-- See BUILDING.md for profile selection-->
     <!-- The dependencies should be defined only in phoenix-core
     ,but maven doesn't seem to support that -->

Reply via email to