You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2024/12/01 18:57:58 UTC
(maven-rar-plugin) 01/03: check dependencies on build
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch deps
in repository https://gitbox.apache.org/repos/asf/maven-rar-plugin.git
commit eadef3b34397b10a6904326a284eafc38f1b098b
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun Dec 1 13:52:45 2024 -0500
check dependencies on build
---
pom.xml | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index 49676c7..2662d45 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>
@@ -182,6 +176,22 @@ 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>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>