From 9158df60ea694250ef7bf878b81906cd177e3b60 Mon Sep 17 00:00:00 2001 From: Tamas Cservenak Date: Thu, 14 Oct 2021 11:03:53 +0200 Subject: [PATCH 1/2] Drop legacy profile A "helper" profile that is meant to help for downstream projects to ensure they are not depending on anything legacy, so to say that they are future-proof. --- pom.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/pom.xml b/pom.xml index 94f0fe16..2d8c9b70 100644 --- a/pom.xml +++ b/pom.xml @@ -1204,6 +1204,54 @@ under the License. + + + drop-legacy-dependencies + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + drop-legacy-dependencies + + enforce + + + + + + + + org.codehaus.plexus:plexus-container-default + + org.sonatype.sisu:sisu-inject-bean + org.sonatype.sisu:sisu-inject-plexus + + org.sonatype.aether:* + + org.sonatype.plexus:* + + org.apache.maven:maven-plugin-api:[,3.2.5) + + + + org.sonatype.plexus:plexus-build-api + + org.sonatype.plexus:plexus-sec-dispatcher + org.sonatype.plexus:plexus-cipher + + + + true + + + + + + + jdk-toolchain From 3eca81ae7601d6cf6af2b6de42b0d888d0d4489f Mon Sep 17 00:00:00 2001 From: Tamas Cservenak Date: Thu, 14 Oct 2021 11:13:26 +0200 Subject: [PATCH 2/2] Make possible to mark module as not included in this check --- pom.xml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 2d8c9b70..fca9ac4e 100644 --- a/pom.xml +++ b/pom.xml @@ -1207,6 +1207,10 @@ under the License. drop-legacy-dependencies + + + true + @@ -1222,18 +1226,19 @@ under the License. - - + org.codehaus.plexus:plexus-container-default - + org.sonatype.sisu:sisu-inject-bean org.sonatype.sisu:sisu-inject-plexus - + org.sonatype.aether:* org.sonatype.plexus:* org.apache.maven:maven-plugin-api:[,3.2.5) + org.apache.maven:maven-core:[,3.2.5) + org.apache.maven:maven-compat:[,3.2.5) @@ -1244,7 +1249,7 @@ under the License. - true + ${drop-legacy-dependencies.include}