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

commit 41615eb35acc76ad897b2255b648508fefd5649e
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Thu Jan 16 08:38:22 2020 +0100

    Maven: https and central everywhere
---
 .../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 +-
 6 files changed, 12 insertions(+), 12 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 8564c41..e5db7c1 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/postgresql/postgresql/9.1-901.jdbc4/postgresql-9.1-901.jdbc4.jar";;
+            
"https://central.maven.org/maven2/postgresql/postgresql/9.1-901.jdbc4/postgresql-9.1-901.jdbc4.jar";;
 
     private static final String MYSQL_JAR =
-            
"http://central.maven.org/maven2/mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar";;
+            
"https://central.maven.org/maven2/mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar";;
 
     private static final String MARIADB_JAR =
-            
"http://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/1.1.8/mariadb-java-client-1.1.8.jar";;
+            
"https://central.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 58282fb..5af3a2c 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
@@ -107,8 +107,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 542bd7e..d63e8ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1900,7 +1900,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>
@@ -2081,7 +2081,7 @@ under the License.
             <container>
               <containerId>tomcat8x</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 1ca4cd5..0238d22 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 
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:
 +
@@ -555,7 +555,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}
 ----
 
@@ -568,7 +568,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>

Reply via email to