You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/07/17 07:24:49 UTC

[camel] branch main updated: CAMEL-19465 - Move Apache snapshots repository to a separate Maven (#10694)

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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new e9b038cbc77 CAMEL-19465 - Move Apache snapshots repository to a separate Maven (#10694)
e9b038cbc77 is described below

commit e9b038cbc774b7db2017a8bf115511094b697f2d
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Mon Jul 17 09:24:43 2023 +0200

    CAMEL-19465 - Move Apache snapshots repository to a separate Maven (#10694)
    
    profile for better build reproducibility
---
 pom.xml | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/pom.xml b/pom.xml
index 05aa6e4bf27..68269a4c855 100644
--- a/pom.xml
+++ b/pom.xml
@@ -183,18 +183,6 @@
             </releases>
         </repository>
     </repositories>
-    <pluginRepositories>
-        <pluginRepository>
-            <id>apache.snapshots</id>
-            <url>https://repository.apache.org/snapshots/</url>
-            <snapshots>
-                <enabled>true</enabled>
-            </snapshots>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-        </pluginRepository>
-    </pluginRepositories>
 
     <build>
         <defaultGoal>install</defaultGoal>
@@ -807,6 +795,18 @@
                     </releases>
                 </repository>
             </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>apache.snapshots</id>
+                    <url>https://repository.apache.org/snapshots/</url>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                </pluginRepository>
+            </pluginRepositories>
         </profile>
         <profile>
             <!-- The full profile contains mojos *not* essential for the quick build. -->