You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/05/06 20:20:48 UTC
(maven-dependency-plugin) branch master updated: [MDEP-923] Exclude only specific artifacts from dependencies
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 43110117 [MDEP-923] Exclude only specific artifacts from dependencies
43110117 is described below
commit 4311011714a12f373caf400758ad58a12e6b98fe
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun May 5 12:22:51 2024 +0200
[MDEP-923] Exclude only specific artifacts from dependencies
---
pom.xml | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index 3cf62a9a..23089e51 100644
--- a/pom.xml
+++ b/pom.xml
@@ -184,7 +184,19 @@ under the License.
</exclusion>
<exclusion>
<groupId>org.apache.maven</groupId>
- <artifactId>*</artifactId>
+ <artifactId>maven-artifact</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-model</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
</exclusion>
</exclusions>
</dependency>
@@ -243,10 +255,6 @@ under the License.
<artifactId>maven-dependency-tree</artifactId>
<version>3.2.1</version>
<exclusions>
- <exclusion>
- <groupId>org.apache.maven</groupId>
- <artifactId>*</artifactId>
- </exclusion>
<exclusion>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-util</artifactId>
@@ -265,7 +273,11 @@ under the License.
<exclusions>
<exclusion>
<groupId>org.apache.maven</groupId>
- <artifactId>*</artifactId>
+ <artifactId>maven-artifact</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
</exclusion>
</exclusions>
</dependency>