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:27:51 UTC

[camel] 04/04: 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-3.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 2a2816b44a1899a5eea9f31932c3840a87facc64
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jan 17 12:21:16 2020 +0100

    CAMEL-14412 - Maven central now requires HTTPS
---
 .../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 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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 422acc9..9ff8b95 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 2e34f8b..c5cea31 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 2d88840..83c95ac 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>