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

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit e5cdba6f99405be2032dd3235292e9a2815ee87e
Author: lburgazzoli <lburgazz...@gmail.com>
AuthorDate: Fri Feb 7 07:40:50 2020 +0100

    Activate snapshot repos with a single profile
---
 pom.xml | 47 ++++++++++++++++++-----------------------------
 1 file changed, 18 insertions(+), 29 deletions(-)

diff --git a/pom.xml b/pom.xml
index b95a786..a865bb0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -588,24 +588,23 @@
         </profile>
 
         <profile>
-            <id>oss-snapshots</id>
+            <id>snapshots</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
             </activation>
             <repositories>
                 <repository>
-                    <id>oss-snapshots-repo</id>
-                    
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
+                    <id>apache.snapshots</id>
+                    <url>https://repository.apache.org/snapshots/</url>
+                    <name>Apache Snapshot Repo</name>
                     <snapshots>
                         <enabled>true</enabled>
                     </snapshots>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
                 </repository>
-            </repositories>
-            <pluginRepositories>
-                <pluginRepository>
+                <repository>
                     <id>oss-snapshots-repo</id>
                     
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
                     <releases>
@@ -614,26 +613,6 @@
                     <snapshots>
                         <enabled>true</enabled>
                     </snapshots>
-                </pluginRepository>
-            </pluginRepositories>
-        </profile>
-
-        <profile>
-            <id>apache-snapshots</id>
-            <activation>
-                <activeByDefault>false</activeByDefault>
-            </activation>
-            <repositories>
-                <repository>
-                    <id>apache.snapshots</id>
-                    <url>https://repository.apache.org/snapshots/</url>
-                    <name>Apache Snapshot Repo</name>
-                    <snapshots>
-                        <enabled>true</enabled>
-                    </snapshots>
-                    <releases>
-                        <enabled>false</enabled>
-                    </releases>
                 </repository>
             </repositories>
             <pluginRepositories>
@@ -647,6 +626,16 @@
                         <enabled>false</enabled>
                     </releases>
                 </pluginRepository>
+                <pluginRepository>
+                    <id>oss-snapshots-repo</id>
+                    
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
             </pluginRepositories>
         </profile>
     </profiles>

Reply via email to