THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Page properties | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Most important changes:
- switch from Sonatype Aether to Eclipse Aether ( contains a package change in several Maven APIs)
- support of JSR330 in plugins ( javax.inject)
Maven Prerequisite
Change the prerequisite to 3.1.1. In general we would like to say "Plugins are Maven 3.x-compatible", which would mean its value should be 3.1.0. However, if your plugin depends on asm, you'll get the wrong version with Maven 3.1.0, hence to prevent this, the prerequisite should be set to 3.1.1.
Dependencies
- drop maven-artifact-transfer. It sole purpose was to make it possible for plugins to support both Sonatype Aether (Maven 3.0.x) and Eclipse Aether (Maven 3.1.0+ and rebranded to Maven Artifact Resolver for Maven 3.5.0+). The extra abstract layer of maven-artifact-transfer only adds complexity and a library that must be maintained. Once everything depends on Maven 3.1.0 we can archive maven-artifact-transfer.
Generating descriptors
For performance, Maven doesn't do classpath scanning. Instead Maven expects a descriptor containing all components.
...