You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2020/01/16 08:15:34 UTC

[syncope] branch 2_1_X updated: Maven: no valid cert from https://central.maven.org, replacing with https://repo1.maven.org

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

ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_1_X by this push:
     new 3817b5b  Maven: no valid cert from https://central.maven.org, replacing with https://repo1.maven.org
3817b5b is described below

commit 3817b5b098564478557925048f902d01cee60d6f
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Thu Jan 16 09:14:06 2020 +0100

    Maven: no valid cert from https://central.maven.org, replacing with https://repo1.maven.org
---
 fit/core-reference/pom.xml                                          | 2 +-
 .../java/org/apache/syncope/installer/utilities/DriverLoader.java   | 6 +++---
 .../java/org/apache/syncope/installer/utilities/MavenUtils.java     | 2 +-
 pom.xml                                                             | 2 +-
 .../systemadministration/connectorbundles.adoc                      | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml
index c14b5f7..36f09fa 100644
--- a/fit/core-reference/pom.xml
+++ b/fit/core-reference/pom.xml
@@ -1573,7 +1573,7 @@ under the License.
               <container>
                 <containerId>payara</containerId>
                 <zipUrlInstaller>
-                  <url>https://central.maven.org/maven2/fish/payara/distributions/payara/5.194/payara-5.194.zip</url>
+                  <url>https://repo1.maven.org/maven2/fish/payara/distributions/payara/5.194/payara-5.194.zip</url>
                   <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir>
                   <extractDir>${project.build.directory}/cargo/extract</extractDir>
                 </zipUrlInstaller>
diff --git a/installer/src/main/java/org/apache/syncope/installer/utilities/DriverLoader.java b/installer/src/main/java/org/apache/syncope/installer/utilities/DriverLoader.java
index 7b4e9d8..6b25791 100644
--- a/installer/src/main/java/org/apache/syncope/installer/utilities/DriverLoader.java
+++ b/installer/src/main/java/org/apache/syncope/installer/utilities/DriverLoader.java
@@ -28,13 +28,13 @@ import java.sql.Driver;
 public final class DriverLoader extends URLClassLoader {
 
     private static final String POSTGRES_JAR =
-            "https://central.maven.org/maven2/org/postgresql/postgresql/42.2.2/postgresql-42.2.2.jar";
+            "https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.2/postgresql-42.2.2.jar";
 
     private static final String MYSQL_JAR =
-            "https://central.maven.org/maven2/mysql/mysql-connector-java/5.1.46/mysql-connector-java-5.1.46.jar";
+            "https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.46/mysql-connector-java-5.1.46.jar";
 
     private static final String MARIADB_JAR =
-            "https://central.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/2.2.5/mariadb-java-client-2.2.5.jar";
+            "https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/2.2.5/mariadb-java-client-2.2.5.jar";
 
     private static final String POSTGRES_CLASS_DRIVER = "org.postgresql.Driver";
 
diff --git a/installer/src/main/java/org/apache/syncope/installer/utilities/MavenUtils.java b/installer/src/main/java/org/apache/syncope/installer/utilities/MavenUtils.java
index 46a2720..456b801 100644
--- a/installer/src/main/java/org/apache/syncope/installer/utilities/MavenUtils.java
+++ b/installer/src/main/java/org/apache/syncope/installer/utilities/MavenUtils.java
@@ -103,7 +103,7 @@ public class MavenUtils {
         properties.setProperty("archetypeRepository",
                 archetypeVersion.contains("SNAPSHOT")
                 ? "https://repository.apache.org/content/repositories/snapshots"
-                : "https://central.maven.org/maven2");
+                : "https://repo1.maven.org/maven2");
         properties.setProperty("archetypeVersion", archetypeVersion);
         properties.setProperty("groupId", groupId);
         properties.setProperty("artifactId", artifactId);
diff --git a/pom.xml b/pom.xml
index e4eb644..2ee9a31 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2043,7 +2043,7 @@ under the License.
             <container>
               <containerId>tomcat9x</containerId>
               <zipUrlInstaller>
-                <url>https://central.maven.org/maven2/org/apache/tomcat/tomcat/${tomcat.version}/tomcat-${tomcat.version}.zip</url>
+                <url>https://repo1.maven.org/maven2/org/apache/tomcat/tomcat/${tomcat.version}/tomcat-${tomcat.version}.zip</url>
                 <downloadDir>${settings.localRepository}/org/codehaus/cargo/cargo-container-archives</downloadDir>
                 <extractDir>${project.build.directory}/cargo/extract</extractDir>
               </zipUrlInstaller>
diff --git a/src/main/asciidoc/reference-guide/workingwithapachesyncope/systemadministration/connectorbundles.adoc b/src/main/asciidoc/reference-guide/workingwithapachesyncope/systemadministration/connectorbundles.adoc
index b3f2043..dcc94fd 100644
--- a/src/main/asciidoc/reference-guide/workingwithapachesyncope/systemadministration/connectorbundles.adoc
+++ b/src/main/asciidoc/reference-guide/workingwithapachesyncope/systemadministration/connectorbundles.adoc
@@ -29,7 +29,7 @@
 
 First of all, verify which connector bundles are predefined in your project by looking at your project's parent
 ifeval::["{snapshotOrRelease}" == "release"]
-https://central.maven.org/maven2/org/apache/syncope/syncope/{docVersion}[POM^].
+https://repo1.maven.org/maven2/org/apache/syncope/syncope/{docVersion}[POM^].
 endif::[]
 ifeval::["{snapshotOrRelease}" == "snapshot"]
 https://repository.apache.org/content/groups/snapshots/org/apache/syncope/syncope/{docVersion}[POM^].