Skip to content

Commit e3b121a

Browse files
Cleanups dependencies
1 parent e8235e0 commit e3b121a

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

pom.xml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,6 @@ under the License.
139139
<version>${mavenVersion}</version>
140140
<scope>provided</scope>
141141
</dependency>
142-
<dependency>
143-
<groupId>org.apache.maven</groupId>
144-
<artifactId>maven-resolver-provider</artifactId>
145-
<version>${mavenVersion}</version>
146-
<scope>provided</scope>
147-
</dependency>
148142

149143
<!-- doxia -->
150144
<dependency>
@@ -318,12 +312,6 @@ under the License.
318312
<artifactId>junit-jupiter-params</artifactId>
319313
<scope>test</scope>
320314
</dependency>
321-
<dependency>
322-
<groupId>jakarta.json</groupId>
323-
<artifactId>jakarta.json-api</artifactId>
324-
<version>2.0.2</version>
325-
<scope>test</scope>
326-
</dependency>
327315
<dependency>
328316
<groupId>org.glassfish</groupId>
329317
<artifactId>jakarta.json</artifactId>
@@ -442,6 +430,25 @@ under the License.
442430
<suppressionsLocation>src/config/checkstyle-suppressions.xml</suppressionsLocation>
443431
</configuration>
444432
</plugin>
433+
<plugin>
434+
<groupId>org.apache.maven.plugins</groupId>
435+
<artifactId>maven-dependency-plugin</artifactId>
436+
<executions>
437+
<execution>
438+
<id>analyze</id>
439+
<configuration>
440+
<failOnWarning>true</failOnWarning>
441+
<ignoredUnusedDeclaredDependencies combine.children="append">
442+
<!-- used in tests runtime -->
443+
<ignoredUnusedDeclaredDependency>org.apache.maven.resolver:maven-resolver-connector-basic</ignoredUnusedDeclaredDependency>
444+
<ignoredUnusedDeclaredDependency>org.apache.maven.resolver:maven-resolver-transport-file</ignoredUnusedDeclaredDependency>
445+
<ignoredUnusedDeclaredDependency>org.apache.maven.resolver:maven-resolver-transport-http</ignoredUnusedDeclaredDependency>
446+
<ignoredUnusedDeclaredDependency>org.junit.vintage:junit-vintage-engine</ignoredUnusedDeclaredDependency>
447+
</ignoredUnusedDeclaredDependencies>
448+
</configuration>
449+
</execution>
450+
</executions>
451+
</plugin>
445452
</plugins>
446453
</pluginManagement>
447454
<plugins>

0 commit comments

Comments
 (0)