Repository navigation
·
11 commits
to master
since this release
Modello 2.10.0 removes its dependency on plexus-build-api. Modello generates the Maven models that plexus-build-api is built against, so the dependency was a bootstrap cycle. Without it, the command-line tool and the Ant task no longer need Maven classes on the class path.
✨ Highlights
- No more plexus-build-api. Neither modello-core nor modello-maven-plugin depends on it. The Maven plugin no longer skips generation when the
.mdofile is unchanged, and generators no longer ask the IDE to refresh the files they write. - m2e support built in. The plugin ships
META-INF/m2e/lifecycle-mapping-metadata.xml, so Eclipse runs all 22 generator goals on configuration and incremental builds without a lifecycle-mapping entry in your POM. Generated source roots are now registered in m2e. If a goal fails, the error marker appears onpom.xmlinstead of the.mdofile. - API changes for extensions.
AbstractModelloGenerator.getBuildContext()is gone, and the mojo constructors no longer take aBuildContext. Custom generators or code that constructs the mojos need updating; plugin users don't. - Requirements are unchanged: Maven 3.9.0 or later and Java 8 or later.
🚨 Removed
- Drop plexus-build-api from the Maven plugin and ship m2e lifecycle mapping (#641) @slachiewicz
- Drop plexus-build-api from modello-core (#640) @fridrich
📦 Dependency updates
- Bump plexus-xml from 3.1.0 to 3.1.1 (#638) @slachiewicz
- Bump sisu.version from 1.1.1 to 1.1.2 (#637) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.22.4 to 2.23.0 (#636) @dependabot[bot]