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/20 11:41:36 UTC

[camel] branch main updated: CAMEL-19628: Restrict downloading JARs from Atlassian Maven

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 8d5795dba5a CAMEL-19628: Restrict downloading JARs from Atlassian Maven
8d5795dba5a is described below

commit 8d5795dba5a634354ff69c0062cf24ec6b2496bc
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Jul 20 13:41:20 2023 +0200

    CAMEL-19628: Restrict downloading JARs from Atlassian Maven
---
 .mvn/maven.config              | 2 ++
 .mvn/rrf/groupId-atlassian.txt | 7 +++++++
 components/camel-jira/pom.xml  | 6 +++---
 docs/pom.xml                   | 6 +++---
 dsl/camel-endpointdsl/pom.xml  | 8 ++++----
 5 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/.mvn/maven.config b/.mvn/maven.config
new file mode 100644
index 00000000000..7408098dbe3
--- /dev/null
+++ b/.mvn/maven.config
@@ -0,0 +1,2 @@
+-Daether.remoteRepositoryFilter.groupId=true
+-Daether.remoteRepositoryFilter.groupId.basedir=${session.rootDirectory}/.mvn/rrf/
diff --git a/.mvn/rrf/groupId-atlassian.txt b/.mvn/rrf/groupId-atlassian.txt
new file mode 100644
index 00000000000..45b48708ed0
--- /dev/null
+++ b/.mvn/rrf/groupId-atlassian.txt
@@ -0,0 +1,7 @@
+com.atlassian.event
+com.atlassian.httpclient
+com.atlassian.jira
+com.atlassian.platform
+com.atlassian.pom
+com.atlassian.sal
+io.atlassian.fugue
diff --git a/components/camel-jira/pom.xml b/components/camel-jira/pom.xml
index 570a8f106cb..a5ecf58970b 100644
--- a/components/camel-jira/pom.xml
+++ b/components/camel-jira/pom.xml
@@ -33,9 +33,9 @@
 
     <repositories>
         <repository>
-            <id>atlassian-public</id>
-            <url>https://packages.atlassian.com/maven-external</url>
-            <name>Atlassian Public Repo</name>
+            <id>atlassian</id>
+            <url>https://packages.atlassian.com/maven-external/</url>
+            <name>atlassian external repo</name>
             <snapshots>
                 <enabled>false</enabled>
             </snapshots>
diff --git a/docs/pom.xml b/docs/pom.xml
index 1db08577a5f..bdf5a6de75e 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -37,9 +37,9 @@
 
     <repositories>
         <repository>
-            <id>atlassian-public</id>
-            <url>https://packages.atlassian.com/maven-external</url>
-            <name>Atlassian Public Repo</name>
+            <id>atlassian</id>
+            <url>https://packages.atlassian.com/maven-external/</url>
+            <name>atlassian external repo</name>
             <snapshots>
                 <enabled>false</enabled>
             </snapshots>
diff --git a/dsl/camel-endpointdsl/pom.xml b/dsl/camel-endpointdsl/pom.xml
index 24d9198769a..f11cdf1de06 100644
--- a/dsl/camel-endpointdsl/pom.xml
+++ b/dsl/camel-endpointdsl/pom.xml
@@ -40,9 +40,9 @@
 
     <repositories>
         <repository>
-            <id>atlassian-public</id>
-            <url>https://packages.atlassian.com/maven-external</url>
-            <name>Atlassian Public Repo</name>
+            <id>atlassian</id>
+            <url>https://packages.atlassian.com/maven-external/</url>
+            <name>atlassian external repo</name>
             <snapshots>
                 <enabled>false</enabled>
             </snapshots>
@@ -50,7 +50,7 @@
                 <enabled>true</enabled>
             </releases>
         </repository>
-    </repositories>    
+    </repositories>  
 
     <dependencies>