Skip to content

Commit 2382d59

Browse files
committed
Switch to maven-testing and trim down runtime dependencies a bit
1 parent 888175f commit 2382d59

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

pom.xml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -123,48 +123,38 @@ under the License.
123123
<version>${mavenVersion}</version>
124124
<scope>provided</scope>
125125
</dependency>
126-
<dependency>
127-
<groupId>org.apache.maven</groupId>
128-
<artifactId>maven-api-settings</artifactId>
129-
<version>${mavenVersion}</version>
130-
<scope>provided</scope>
131-
</dependency>
132-
<dependency>
133-
<groupId>org.apache.maven</groupId>
134-
<artifactId>maven-xml</artifactId>
135-
<version>${mavenVersion}</version>
136-
<scope>provided</scope>
137-
</dependency>
138126
<dependency>
139127
<groupId>org.apache.maven.shared</groupId>
140128
<artifactId>maven-filtering</artifactId>
141129
<version>${mavenFilteringVersion}</version>
130+
<exclusions>
131+
<exclusion>
132+
<groupId>org.apache.maven</groupId>
133+
<artifactId>maven-api-meta</artifactId>
134+
</exclusion>
135+
</exclusions>
142136
</dependency>
143137
<dependency>
144138
<groupId>org.sonatype.plexus</groupId>
145139
<artifactId>plexus-build-api</artifactId>
146140
<version>${plexusBuildApiVersion}</version>
147141
</dependency>
148-
<dependency>
149-
<groupId>org.eclipse.sisu</groupId>
150-
<artifactId>org.eclipse.sisu.plexus</artifactId>
151-
<version>${sisuVersion}</version>
152-
</dependency>
153142

154143
<dependency>
155-
<groupId>org.apache.maven.plugin-testing</groupId>
156-
<artifactId>maven-plugin-testing-harness</artifactId>
157-
<version>${mavenPluginTestingVersion}</version>
144+
<groupId>org.apache.maven</groupId>
145+
<artifactId>maven-api-xml</artifactId>
146+
<version>${mavenVersion}</version>
158147
<scope>test</scope>
159148
</dependency>
160149
<dependency>
161-
<groupId>org.junit.jupiter</groupId>
162-
<artifactId>junit-jupiter-api</artifactId>
150+
<groupId>org.apache.maven</groupId>
151+
<artifactId>maven-api-settings</artifactId>
152+
<version>${mavenVersion}</version>
163153
<scope>test</scope>
164154
</dependency>
165155
<dependency>
166156
<groupId>org.apache.maven</groupId>
167-
<artifactId>maven-core</artifactId>
157+
<artifactId>maven-xml</artifactId>
168158
<version>${mavenVersion}</version>
169159
<scope>test</scope>
170160
</dependency>
@@ -175,16 +165,27 @@ under the License.
175165
<scope>test</scope>
176166
</dependency>
177167
<dependency>
178-
<groupId>com.google.inject</groupId>
179-
<artifactId>guice</artifactId>
180-
<version>${guiceVersion}</version>
168+
<groupId>org.apache.maven</groupId>
169+
<artifactId>maven-testing</artifactId>
170+
<version>${mavenVersion}</version>
171+
<scope>test</scope>
172+
</dependency>
173+
<dependency>
174+
<groupId>org.junit.jupiter</groupId>
175+
<artifactId>junit-jupiter-api</artifactId>
181176
<scope>test</scope>
182177
</dependency>
183178
<dependency>
184179
<groupId>org.codehaus.plexus</groupId>
185180
<artifactId>plexus-utils</artifactId>
186181
<scope>test</scope>
187182
</dependency>
183+
<dependency>
184+
<groupId>com.google.inject</groupId>
185+
<artifactId>guice</artifactId>
186+
<version>${guiceVersion}</version>
187+
<scope>test</scope>
188+
</dependency>
188189
<dependency>
189190
<groupId>org.slf4j</groupId>
190191
<artifactId>slf4j-simple</artifactId>

0 commit comments

Comments
 (0)