Skip to content

Releases

2.10.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 20:32
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

2.9.0

Choose a tag to compare

@slachiewicz slachiewicz released this 14 Nov 20:15

🚨 Removed

πŸš€ New features and improvements

  • Support xs:enumeration restrictions in XSD generation via field metadata (#634) @gnodet
  • XsdGenerator: emit mixed="true" on complexTypes with xml.format="mixed" fields (#628) @gnodet
  • Link bare URLs in xdoc descriptions (#631) @slachiewicz
  • Add ant task to modello (#606) @fridrich
  • Make the command-line tool correspond to what the modello-maven-plugin can do (#603) @fridrich
  • Add switch to disable the StAX reader version check (#629) @slachiewicz

πŸ› Bug Fixes

πŸ“ Documentation updates

πŸ‘» Maintenance

πŸ”§ Build

πŸ“¦ Dependency updates

9 changes

Full changelog

2.8.1

Choose a tag to compare

@github-actions github-actions released this 30 Aug 21:32
modello-2.8.1
8cd351a

πŸ› Bug Fixes

πŸ“ Documentation updates

πŸ‘» Maintenance

πŸ”§ Build

πŸ“¦ Dependency updates

2.8.0

Choose a tag to compare

@github-actions github-actions released this 19 Aug 17:16

Generated XSDs now allow arbitrary attributes on DOM elements (#574), and every module declares an
automatic module name. Both are visible to consumers, which is why this is 2.8.0 rather than a patch.
The plugin still builds against plexus-build-api 1.2.0: 1.3.0 cannot be provisioned outside a Maven
session (plexus-build-api#125).

πŸ’₯ Breaking changes

  • Compile the verifiers with the JDK compiler and the test classpath (#584) @slachiewicz

πŸš€ New features and improvements

πŸ› Bug Fixes

πŸ“ Documentation updates

πŸ‘» Maintenance

πŸ”§ Build

πŸ“¦ Dependency updates

14 changes

2.7.0

Choose a tag to compare

@github-actions github-actions released this 12 Apr 20:43
modello-2.7.0
a879fce

πŸš€ New features and improvements

πŸ› Bug Fixes

πŸ“¦ Dependency updates

2.6.0

Choose a tag to compare

@github-actions github-actions released this 26 Jan 00:01

πŸš€ New features and improvements

πŸ› Bug Fixes

πŸ‘» Maintenance

πŸ“¦ Dependency updates

2.5.1

Choose a tag to compare

@github-actions github-actions released this 04 Jun 14:09
modello-2.5.1
eea7f36

πŸ› Bug Fixes

πŸ“¦ Dependency updates

πŸ‘» Maintenance

2.5.0

Choose a tag to compare

@github-actions github-actions released this 26 May 21:30
modello-2.5.0
cd39b6c

πŸš€ New features and improvements

πŸ“¦ Dependency updates

πŸ‘» Maintenance

2.4.0

Choose a tag to compare

@github-actions github-actions released this 03 May 18:38

πŸš€ New features and improvements

πŸ› Bug Fixes

  • Revert snakeyaml to 1.33 (as 2.x is not fully compatible with 1.x) (#422) @slachiewicz

πŸ“¦ Dependency updates

  • Bump org.xmlunit:xmlunit-core from 2.9.1 to 2.10.0 (#438) @dependabot
  • Bump org.codehaus.plexus:plexus-utils from 4.0.0 to 4.0.1 (#436) @dependabot
  • Bump org.apache.maven.plugins:maven-invoker-plugin from 3.6.0 to 3.6.1 (#433) @dependabot
  • Bump com.fasterxml.woodstox:woodstox-core from 6.6.1 to 6.6.2 (#432) @dependabot
  • Bump com.fasterxml.jackson:jackson-bom from 2.16.1 to 2.17.0 (#431) @dependabot
  • Bump plexus.compiler.version from 2.14.2 to 2.15.0 (#430) @dependabot
  • Bump org.codehaus.plexus:plexus from 16 to 17 (#428) @dependabot
  • Bump com.fasterxml.woodstox:woodstox-core from 6.6.0 to 6.6.1 (#427) @dependabot
  • Revert snakeyaml to 1.33 (as 2.x is not fully compatible with 1.x) (#422) @slachiewicz

2.3.0

Choose a tag to compare

@github-actions github-actions released this 17 Feb 16:51

What's Changed

New Contributors

Full Changelog: modello-2.2.0...modello-2.3.0