From fb8f5a8ee9d909e7364fba8084c8460d50af8647 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Tue, 11 Feb 2020 11:36:29 -0500 Subject: [PATCH] Use HTTPS instead of HTTP to resolve dependencies This fixes a security vulnerability in this project where the `pom.xml` files were configuring Maven to resolve dependencies over HTTP instead of HTTPS. Signed-off-by: Jonathan Leitschuh --- modules/integration/service-samples/pom.xml | 8 ++++---- .../StarbucksServicePlatform/artifacts/pom.xml | 4 ++-- .../StarbucksServicePlatform/builder/pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/integration/service-samples/pom.xml b/modules/integration/service-samples/pom.xml index e030ee143..05ed7c23b 100644 --- a/modules/integration/service-samples/pom.xml +++ b/modules/integration/service-samples/pom.xml @@ -16,13 +16,13 @@ maven2-repository.dev.java.net - http://download.java.net/maven/2/ + https://download.java.net/maven/2/ wso2-nexus WSO2 internal Repository - http://maven.wso2.org/nexus/content/groups/wso2-public/ + https://maven.wso2.org/nexus/content/groups/wso2-public/ true daily @@ -32,7 +32,7 @@ wso2-maven2-repository WSO2 Maven2 Repository - http://dist.wso2.org/maven2 + https://dist.wso2.org/maven2 false @@ -46,7 +46,7 @@ maven2-repository-jococo Maven2 Repository - http://repo1.maven.org/maven2/ + https://repo1.maven.org/maven2/ saucelabs-repository diff --git a/modules/samples/integration-scenarios/starbucks_sample/StarbucksServicePlatform/artifacts/pom.xml b/modules/samples/integration-scenarios/starbucks_sample/StarbucksServicePlatform/artifacts/pom.xml index 8db65cfd4..7f4e74318 100644 --- a/modules/samples/integration-scenarios/starbucks_sample/StarbucksServicePlatform/artifacts/pom.xml +++ b/modules/samples/integration-scenarios/starbucks_sample/StarbucksServicePlatform/artifacts/pom.xml @@ -26,13 +26,13 @@ wso2-maven2-repository-1 - http://dist.wso2.org/maven2 + https://dist.wso2.org/maven2 wso2-maven2-plugin-repository-1 - http://dist.wso2.org/maven2 + https://dist.wso2.org/maven2 diff --git a/modules/samples/integration-scenarios/starbucks_sample/StarbucksServicePlatform/builder/pom.xml b/modules/samples/integration-scenarios/starbucks_sample/StarbucksServicePlatform/builder/pom.xml index afdf72c21..288eccc90 100644 --- a/modules/samples/integration-scenarios/starbucks_sample/StarbucksServicePlatform/builder/pom.xml +++ b/modules/samples/integration-scenarios/starbucks_sample/StarbucksServicePlatform/builder/pom.xml @@ -15,13 +15,13 @@ wso2-maven2-repository-1 - http://dist.wso2.org/maven2 + https://dist.wso2.org/maven2 wso2-maven2-repository-1 - http://dist.wso2.org/maven2 + https://dist.wso2.org/maven2 diff --git a/pom.xml b/pom.xml index 1bed83aa0..9ee564f6b 100755 --- a/pom.xml +++ b/pom.xml @@ -1211,7 +1211,7 @@ wso2.releases WSO2 internal Repository - http://maven.wso2.org/nexus/content/repositories/releases/ + https://maven.wso2.org/nexus/content/repositories/releases/ true daily @@ -1221,7 +1221,7 @@ wso2.snapshots Apache Snapshot Repository - http://maven.wso2.org/nexus/content/repositories/snapshots/ + https://maven.wso2.org/nexus/content/repositories/snapshots/ true daily @@ -1233,7 +1233,7 @@ wso2-nexus WSO2 internal Repository - http://maven.wso2.org/nexus/content/groups/wso2-public/ + https://maven.wso2.org/nexus/content/groups/wso2-public/ true daily @@ -1245,7 +1245,7 @@ wso2-nexus WSO2 internal Repository - http://maven.wso2.org/nexus/content/groups/wso2-public/ + https://maven.wso2.org/nexus/content/groups/wso2-public/ true daily @@ -1255,7 +1255,7 @@ wso2.releases WSO2 internal Repository - http://maven.wso2.org/nexus/content/repositories/releases/ + https://maven.wso2.org/nexus/content/repositories/releases/ true daily @@ -1265,7 +1265,7 @@ wso2.snapshots Apache Snapshot Repository - http://maven.wso2.org/nexus/content/repositories/snapshots/ + https://maven.wso2.org/nexus/content/repositories/snapshots/ true daily @@ -1279,12 +1279,12 @@ nexus-releases WSO2 Release Distribution Repository - http://maven.wso2.org/nexus/service/local/staging/deploy/maven2/ + https://maven.wso2.org/nexus/service/local/staging/deploy/maven2/ wso2.snapshots Apache Snapshot Repository - http://maven.wso2.org/nexus/content/repositories/snapshots/ + https://maven.wso2.org/nexus/content/repositories/snapshots/