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:20:32 UTC

[camel] 02/02: CAMEL-19628: Move atlassian maven repository to camel-jira where its only in use

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

commit 30572eef4510d0cc9bb7d32dc4bd102eca008555
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Jul 20 12:46:26 2023 +0200

    CAMEL-19628: Move atlassian maven repository to camel-jira where its only in use
---
 .../resources/org/apache/camel/catalog/others.properties  |  2 ++
 .../org/apache/camel/catalog/others/componentdsl.json     | 15 +++++++++++++++
 .../org/apache/camel/catalog/others/endpointdsl.json      | 15 +++++++++++++++
 components/camel-jira/src/main/docs/jira-component.adoc   | 10 ++++++++++
 docs/pom.xml                                              | 14 ++++++++++++++
 parent/pom.xml                                            |  2 +-
 6 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
index 44a4cb357db..19f74621977 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others.properties
@@ -4,11 +4,13 @@ cli-connector
 cloud
 cloudevents
 cluster
+componentdsl
 console
 csimple-joor
 debug
 dsl-modeline
 elytron
+endpointdsl
 groovy-dsl
 headersmap
 health
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/componentdsl.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/componentdsl.json
new file mode 100644
index 00000000000..3799e772735
--- /dev/null
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/componentdsl.json
@@ -0,0 +1,15 @@
+{
+  "other": {
+    "kind": "other",
+    "name": "componentdsl",
+    "title": "Java Component DSL",
+    "description": "The Camel Component DSL",
+    "deprecated": false,
+    "firstVersion": "3.1.0",
+    "label": "dsl",
+    "supportLevel": "Stable",
+    "groupId": "org.apache.camel",
+    "artifactId": "camel-componentdsl",
+    "version": "4.0.0-SNAPSHOT"
+  }
+}
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/endpointdsl.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/endpointdsl.json
new file mode 100644
index 00000000000..cea1951ad69
--- /dev/null
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/others/endpointdsl.json
@@ -0,0 +1,15 @@
+{
+  "other": {
+    "kind": "other",
+    "name": "endpointdsl",
+    "title": "Java Endpoint DSL",
+    "description": "The Camel Endpoint DSL",
+    "deprecated": false,
+    "firstVersion": "3.0.0",
+    "label": "dsl",
+    "supportLevel": "Stable",
+    "groupId": "org.apache.camel",
+    "artifactId": "camel-endpointdsl",
+    "version": "4.0.0-SNAPSHOT"
+  }
+}
diff --git a/components/camel-jira/src/main/docs/jira-component.adoc b/components/camel-jira/src/main/docs/jira-component.adoc
index c8a03f8a134..3fdb7b15cad 100644
--- a/components/camel-jira/src/main/docs/jira-component.adoc
+++ b/components/camel-jira/src/main/docs/jira-component.adoc
@@ -42,6 +42,16 @@ for this component:
 </dependency>
 ---------------------------------------
 
+[NOTE]
+====
+Atlassian does not release their JIRA Java client's to Maven Central.
+Therefore, when using `camel-jira` then the `pom.xml` has included Maven repository
+to the following URL: `https://packages.atlassian.com/maven-external`.
+
+Just keep this in mind as Maven will then use this repository to download the JIRA client (and potentially other JARs).
+Which allows Atlassian to track these downloads by their servers.
+====
+
 == URI format
 
 -------------------------
diff --git a/docs/pom.xml b/docs/pom.xml
index 3794f53ce83..1db08577a5f 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -35,6 +35,20 @@
         <skipOnUnsupported>true</skipOnUnsupported>
     </properties>
 
+    <repositories>
+        <repository>
+            <id>atlassian-public</id>
+            <url>https://packages.atlassian.com/maven-external</url>
+            <name>Atlassian Public Repo</name>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+        </repository>
+    </repositories>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.camel</groupId>
diff --git a/parent/pom.xml b/parent/pom.xml
index 9d8dd3d1d4c..b33d0300326 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -346,7 +346,7 @@
         <minidns-version>0.3.4</minidns-version>
         <minimal-json-version>0.9.5</minimal-json-version>
         <minio-version>8.5.4</minio-version>
-        <mock-javamail-version>2.0</mock-javamail-version>
+        <mock-javamail-version>1.9</mock-javamail-version>
         <mockwebserver-version>0.2.2</mockwebserver-version>
         <mockito-version>3.12.4</mockito-version>
         <mongo-java-driver-version>4.10.2</mongo-java-driver-version>