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 12:04:55 UTC

[camel-spring-boot] branch master updated: 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 master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new 3df5a03  CAMEL-14412 - Maven central now requires HTTPS
3df5a03 is described below

commit 3df5a03e23a65f8558f45185a2e7c241ea8de7b5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jan 17 13:04:21 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/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/util/BOMResolver.java b/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/util/BOMResolver.java
index 422acc9..9ff8b95 100644
--- a/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/util/BOMResolver.java
+++ b/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/camel-itest-spring-boot/src/test/resources/application-pom-sb1.xml b/camel-itest-spring-boot/src/test/resources/application-pom-sb1.xml
index 2e34f8b..c5cea31 100644
--- a/camel-itest-spring-boot/src/test/resources/application-pom-sb1.xml
+++ b/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/camel-itest-spring-boot/src/test/resources/application-pom-sb2.xml b/camel-itest-spring-boot/src/test/resources/application-pom-sb2.xml
index 2d88840..83c95ac 100644
--- a/camel-itest-spring-boot/src/test/resources/application-pom-sb2.xml
+++ b/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>