You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/01/17 11:35:51 UTC

[camel] 02/02: CAMEL-14412 - Maven central now requires HTTPS

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

acosentino pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 7506710f9b23ead7a09ac0ca6f74f45230df7f41
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jan 17 12:35:20 2020 +0100

    CAMEL-14412 - Maven central now requires HTTPS
---
 platforms/karaf/features/pom.xml                                        | 2 +-
 .../test/java/org/apache/camel/itest/springboot/util/BOMResolver.java   | 2 +-
 .../camel-itest-spring-boot/src/test/resources/application-pom-sb1.xml  | 2 +-
 .../camel-itest-spring-boot/src/test/resources/application-pom-sb2.xml  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/platforms/karaf/features/pom.xml b/platforms/karaf/features/pom.xml
index 7c07db2..5a1b958 100644
--- a/platforms/karaf/features/pom.xml
+++ b/platforms/karaf/features/pom.xml
@@ -36,7 +36,7 @@
   </properties>
 
   <!-- The validate plugin will export these provided dependencies bundles export packages first -->
-  <!-- some of the bundles is located at: http://repo1.maven.org/maven2/org/apache/servicemix/bundles/ -->
+  <!-- some of the bundles is located at: https://repo1.maven.org/maven2/org/apache/servicemix/bundles/ -->
   <dependencies>
     <dependency>
       <groupId>org.osgi</groupId>
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/util/BOMResolver.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/util/BOMResolver.java
index 7813c29..bccef0e 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/util/BOMResolver.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/util/BOMResolver.java
@@ -137,7 +137,7 @@ public final class BOMResolver {
             system.deploy(session, deployRequest);
         }
 
-        RemoteRepository mavenCentral = new RemoteRepository.Builder("central", "default", "http://repo1.maven.org/maven2/").build();
+        RemoteRepository mavenCentral = new RemoteRepository.Builder("central", "default", "https://repo1.maven.org/maven2/").build();
         RemoteRepository apacheSnapshots = new RemoteRepository.Builder("apache-snapshots", "default", "http://repository.apache.org/snapshots/").build();
         RemoteRepository springMilestones = new RemoteRepository.Builder("spring-milestones", "default", "https://repo.spring.io/libs-milestone/").build();
 
diff --git a/tests/camel-itest-spring-boot/src/test/resources/application-pom-sb1.xml b/tests/camel-itest-spring-boot/src/test/resources/application-pom-sb1.xml
index 67eed1f..3004bda 100644
--- a/tests/camel-itest-spring-boot/src/test/resources/application-pom-sb1.xml
+++ b/tests/camel-itest-spring-boot/src/test/resources/application-pom-sb1.xml
@@ -77,7 +77,7 @@
         <repository>
             <id>central</id>
             <name>Maven Central</name>
-            <url>http://repo1.maven.org/maven2/</url>
+            <url>https://repo1.maven.org/maven2/</url>
             <releases>
                 <enabled>true</enabled>
             </releases>
diff --git a/tests/camel-itest-spring-boot/src/test/resources/application-pom-sb2.xml b/tests/camel-itest-spring-boot/src/test/resources/application-pom-sb2.xml
index 67eed1f..3004bda 100644
--- a/tests/camel-itest-spring-boot/src/test/resources/application-pom-sb2.xml
+++ b/tests/camel-itest-spring-boot/src/test/resources/application-pom-sb2.xml
@@ -77,7 +77,7 @@
         <repository>
             <id>central</id>
             <name>Maven Central</name>
-            <url>http://repo1.maven.org/maven2/</url>
+            <url>https://repo1.maven.org/maven2/</url>
             <releases>
                 <enabled>true</enabled>
             </releases>