Skip to content

2.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Nov 20:32
· 11 commits to master since this release
modello-2.10.0

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 .mdo file 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 on pom.xml instead of the .mdo file.
  • API changes for extensions. AbstractModelloGenerator.getBuildContext() is gone, and the mojo constructors no longer take a BuildContext. 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

Full changelog