Skip to content

Commit a8232cb

Browse files
committed
Exclude more Maven "core" transitive dependencies
They generate warnings at runtime since Maven 3.9. Fixes #160
1 parent 2a2b801 commit a8232cb

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

pom.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,20 @@
124124
<groupId>org.apache.maven</groupId>
125125
<artifactId>maven-archiver</artifactId>
126126
<version>3.5.2</version>
127+
<exclusions>
128+
<exclusion>
129+
<groupId>org.apache.maven</groupId>
130+
<artifactId>maven-core</artifactId>
131+
</exclusion>
132+
<exclusion>
133+
<groupId>org.apache.maven</groupId>
134+
<artifactId>maven-model</artifactId>
135+
</exclusion>
136+
<exclusion>
137+
<groupId>org.apache.maven</groupId>
138+
<artifactId>maven-artifact</artifactId>
139+
</exclusion>
140+
</exclusions>
127141
</dependency>
128142
<dependency>
129143
<groupId>org.apache.maven.surefire</groupId>
@@ -142,6 +156,26 @@
142156
<groupId>org.apache.maven</groupId>
143157
<artifactId>maven-toolchain</artifactId>
144158
</exclusion>
159+
<exclusion>
160+
<groupId>org.apache.maven</groupId>
161+
<artifactId>maven-plugin-api</artifactId>
162+
</exclusion>
163+
<exclusion>
164+
<groupId>org.apache.maven.plugin-tools</groupId>
165+
<artifactId>maven-plugin-annotations</artifactId>
166+
</exclusion>
167+
<exclusion>
168+
<groupId>org.apache.maven</groupId>
169+
<artifactId>maven-core</artifactId>
170+
</exclusion>
171+
<exclusion>
172+
<groupId>org.apache.maven</groupId>
173+
<artifactId>maven-model</artifactId>
174+
</exclusion>
175+
<exclusion>
176+
<groupId>org.apache.maven</groupId>
177+
<artifactId>maven-artifact</artifactId>
178+
</exclusion>
145179
</exclusions>
146180
</dependency>
147181

0 commit comments

Comments
 (0)