This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new 583efaa1cf Sort out dependency issues (#1819)
583efaa1cf is described below
commit 583efaa1cf0e0c3c6c4b4650f74968167dd00e9f
Author: Tamas Cservenak <[email protected]>
AuthorDate: Fri Oct 18 13:48:19 2024 +0200
Sort out dependency issues (#1819)
Changes:
* fix typo, assertj is not compile dependency
* exclude error_prone_annos that come in via gson in Resolver
SPI (RFC 9457)
---
maven-api-impl/pom.xml | 1 +
pom.xml | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/maven-api-impl/pom.xml b/maven-api-impl/pom.xml
index 898c823ff0..9b5df9e7fc 100644
--- a/maven-api-impl/pom.xml
+++ b/maven-api-impl/pom.xml
@@ -131,6 +131,7 @@ under the License.
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.resolver</groupId>
diff --git a/pom.xml b/pom.xml
index 7f9af1855d..b78e820f5c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -534,6 +534,12 @@ under the License.
<groupId>org.apache.maven.resolver</groupId>
<artifactId>maven-resolver-spi</artifactId>
<version>${resolverVersion}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.google.errorprone</groupId>
+ <artifactId>error_prone_annotations</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.maven.resolver</groupId>