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

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 5cbf731  SLING-13020 define snapshot repos direclty in POM (#62)
5cbf731 is described below

commit 5cbf7314a8f80dd84d2ced1a47a98ebabbf8c3f9
Author: Stefan Seifert <[email protected]>
AuthorDate: Tue Dec 2 14:32:01 2025 +0100

    SLING-13020 define snapshot repos direclty in POM (#62)
---
 sling-parent/pom.xml | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

diff --git a/sling-parent/pom.xml b/sling-parent/pom.xml
index a9cd4fc..61b6a38 100644
--- a/sling-parent/pom.xml
+++ b/sling-parent/pom.xml
@@ -124,8 +124,6 @@
         <oak.version>1.74.0</oak.version>
         <!-- should be set to the minimum JR version being required by Oak set 
in oak.version -->
         <jackrabbit.version>2.22.0</jackrabbit.version>
-        <!-- https://issues.apache.org/jira/browse/MPOM-451, enables the ASF 
Snapshot Maven repository in the ASF parent POM -->
-        <apache.snapshots>true</apache.snapshots>
     </properties>
 
     <dependencyManagement>
@@ -216,6 +214,28 @@
         </dependencies>
     </dependencyManagement>
 
+    <!-- Since https://issues.apache.org/jira/browse/MPOM-451, snapshot repos 
are no longer defined by default in apache parent pom. We need them for 
temporary snapshot dependencies in our modules -->
+    <repositories>
+        <repository>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+            <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>
+            <id>apache.snapshots</id>
+            <name>Apache Snapshot Repository</name>
+            <url>https://repository.apache.org/snapshots</url>
+        </pluginRepository>
+    </pluginRepositories>
+
     <build>
 
         <pluginManagement>
@@ -1176,5 +1196,4 @@
             </properties>
         </profile>
     </profiles>
-
 </project>

Reply via email to