This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/2_0_X by this push:
new ddf9ef2 Maven: no valid cert from https://central.maven.org,
replacing with https://repo1.maven.org
ddf9ef2 is described below
commit ddf9ef2317181388d20e529471091a7cfd0fcbf2
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Thu Jan 16 09:11:05 2020 +0100
Maven: no valid cert from https://central.maven.org, replacing with
https://repo1.maven.org
---
.../java/org/apache/syncope/installer/utilities/DriverLoader.java | 6 +++---
.../java/org/apache/syncope/installer/utilities/MavenUtils.java | 2 +-
pom.xml | 2 +-
src/main/asciidoc/getting-started/obtain.adoc | 4 ++--
.../systemadministration/connectorbundles.adoc | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
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 e5db7c1..e33a5ce 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/postgresql/postgresql/9.1-901.jdbc4/postgresql-9.1-901.jdbc4.jar";
+
"https://repo1.maven.org/maven2/postgresql/postgresql/9.1-901.jdbc4/postgresql-9.1-901.jdbc4.jar";
private static final String MYSQL_JAR =
-
"https://central.maven.org/maven2/mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar";
+
"https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar";
private static final String MARIADB_JAR =
-
"https://central.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/1.1.8/mariadb-java-client-1.1.8.jar";
+
"https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/1.1.8/mariadb-java-client-1.1.8.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 5af3a2c..55094af 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
@@ -108,7 +108,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 d63e8ca..a4a9d94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2081,7 +2081,7 @@ under the License.
<container>
<containerId>tomcat8x</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/getting-started/obtain.adoc
b/src/main/asciidoc/getting-started/obtain.adoc
index 0238d22..6cc3ef9 100644
--- a/src/main/asciidoc/getting-started/obtain.adoc
+++ b/src/main/asciidoc/getting-started/obtain.adoc
@@ -121,7 +121,7 @@ https://www.postgresql.org/download/linux/ubuntu/[Ubuntu^]
distribution:
. Use the PostgreSQL JDBC driver with Tomcat
+
[source,bash,subs="attributes"]
-$ cd /usr/share/tomcat8/lib/ && sudo wget
https://central.maven.org/maven2/org/postgresql/postgresql/{postgresqlJDBC}/postgresql-{postgresqlJDBC}.jar
+$ cd /usr/share/tomcat8/lib/ && sudo wget
https://repo1.maven.org/maven2/org/postgresql/postgresql/{postgresqlJDBC}/postgresql-{postgresqlJDBC}.jar
+
. Replace `JAVA_OPTS` in `/etc/default/tomcat8` with the following:
+
@@ -555,7 +555,7 @@ ifeval::["{snapshotOrRelease}" == "release"]
$ mvn archetype:generate \
-DarchetypeGroupId=org.apache.syncope \
-DarchetypeArtifactId=syncope-archetype \
- -DarchetypeRepository=https://central.maven.org/maven2 \
+ -DarchetypeRepository=https://repo1.maven.org/maven2 \
-DarchetypeVersion={docVersion}
----
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^].