Skip to content

Commit 998f01a

Browse files
[MASSEMBLY-985] Cleanup declared dependencies
1 parent ef2c05e commit 998f01a

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

pom.xml

+12-17
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@ under the License.
107107
<scope>provided</scope>
108108
</dependency>
109109
<dependency>
110-
<groupId>org.apache.maven</groupId>
111-
<artifactId>maven-settings</artifactId>
112-
<version>${mavenVersion}</version>
110+
<groupId>org.eclipse.aether</groupId>
111+
<artifactId>aether-api</artifactId>
112+
<!-- the same version as in Maven 3.2.5 -->
113+
<version>1.0.0.v20140518</version>
113114
<scope>provided</scope>
114115
</dependency>
115116
<dependency>
@@ -187,10 +188,17 @@ under the License.
187188
<artifactId>junit</artifactId>
188189
<version>4.13.2</version>
189190
<scope>test</scope>
191+
<exclusions>
192+
<exclusion>
193+
<!-- exclude old version with different artifactId -->
194+
<groupId>org.hamcrest</groupId>
195+
<artifactId>hamcrest-core</artifactId>
196+
</exclusion>
197+
</exclusions>
190198
</dependency>
191199
<dependency>
192200
<groupId>org.hamcrest</groupId>
193-
<artifactId>hamcrest-core</artifactId>
201+
<artifactId>hamcrest</artifactId>
194202
<version>2.2</version>
195203
<scope>test</scope>
196204
</dependency>
@@ -201,19 +209,6 @@ under the License.
201209
<version>${slf4jVersion}</version>
202210
<scope>test</scope>
203211
</dependency>
204-
<dependency>
205-
<groupId>org.apache.maven</groupId>
206-
<artifactId>maven-aether-provider</artifactId>
207-
<version>${mavenVersion}</version>
208-
<scope>test</scope>
209-
</dependency>
210-
211-
<dependency>
212-
<groupId>org.apache.maven.plugin-testing</groupId>
213-
<artifactId>maven-plugin-testing-harness</artifactId>
214-
<version>3.3.0</version>
215-
<scope>test</scope>
216-
</dependency>
217212
<dependency>
218213
<groupId>org.mockito</groupId>
219214
<artifactId>mockito-core</artifactId>

0 commit comments

Comments
 (0)