From 4c964aadaa2bc9ad9c573aee10ea96a6eb75cac4 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Sun, 15 Dec 2024 00:13:30 +0000 Subject: [PATCH] Declare used dependencies (#227) * Declare used dependencies --- maven-scm-client/pom.xml | 4 ---- maven-scm-plugin/pom.xml | 11 +++++++++++ maven-scm-providers/maven-scm-provider-hg/pom.xml | 8 ++++++++ .../maven-scm-provider-local/pom.xml | 4 ++++ .../maven-scm-provider-gitexe/pom.xml | 8 ++++++-- .../maven-scm-provider-jgit/pom.xml | 4 ++++ .../maven-scm-provider-svn-commons/pom.xml | 14 +++++++++----- .../maven-scm-provider-svnexe/pom.xml | 4 ++++ maven-scm-test/pom.xml | 5 +++-- .../java/org/apache/maven/scm/ScmTckTestCase.java | 2 +- pom.xml | 5 +++++ 11 files changed, 55 insertions(+), 14 deletions(-) diff --git a/maven-scm-client/pom.xml b/maven-scm-client/pom.xml index 7c764fd65..e69e062f5 100644 --- a/maven-scm-client/pom.xml +++ b/maven-scm-client/pom.xml @@ -41,10 +41,6 @@ org.apache.maven.scm maven-scm-api - - org.codehaus.plexus - plexus-utils - diff --git a/maven-scm-plugin/pom.xml b/maven-scm-plugin/pom.xml index ada480905..6ac0b69ec 100644 --- a/maven-scm-plugin/pom.xml +++ b/maven-scm-plugin/pom.xml @@ -111,6 +111,11 @@ file-management 3.1.0 + + org.apache.commons + commons-lang3 + 3.17.0 + org.codehaus.plexus @@ -126,6 +131,12 @@ + + junit + junit + 4.13.2 + test + org.apache.maven.plugin-testing maven-plugin-testing-harness diff --git a/maven-scm-providers/maven-scm-provider-hg/pom.xml b/maven-scm-providers/maven-scm-provider-hg/pom.xml index 844979629..a2b34992b 100644 --- a/maven-scm-providers/maven-scm-provider-hg/pom.xml +++ b/maven-scm-providers/maven-scm-provider-hg/pom.xml @@ -55,10 +55,18 @@ org.codehaus.plexus plexus-utils + + org.codehaus.plexus + plexus-xml + org.slf4j slf4j-api + + org.apache.commons + commons-lang3 + junit diff --git a/maven-scm-providers/maven-scm-provider-local/pom.xml b/maven-scm-providers/maven-scm-provider-local/pom.xml index fbbb75742..bc1bc4ba7 100644 --- a/maven-scm-providers/maven-scm-provider-local/pom.xml +++ b/maven-scm-providers/maven-scm-provider-local/pom.xml @@ -48,6 +48,10 @@ org.slf4j slf4j-api + + org.apache.commons + commons-lang3 + junit diff --git a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/pom.xml b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/pom.xml index 38d60fd02..447990585 100644 --- a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/pom.xml +++ b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/pom.xml @@ -49,16 +49,20 @@ commons-text 1.13.0 + + org.apache.commons + commons-lang3 + org.codehaus.plexus plexus-utils - - org.apache.maven.scm maven-scm-provider-git-commons + + org.apache.maven.scm maven-scm-provider-gittest diff --git a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/pom.xml b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/pom.xml index 9a89cdbd8..dd546f99e 100644 --- a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/pom.xml +++ b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-jgit/pom.xml @@ -72,6 +72,10 @@ org.codehaus.plexus plexus-utils + + org.apache.commons + commons-lang3 + diff --git a/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svn-commons/pom.xml b/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svn-commons/pom.xml index e501636a1..63976ef2a 100644 --- a/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svn-commons/pom.xml +++ b/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svn-commons/pom.xml @@ -32,11 +32,6 @@ Common library for SCM SVN Provider. Includes the svn-settings.xml configuration model. - - javax.inject - javax.inject - test - org.codehaus.plexus plexus-utils @@ -49,7 +44,16 @@ org.slf4j slf4j-api + + org.apache.commons + commons-lang3 + + + javax.inject + javax.inject + test + junit junit diff --git a/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/pom.xml b/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/pom.xml index b73ac75e3..7e2392ce9 100644 --- a/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/pom.xml +++ b/maven-scm-providers/maven-scm-providers-svn/maven-scm-provider-svnexe/pom.xml @@ -54,6 +54,10 @@ org.slf4j slf4j-api + + org.apache.commons + commons-lang3 + diff --git a/maven-scm-test/pom.xml b/maven-scm-test/pom.xml index 869549025..52967656d 100644 --- a/maven-scm-test/pom.xml +++ b/maven-scm-test/pom.xml @@ -41,8 +41,9 @@ plexus-utils - org.codehaus.plexus - plexus-xml + org.apache.commons + commons-lang3 + 3.17.0 org.eclipse.sisu diff --git a/maven-scm-test/src/main/java/org/apache/maven/scm/ScmTckTestCase.java b/maven-scm-test/src/main/java/org/apache/maven/scm/ScmTckTestCase.java index 67b7bd82d..d48d13a80 100644 --- a/maven-scm-test/src/main/java/org/apache/maven/scm/ScmTckTestCase.java +++ b/maven-scm-test/src/main/java/org/apache/maven/scm/ScmTckTestCase.java @@ -155,8 +155,8 @@ public void removeRepo() throws Exception {} @After @Override public void tearDown() throws Exception { - super.tearDown(); removeRepo(); + super.tearDown(); } /** diff --git a/pom.xml b/pom.xml index c80cc1a24..07da62b5f 100644 --- a/pom.xml +++ b/pom.xml @@ -271,6 +271,11 @@ commons-io 2.18.0 + + org.apache.commons + commons-lang3 + 3.17.0 +