Skip to content

Commit

Permalink
[MDEP-923] Exclude only specific artifacts from dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed May 6, 2024
1 parent 860d04b commit 4311011
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 4311011

Please sign in to comment.