Move Apache snapshot repository activation to a dedicate profile
diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml
index 3782098..f03713e 100644
--- a/.github/workflows/pr-build.yaml
+++ b/.github/workflows/pr-build.yaml
@@ -39,7 +39,6 @@
         run: |
           ./mvnw -V -B \
             -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
-            -Pno-apache-snapshots \
             clean install
       - name: Save Cache
         uses: actions/cache@v1
@@ -63,7 +62,6 @@
       run: |
         ./mvnw -V -B \
           -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
-          -Pno-apache-snapshots \
           clean verify
   core:
     runs-on: ubuntu-latest
@@ -89,7 +87,6 @@
             -Dnative \
             -Ddocker \
             -DskipTests \
-            -Pno-apache-snapshots \
             -pl :camel-quarkus-integration-test-core \
             -pl :camel-quarkus-integration-test-core-impl \
             -pl :camel-quarkus-integration-test-core-main \
@@ -119,7 +116,6 @@
             -Dnative \
             -Ddocker \
             -DskipTests \
-            -Pno-apache-snapshots \
             -pl :camel-quarkus-integration-test-bean \
             -pl :camel-quarkus-integration-test-seda \
             -pl :camel-quarkus-integration-test-file \
@@ -152,7 +148,6 @@
             -Dnative \
             -Ddocker \
             -DskipTests \
-            -Pno-apache-snapshots \
             -pl :camel-quarkus-integration-test-platform-http \
             -pl :camel-quarkus-integration-test-platform-http-engine \
             -pl :camel-quarkus-integration-test-microprofile \
@@ -181,7 +176,6 @@
             -Dnative \
             -Ddocker \
             -DskipTests \
-            -Pno-apache-snapshots \
             -pl :camel-quarkus-integration-test-sjms \
             -pl :camel-quarkus-integration-test-kafka \
             -pl :camel-quarkus-integration-test-paho
@@ -209,7 +203,6 @@
             -Dnative \
             -Ddocker \
             -DskipTests \
-            -Pno-apache-snapshots \
             -pl :camel-quarkus-integration-test-base64 \
             -pl :camel-quarkus-integration-test-snakeyaml \
             -pl :camel-quarkus-integration-test-tagsoup \
@@ -241,7 +234,6 @@
             -Dnative \
             -Ddocker \
             -DskipTests \
-            -Pno-apache-snapshots \
             -pl :camel-quarkus-integration-test-http \
             -pl :camel-quarkus-integration-test-netty \
             -pl :camel-quarkus-integration-test-servlet
@@ -269,7 +261,6 @@
             -Dnative \
             -Ddocker \
             -DskipTests \
-            -Pno-apache-snapshots \
             -pl :camel-quarkus-integration-test-jdbc \
             -pl :camel-quarkus-integration-test-mongodb \
             -pl :camel-quarkus-integration-test-sql
@@ -297,7 +288,6 @@
             -Dnative \
             -Ddocker \
             -DskipTests \
-            -Pno-apache-snapshots \
             -pl :camel-quarkus-integration-test-aws \
             -pl :camel-quarkus-integration-test-consul
   misc:
@@ -324,7 +314,6 @@
             -Dnative \
             -Ddocker \
             -DskipTests \
-            -Pno-apache-snapshots \
             -pl :camel-quarkus-integration-test-bean-validator \
             -pl :camel-quarkus-integration-test-dozer \
             -pl :camel-quarkus-integration-test-ftp \
diff --git a/pom.xml b/pom.xml
index 4446796..7935963 100644
--- a/pom.xml
+++ b/pom.xml
@@ -159,33 +159,6 @@
         <url>https://github.com/apache/camel-quarkus/issues</url>
     </issueManagement>
 
-    <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>
-        <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>
         <pluginManagement>
             <plugins>
@@ -560,6 +533,19 @@
         </profile>
 
         <profile>
+            <id>docker</id>
+            <activation>
+                <property>
+                    <name>docker</name>
+                </property>
+            </activation>
+            <properties>
+                <native-image.docker-build>true</native-image.docker-build>
+                <native-image.container-runtime>docker</native-image.container-runtime>
+            </properties>
+        </profile>
+
+        <profile>
             <id>oss-snapshots</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
@@ -591,20 +577,7 @@
         </profile>
 
         <profile>
-            <id>docker</id>
-            <activation>
-                <property>
-                    <name>docker</name>
-                </property>
-            </activation>
-            <properties>
-                <native-image.docker-build>true</native-image.docker-build>
-                <native-image.container-runtime>docker</native-image.container-runtime>
-            </properties>
-        </profile>
-
-        <profile>
-            <id>no-apache-snapshots</id>
+            <id>apache-snapshots</id>
             <activation>
                 <activeByDefault>false</activeByDefault>
             </activation>
@@ -614,7 +587,7 @@
                     <url>https://repository.apache.org/snapshots/</url>
                     <name>Apache Snapshot Repo</name>
                     <snapshots>
-                        <enabled>false</enabled>
+                        <enabled>true</enabled>
                     </snapshots>
                     <releases>
                         <enabled>false</enabled>
@@ -626,7 +599,7 @@
                     <id>apache.snapshots</id>
                     <url>https://repository.apache.org/snapshots/</url>
                     <snapshots>
-                        <enabled>false</enabled>
+                        <enabled>true</enabled>
                     </snapshots>
                     <releases>
                         <enabled>false</enabled>