This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-rar-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 578af1a Verify clean and up-to-date dependency declarations (#27) 578af1a is described below commit 578af1a04c32fc0ec84f34c864bd33fb45e584cf Author: Elliotte Rusty Harold <elh...@users.noreply.github.com> AuthorDate: Sun Dec 1 22:13:08 2024 +0000 Verify clean and up-to-date dependency declarations (#27) * check dependencies on build --- pom.xml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 4a9d04f..40abe32 100644 --- a/pom.xml +++ b/pom.xml @@ -99,12 +99,6 @@ under the License. <version>${mavenVersion}</version> <scope>provided</scope> </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-settings</artifactId> - <version>${mavenVersion}</version> - <scope>provided</scope> - </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> @@ -187,6 +181,23 @@ under the License. <groupId>org.eclipse.sisu</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>3.8.1</version> + <executions> + <execution> + <id>analyze</id> + <goals> + <goal>analyze-only</goal> + </goals> + <configuration> + <failOnWarning>true</failOnWarning> + <ignoredDependencies>junit:junit:*,org.apache.maven:maven-compat:*</ignoredDependencies> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build>