This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-wagon.git
The following commit(s) were added to refs/heads/master by this push:
new 05df0340 Clean up declared dependencies
05df0340 is described below
commit 05df03407ef621eeeaf96226af6f61427bf9966d
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Thu Oct 29 13:37:27 2026 +0000
Clean up declared dependencies
Removed:
- plexus-utils (wagon-http-shared, wagon-http-lightweight, wagon-ssh)
- sisu.plexus, guice (wagon-http)
- slf4j-api (wagon-ssh-common-test)
Rescoped to test:
- httpclient, httpcore, plexus-utils (wagon-http)
- slf4j-api (wagon-http-lightweight)
Declared:
- javax.servlet-api, test (wagon-http-lightweight)
- sshd-common (wagon-ssh-common-test)
Moved:
- wagon-provider-test from wagon-providers to the provider modules that use
it (all except wagon-http-shared and wagon-ssh-common)
---
wagon-providers/pom.xml | 5 -----
wagon-providers/wagon-file/pom.xml | 5 +++++
wagon-providers/wagon-ftp/pom.xml | 5 +++++
wagon-providers/wagon-http-lightweight/pom.xml | 15 +++++++++++----
wagon-providers/wagon-http-shared/pom.xml | 4 ----
wagon-providers/wagon-http/pom.xml | 19 ++++++++-----------
wagon-providers/wagon-scm/pom.xml | 5 +++++
wagon-providers/wagon-ssh-common-test/pom.xml | 10 ++++++----
wagon-providers/wagon-ssh-external/pom.xml | 5 +++++
wagon-providers/wagon-ssh/pom.xml | 9 +++++----
wagon-providers/wagon-webdav-jackrabbit/pom.xml | 5 +++++
11 files changed, 55 insertions(+), 32 deletions(-)
diff --git a/wagon-providers/pom.xml b/wagon-providers/pom.xml
index ccdb50bc..e79ecc2e 100644
--- a/wagon-providers/pom.xml
+++ b/wagon-providers/pom.xml
@@ -77,10 +77,5 @@ under the License.
<artifactId>org.eclipse.sisu.inject</artifactId>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-provider-test</artifactId>
- <scope>test</scope>
- </dependency>
</dependencies>
</project>
diff --git a/wagon-providers/wagon-file/pom.xml
b/wagon-providers/wagon-file/pom.xml
index 5e350333..47982424 100644
--- a/wagon-providers/wagon-file/pom.xml
+++ b/wagon-providers/wagon-file/pom.xml
@@ -44,5 +44,10 @@ under the License.
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-provider-test</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
diff --git a/wagon-providers/wagon-ftp/pom.xml
b/wagon-providers/wagon-ftp/pom.xml
index 7543278b..a91653f1 100644
--- a/wagon-providers/wagon-ftp/pom.xml
+++ b/wagon-providers/wagon-ftp/pom.xml
@@ -60,6 +60,11 @@ under the License.
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-provider-test</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
diff --git a/wagon-providers/wagon-http-lightweight/pom.xml
b/wagon-providers/wagon-http-lightweight/pom.xml
index 57954b90..add42269 100644
--- a/wagon-providers/wagon-http-lightweight/pom.xml
+++ b/wagon-providers/wagon-http-lightweight/pom.xml
@@ -54,13 +54,10 @@ under the License.
<version>${project.version}</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-utils</artifactId>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
@@ -72,6 +69,11 @@ under the License.
<artifactId>jetty-util</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
@@ -82,5 +84,10 @@ under the License.
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-provider-test</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
diff --git a/wagon-providers/wagon-http-shared/pom.xml
b/wagon-providers/wagon-http-shared/pom.xml
index f9ce3734..bedcf63e 100644
--- a/wagon-providers/wagon-http-shared/pom.xml
+++ b/wagon-providers/wagon-http-shared/pom.xml
@@ -49,10 +49,6 @@ under the License.
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</dependency>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-utils</artifactId>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
diff --git a/wagon-providers/wagon-http/pom.xml
b/wagon-providers/wagon-http/pom.xml
index aa0eaabb..9f03c05a 100644
--- a/wagon-providers/wagon-http/pom.xml
+++ b/wagon-providers/wagon-http/pom.xml
@@ -49,6 +49,7 @@ under the License.
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
+ <scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
@@ -59,10 +60,12 @@ under the License.
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
@@ -104,17 +107,6 @@ under the License.
<artifactId>javax.servlet-api</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.eclipse.sisu</groupId>
- <artifactId>org.eclipse.sisu.plexus</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.google.inject</groupId>
- <artifactId>guice</artifactId>
- <classifier>classes</classifier>
- <scope>test</scope>
- </dependency>
<!-- used for the TCK -->
<dependency>
@@ -124,6 +116,11 @@ under the License.
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-provider-test</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/wagon-providers/wagon-scm/pom.xml
b/wagon-providers/wagon-scm/pom.xml
index 0621fb9d..ab9891cd 100644
--- a/wagon-providers/wagon-scm/pom.xml
+++ b/wagon-providers/wagon-scm/pom.xml
@@ -86,6 +86,11 @@ under the License.
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-provider-test</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/wagon-providers/wagon-ssh-common-test/pom.xml
b/wagon-providers/wagon-ssh-common-test/pom.xml
index fe40ab91..0b7591d2 100644
--- a/wagon-providers/wagon-ssh-common-test/pom.xml
+++ b/wagon-providers/wagon-ssh-common-test/pom.xml
@@ -50,10 +50,6 @@ under the License.
<classifier>classes</classifier>
<scope>compile</scope>
</dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
@@ -72,6 +68,12 @@ under the License.
<version>${sshdVersion}</version>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.sshd</groupId>
+ <artifactId>sshd-common</artifactId>
+ <version>${sshdVersion}</version>
+ <scope>compile</scope>
+ </dependency>
<dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-scp</artifactId>
diff --git a/wagon-providers/wagon-ssh-external/pom.xml
b/wagon-providers/wagon-ssh-external/pom.xml
index dd18a3a6..75f8c3ac 100644
--- a/wagon-providers/wagon-ssh-external/pom.xml
+++ b/wagon-providers/wagon-ssh-external/pom.xml
@@ -60,6 +60,11 @@ under the License.
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-provider-test</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<profiles>
diff --git a/wagon-providers/wagon-ssh/pom.xml
b/wagon-providers/wagon-ssh/pom.xml
index 7b5e5b70..c94ce8c5 100644
--- a/wagon-providers/wagon-ssh/pom.xml
+++ b/wagon-providers/wagon-ssh/pom.xml
@@ -41,10 +41,6 @@ under the License.
<artifactId>jsch</artifactId>
<version>2.28.8</version>
</dependency>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-utils</artifactId>
- </dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-interactivity-api</artifactId>
@@ -94,6 +90,11 @@ under the License.
<artifactId>plexus-testing</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-provider-test</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<profiles>
diff --git a/wagon-providers/wagon-webdav-jackrabbit/pom.xml
b/wagon-providers/wagon-webdav-jackrabbit/pom.xml
index 55c8ca93..91831c24 100644
--- a/wagon-providers/wagon-webdav-jackrabbit/pom.xml
+++ b/wagon-providers/wagon-webdav-jackrabbit/pom.xml
@@ -114,6 +114,11 @@ under the License.
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-provider-test</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>