You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2020/12/14 11:29:55 UTC

[camel-quarkus] 01/01: Enable Camel 3.7.0 staging repository temporarily

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

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

commit 8ea901abd33b0f4c887eae3107ae787632908bef
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Mon Dec 14 11:13:47 2020 +0100

    Enable Camel 3.7.0 staging repository temporarily
---
 .github/workflows/ci-build.yaml   | 12 +++----
 .github/workflows/pr-validate.yml |  2 +-
 settings-camel-3.7.0.xml          | 69 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 76 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index a75abb2..ce94d20 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -65,7 +65,7 @@ jobs:
       - name: Setup apache-snapshots profile
         if: github.ref == 'refs/heads/camel-master' || github.base_ref == 'camel-master'
         run: |
-          echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+          echo "BRANCH_OPTIONS='-s '$(pwd)'/settings-camel-3.7.0.xml'" >> $GITHUB_ENV
       - name: Setup oss-snapshots profile
         if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
         run: |
@@ -122,7 +122,7 @@ jobs:
       - name: Setup apache-snapshots profile
         if: github.ref == 'refs/heads/camel-master' || github.base_ref == 'camel-master'
         run: |
-          echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+          echo "BRANCH_OPTIONS='-s '$(pwd)'/settings-camel-3.7.0.xml'" >> $GITHUB_ENV
       - name: Setup oss-snapshots profile
         if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
         run: |
@@ -192,7 +192,7 @@ jobs:
       - name: Setup apache-snapshots profile
         if: github.ref == 'refs/heads/camel-master' || github.base_ref == 'camel-master'
         run: |
-          echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+          echo "BRANCH_OPTIONS='-s '$(pwd)'/settings-camel-3.7.0.xml'" >> $GITHUB_ENV
       - name: Setup oss-snapshots profile
         if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
         run: |
@@ -245,7 +245,7 @@ jobs:
       - name: Setup apache-snapshots profile
         if: github.ref == 'refs/heads/camel-master' || github.base_ref == 'camel-master'
         run: |
-          echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+          echo "BRANCH_OPTIONS='-s '$(pwd)'/settings-camel-3.7.0.xml'" >> $GITHUB_ENV
       - name: Setup oss-snapshots profile
         if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
         run: |
@@ -287,7 +287,7 @@ jobs:
       - name: Setup apache-snapshots profile
         if: github.ref == 'refs/heads/camel-master' || github.base_ref == 'camel-master'
         run: |
-          echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+          echo "BRANCH_OPTIONS='-s '$(pwd)'/settings-camel-3.7.0.xml'" >> $GITHUB_ENV
       - name: Setup oss-snapshots profile
         if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
         run: |
@@ -327,7 +327,7 @@ jobs:
       - name: Setup apache-snapshots profile
         if: github.ref == 'refs/heads/camel-master' || github.base_ref == 'camel-master'
         run: |
-          echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+          echo "BRANCH_OPTIONS='-s '$(pwd)'/settings-camel-3.7.0.xml'" >> $GITHUB_ENV
       - name: Setup oss-snapshots profile
         if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
         run: |
diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml
index bc42ec1..8720230 100644
--- a/.github/workflows/pr-validate.yml
+++ b/.github/workflows/pr-validate.yml
@@ -44,7 +44,7 @@ jobs:
     - name: Setup apache-snapshots profile
       if: github.base_ref == 'camel-master'
       run: |
-        echo "BRANCH_OPTIONS=-Papache-snapshots" >> $GITHUB_ENV
+        echo "BRANCH_OPTIONS='-s '$(pwd)'/settings-camel-3.7.0.xml'" >> $GITHUB_ENV
     - name: Setup oss-snapshots profile
       if: github.base_ref == 'quarkus-master'
       run: |
diff --git a/settings-camel-3.7.0.xml b/settings-camel-3.7.0.xml
new file mode 100644
index 0000000..715130d
--- /dev/null
+++ b/settings-camel-3.7.0.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
+                              http://maven.apache.org/xsd/settings-1.0.0.xsd">
+
+
+  <profiles>
+    <profile>
+      <id>camel-3.7.0-staging-repo</id>
+      <repositories>
+        <repository>
+          <id>camel-3.7.0</id>
+          <releases>
+            <enabled>true</enabled>
+            <updatePolicy>always</updatePolicy>
+            <checksumPolicy>warn</checksumPolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+            <updatePolicy>never</updatePolicy>
+            <checksumPolicy>fail</checksumPolicy>
+          </snapshots>
+          <url>https://repository.apache.org/content/repositories/orgapachecamel-1263</url>
+          <layout>default</layout>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>camel-3.7.0</id>
+          <releases>
+            <enabled>true</enabled>
+            <updatePolicy>always</updatePolicy>
+            <checksumPolicy>warn</checksumPolicy>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+            <updatePolicy>never</updatePolicy>
+            <checksumPolicy>fail</checksumPolicy>
+          </snapshots>
+          <url>https://repository.apache.org/content/repositories/orgapachecamel-1263</url>
+          <layout>default</layout>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+
+  </profiles>
+  <activeProfiles>
+      <activeProfile>camel-3.7.0-staging-repo</activeProfile>
+  </activeProfiles>
+
+</settings>