Skip to content

Commit 9db988a

Browse files
Cleanups dependencies
- remove unneeded dependencies - make maven-compat, plexus-archiver optional - not used in JUnit 5
1 parent 5df06f3 commit 9db988a

File tree

1 file changed

+9
-23
lines changed
  • maven-plugin-testing-harness

1 file changed

+9
-23
lines changed

maven-plugin-testing-harness/pom.xml

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ under the License.
6161
<version>${mavenVersion}</version>
6262
<scope>provided</scope>
6363
</dependency>
64+
<dependency>
65+
<groupId>javax.inject</groupId>
66+
<artifactId>javax.inject</artifactId>
67+
<version>1</version>
68+
<scope>provided</scope>
69+
</dependency>
70+
6471
<dependency>
6572
<groupId>org.apache.maven</groupId>
6673
<artifactId>maven-resolver-provider</artifactId>
@@ -73,18 +80,6 @@ under the License.
7380
<version>${wagonVersion}</version>
7481
<scope>provided</scope>
7582
</dependency>
76-
<dependency>
77-
<groupId>org.apache.maven.wagon</groupId>
78-
<artifactId>wagon-file</artifactId>
79-
<version>${wagonVersion}</version>
80-
<scope>provided</scope>
81-
</dependency>
82-
<dependency>
83-
<groupId>org.apache.maven.wagon</groupId>
84-
<artifactId>wagon-http</artifactId>
85-
<version>${wagonVersion}</version>
86-
<scope>provided</scope>
87-
</dependency>
8883
<!--
8984
Keep this one as isolated as possible.
9085
But has to be present, as Maven 3 object graph is incomplete without it
@@ -94,6 +89,7 @@ under the License.
9489
<artifactId>maven-compat</artifactId>
9590
<version>${mavenVersion}</version>
9691
<scope>runtime</scope>
92+
<optional>true</optional>
9793
<exclusions>
9894
<exclusion>
9995
<groupId>*</groupId>
@@ -111,11 +107,7 @@ under the License.
111107
<groupId>org.codehaus.plexus</groupId>
112108
<artifactId>plexus-archiver</artifactId>
113109
<version>4.10.3</version>
114-
</dependency>
115-
<dependency>
116-
<groupId>org.apache.commons</groupId>
117-
<artifactId>commons-compress</artifactId>
118-
<version>1.28.0</version>
110+
<optional>true</optional>
119111
</dependency>
120112

121113
<dependency>
@@ -130,12 +122,6 @@ under the License.
130122
</exclusion>
131123
</exclusions>
132124
</dependency>
133-
<dependency>
134-
<!-- newer version is required by plexus-testing -->
135-
<groupId>com.google.guava</groupId>
136-
<artifactId>guava</artifactId>
137-
<version>33.5.0-jre</version>
138-
</dependency>
139125
<dependency>
140126
<groupId>junit</groupId>
141127
<artifactId>junit</artifactId>

0 commit comments

Comments
 (0)