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 07:44:37 UTC

[syncope] branch 2_1_X updated: Maven: https and central everywhere

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 b50fa00  Maven: https and central everywhere
b50fa00 is described below

commit b50fa00989bc2bea7d350ffc96b3977f6bbb177c
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Thu Jan 16 08:41:04 2020 +0100

    Maven: https and central everywhere
---
 fit/core-reference/pom.xml                                          | 2 +-
 .../java/org/apache/syncope/installer/utilities/DriverLoader.java   | 6 +++---
 .../java/org/apache/syncope/installer/utilities/MavenUtils.java     | 4 ++--
 pom.xml                                                             | 4 ++--
 src/main/asciidoc/getting-started/obtain.adoc                       | 6 +++---
 .../systemadministration/connectorbundles.adoc                      | 2 +-
 src/site/xdoc/release-process.xml                                   | 2 +-
 7 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/fit/core-reference/pom.xml b/fit/core-reference/pom.xml
index 36f09fa..c14b5f7 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://repo1.maven.org/maven2/fish/payara/distributions/payara/5.194/payara-5.194.zip</url>
+                  <url>https://central.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 81229b2..7b4e9d8 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 =
-            "http://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.2/postgresql-42.2.2.jar";
+            "https://central.maven.org/maven2/org/postgresql/postgresql/42.2.2/postgresql-42.2.2.jar";
 
     private static final String MYSQL_JAR =
-            "http://central.maven.org/maven2/mysql/mysql-connector-java/5.1.46/mysql-connector-java-5.1.46.jar";
+            "https://central.maven.org/maven2/mysql/mysql-connector-java/5.1.46/mysql-connector-java-5.1.46.jar";
 
     private static final String MARIADB_JAR =
-            "http://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/2.2.5/mariadb-java-client-2.2.5.jar";
+            "https://central.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 b704247..46a2720 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
@@ -102,8 +102,8 @@ public class MavenUtils {
         properties.setProperty("archetypeArtifactId", "syncope-archetype");
         properties.setProperty("archetypeRepository",
                 archetypeVersion.contains("SNAPSHOT")
-                ? "http://repository.apache.org/content/repositories/snapshots"
-                : "http://repo1.maven.org/maven2");
+                ? "https://repository.apache.org/content/repositories/snapshots"
+                : "https://central.maven.org/maven2");
         properties.setProperty("archetypeVersion", archetypeVersion);
         properties.setProperty("groupId", groupId);
         properties.setProperty("artifactId", artifactId);
diff --git a/pom.xml b/pom.xml
index 324f21f..e4eb644 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1856,7 +1856,7 @@ under the License.
     </pluginRepository>
     <pluginRepository>
       <id>apache.snapshots</id>
-      <url>http://repository.apache.org/snapshots</url>
+      <url>https://repository.apache.org/snapshots</url>
       <releases>
         <enabled>false</enabled>
       </releases>
@@ -2043,7 +2043,7 @@ under the License.
             <container>
               <containerId>tomcat9x</containerId>
               <zipUrlInstaller>
-                <url>http://central.maven.org/maven2/org/apache/tomcat/tomcat/${tomcat.version}/tomcat-${tomcat.version}.zip</url>
+                <url>https://central.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 6f63ecb..6bae992 100644
--- a/src/main/asciidoc/getting-started/obtain.adoc
+++ b/src/main/asciidoc/getting-started/obtain.adoc
@@ -113,7 +113,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 http://central.maven.org/maven2/org/postgresql/postgresql/{postgresqlJDBC}/postgresql-{postgresqlJDBC}.jar
+$ cd /usr/share/tomcat8/lib/ && sudo wget https://central.maven.org/maven2/org/postgresql/postgresql/{postgresqlJDBC}/postgresql-{postgresqlJDBC}.jar
 +
 . Replace `JAVA_OPTS` in `/etc/default/tomcat8` with the following:
 +
@@ -540,7 +540,7 @@ ifeval::["{snapshotOrRelease}" == "release"]
 $ mvn archetype:generate \
     -DarchetypeGroupId=org.apache.syncope \
     -DarchetypeArtifactId=syncope-archetype \
-    -DarchetypeRepository=http://repo1.maven.org/maven2 \
+    -DarchetypeRepository=https://central.maven.org/maven2 \
     -DarchetypeVersion={docVersion}
 ----
 
@@ -553,7 +553,7 @@ ifeval::["{snapshotOrRelease}" == "snapshot"]
 $ mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate \
     -DarchetypeGroupId=org.apache.syncope \
     -DarchetypeArtifactId=syncope-archetype \
-    -DarchetypeRepository=http://repository.apache.org/content/repositories/snapshots \
+    -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots \
     -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 76e492c..b3f2043 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"]
-http://central.maven.org/maven2/org/apache/syncope/syncope/{docVersion}[POM^].
+https://central.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^].
diff --git a/src/site/xdoc/release-process.xml b/src/site/xdoc/release-process.xml
index c552fc1..545329c 100644
--- a/src/site/xdoc/release-process.xml
+++ b/src/site/xdoc/release-process.xml
@@ -34,7 +34,7 @@ under the License.
 
     <section name="Introduction">
       <p>The Syncope team uses the 
-        <a href="http://repository.apache.org">Apache Nexus repository</a> for releasing SNAPSHOT and release artifacts.
+        <a href="https://repository.apache.org">Apache Nexus repository</a> for releasing SNAPSHOT and release artifacts.
         <br/>
         More details on
         <a href="http://www.apache.org/dev/publishing-maven-artifacts.html#maven">releasing Maven artifacts</a>