|
5 | 5 | <parent> |
6 | 6 | <groupId>org.scijava</groupId> |
7 | 7 | <artifactId>pom-scijava</artifactId> |
8 | | - <version>31.1.0</version> |
| 8 | + <version>37.0.0</version> |
9 | 9 | <relativePath /> |
10 | 10 | </parent> |
11 | 11 |
|
12 | 12 | <artifactId>scijava-maven-plugin</artifactId> |
13 | | - <version>2.2.1-SNAPSHOT</version> |
| 13 | + <version>3.0.0-SNAPSHOT</version> |
14 | 14 | <packaging>maven-plugin</packaging> |
15 | 15 |
|
16 | 16 | <name>SciJava plugin for Maven</name> |
|
143 | 143 |
|
144 | 144 | <maven.version>3.0</maven.version> |
145 | 145 | <maven-core.version>3.0</maven-core.version> |
146 | | - <maven2.version>2.2.1</maven2.version> |
147 | | - <maven-tree.version>2.2</maven-tree.version> |
| 146 | + <maven-dependency-tree.version>2.2</maven-dependency-tree.version> |
148 | 147 | <maven-plugin-annotations.version>3.5</maven-plugin-annotations.version> |
149 | 148 | <maven-artifact-transfer.version>0.9.1</maven-artifact-transfer.version> |
150 | 149 | <maven-common-artifact-filters.version>3.0.1</maven-common-artifact-filters.version> |
151 | | - <plexus-container-default.version>2.1.0</plexus-container-default.version> |
152 | 150 | <plexus-interpolation.version>1.24</plexus-interpolation.version> |
153 | 151 | <plexus-utils.version>3.1.0</plexus-utils.version> |
| 152 | + <org.eclipse.sisu.plexus.version>0.3.0</org.eclipse.sisu.plexus.version> |
154 | 153 |
|
155 | 154 | <hamcrest.version>1.3</hamcrest.version> |
| 155 | + |
| 156 | + <!-- |
| 157 | + Allow org.eclipse.aether:aether-util + org.apache.maven.shared:maven-artifact-transfer. |
| 158 | + --> |
| 159 | + <scijava.allowedDuplicateClasses>org.eclipse.aether.util.*</scijava.allowedDuplicateClasses> |
156 | 160 | </properties> |
157 | 161 |
|
158 | 162 | <dependencies> |
|
171 | 175 | <groupId>org.apache.maven</groupId> |
172 | 176 | <artifactId>maven-plugin-api</artifactId> |
173 | 177 | <version>${maven.version}</version> |
174 | | - <exclusions> |
175 | | - <exclusion> |
176 | | - <groupId>org.sonatype.sisu</groupId> |
177 | | - <artifactId>sisu-inject-plexus</artifactId> |
178 | | - </exclusion> |
179 | | - </exclusions> |
| 178 | + <scope>provided</scope> |
180 | 179 | </dependency> |
181 | 180 | <dependency> |
182 | 181 | <groupId>org.apache.maven</groupId> |
183 | 182 | <artifactId>maven-artifact</artifactId> |
184 | 183 | <version>${maven.version}</version> |
| 184 | + <scope>provided</scope> |
185 | 185 | </dependency> |
186 | 186 | <dependency> |
187 | 187 | <groupId>org.apache.maven</groupId> |
188 | 188 | <artifactId>maven-compat</artifactId> |
189 | 189 | <version>${maven.version}</version> |
190 | | - <exclusions> |
191 | | - <exclusion> |
192 | | - <groupId>org.sonatype.sisu</groupId> |
193 | | - <artifactId>sisu-inject-plexus</artifactId> |
194 | | - </exclusion> |
195 | | - </exclusions> |
| 190 | + <scope>provided</scope> |
196 | 191 | </dependency> |
197 | 192 | <dependency> |
198 | 193 | <groupId>org.apache.maven</groupId> |
199 | 194 | <artifactId>maven-core</artifactId> |
200 | | - <exclusions> |
201 | | - <exclusion> |
202 | | - <groupId>org.sonatype.sisu</groupId> |
203 | | - <artifactId>sisu-inject-plexus</artifactId> |
204 | | - </exclusion> |
205 | | - <exclusion> |
206 | | - <groupId>org.codehaus.plexus</groupId> |
207 | | - <artifactId>plexus-utils</artifactId> |
208 | | - </exclusion> |
209 | | - </exclusions> |
| 195 | + <scope>provided</scope> |
210 | 196 | </dependency> |
211 | 197 | <dependency> |
212 | 198 | <groupId>org.apache.maven</groupId> |
213 | 199 | <artifactId>maven-model</artifactId> |
214 | 200 | <version>${maven.version}</version> |
| 201 | + <scope>provided</scope> |
215 | 202 | </dependency> |
216 | 203 |
|
217 | 204 | <dependency> |
218 | 205 | <groupId>org.apache.maven.enforcer</groupId> |
219 | 206 | <artifactId>enforcer-api</artifactId> |
220 | 207 | <version>${maven-enforcer-plugin.version}</version> |
221 | | - <exclusions> |
222 | | - <exclusion> |
223 | | - <groupId>classworlds</groupId> |
224 | | - <artifactId>classworlds</artifactId> |
225 | | - </exclusion> |
226 | | - <exclusion> |
227 | | - <groupId>org.apache.maven</groupId> |
228 | | - <artifactId>maven-plugin-api</artifactId> |
229 | | - </exclusion> |
230 | | - <exclusion> |
231 | | - <groupId>org.codehaus.plexus</groupId> |
232 | | - <artifactId>plexus-utils</artifactId> |
233 | | - </exclusion> |
234 | | - <exclusion> |
235 | | - <groupId>org.codehaus.plexus</groupId> |
236 | | - <artifactId>plexus-container-default</artifactId> |
237 | | - </exclusion> |
238 | | - </exclusions> |
239 | 208 | </dependency> |
240 | 209 |
|
241 | 210 | <dependency> |
|
251 | 220 | <dependency> |
252 | 221 | <groupId>org.apache.maven.shared</groupId> |
253 | 222 | <artifactId>maven-common-artifact-filters</artifactId> |
254 | | - <exclusions> |
255 | | - <exclusion> |
256 | | - <groupId>org.sonatype.sisu</groupId> |
257 | | - <artifactId>sisu-inject-plexus</artifactId> |
258 | | - </exclusion> |
259 | | - </exclusions> |
260 | 223 | </dependency> |
261 | 224 | <dependency> |
262 | 225 | <groupId>org.apache.maven.shared</groupId> |
263 | 226 | <artifactId>maven-dependency-tree</artifactId> |
264 | | - <version>${maven-tree.version}</version> |
| 227 | + <version>${maven-dependency-tree.version}</version> |
265 | 228 | </dependency> |
266 | 229 |
|
267 | | - <dependency> |
268 | | - <groupId>org.codehaus.plexus</groupId> |
269 | | - <artifactId>plexus-container-default</artifactId> |
270 | | - <version>${plexus-container-default.version}</version> |
271 | | - </dependency> |
272 | 230 | <dependency> |
273 | 231 | <groupId>org.codehaus.plexus</groupId> |
274 | 232 | <artifactId>plexus-interpolation</artifactId> |
|
280 | 238 | <version>${plexus-utils.version}</version> |
281 | 239 | </dependency> |
282 | 240 |
|
| 241 | + <dependency> |
| 242 | + <groupId>org.eclipse.sisu</groupId> |
| 243 | + <artifactId>org.eclipse.sisu.plexus</artifactId> |
| 244 | + <version>${org.eclipse.sisu.plexus.version}</version> |
| 245 | + </dependency> |
| 246 | + |
283 | 247 | <dependency> |
284 | 248 | <groupId>org.scijava</groupId> |
285 | 249 | <artifactId>scijava-common</artifactId> |
|
342 | 306 | </plugins> |
343 | 307 | </pluginManagement> |
344 | 308 | <plugins> |
345 | | - <plugin> |
346 | | - <artifactId>maven-enforcer-plugin</artifactId> |
347 | | - <configuration> |
348 | | - <rules> |
349 | | - <banDuplicateClasses> |
350 | | - <!-- |
351 | | - NB: maven-artifact and maven-project are 2.0 artifacts |
352 | | - that clash with maven-core 3.0. |
353 | | - --> |
354 | | - <ignoreClasses> |
355 | | - <ignoreClass>org/apache/maven/artifact/*</ignoreClass> |
356 | | - |
357 | | - <ignoreClass>org/apache/maven/project/*</ignoreClass> |
358 | | - </ignoreClasses> |
359 | | - <findAllDuplicates>true</findAllDuplicates> |
360 | | - <ignoreWhenIdentical>true</ignoreWhenIdentical> |
361 | | - </banDuplicateClasses> |
362 | | - </rules> |
363 | | - </configuration> |
364 | | - </plugin> |
365 | 309 | <plugin> |
366 | 310 | <groupId>org.apache.maven.plugins</groupId> |
367 | 311 | <artifactId>maven-plugin-plugin</artifactId> |
|
381 | 325 | </plugin> |
382 | 326 | <plugin> |
383 | 327 | <artifactId>maven-invoker-plugin</artifactId> |
384 | | - <version>1.8</version> |
| 328 | + <version>${maven-invoker-plugin.version}</version> |
385 | 329 | <configuration> |
386 | 330 | <!-- <debug>true</debug> --> |
387 | 331 | <showErrors>true</showErrors> |
|
0 commit comments