Repository navigation
Releases
Releases Β· codehaus-plexus/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
.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]
2.9.0
π¨ Removed
- Require Maven 3.9.0 (#625) @slachiewicz
π 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
- Document xml.insertParentFieldsUpTo (#630) @slachiewicz
- Drop the Source Xref menu item (#604) @slachiewicz
π» Maintenance
- Use the new constants by the ant task too (#632) @fridrich
- Keep Dependabot on Maven 3.9.x (#624) @slachiewicz
- Move the IT fixtures to JUnit 5 and drop the JUnit 4 version (#623) @slachiewicz
- Remove redundant javaVersion and project.reporting.outputEncoding properties (#622) @slachiewicz
- Clean up declared dependencies (#620) @slachiewicz
- Keep plexus-xml on 3.x in Dependabot (#611) @slachiewicz
- Keep SLF4J on 1.7.x in Dependabot (#609) @slachiewicz
- Port the IT scripts from BeanShell to Groovy (#605) @slachiewicz
π§ Build
- Allow running the release drafter by hand (#615) @slachiewicz
π¦ Dependency updates
9 changes
- Bump sisu.version from 1.1.0 to 1.1.1 (#618) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.22.2 to 2.22.4 (#612, #617) @dependabot[bot]
- Bump org.jsoup:jsoup from 1.23.1 to 1.24.1 (#601, #626) @dependabot[bot]
- Bump com.google.guava:guava from 33.7.2-jre to 33.8.0-jre (#627) @dependabot[bot]
- Update guava to 33.7.2-jre (#621) @slachiewicz
- Bump org.codehaus.woodstox:stax2-api from 4.3.0 to 4.3.2 (#613, #616) @dependabot[bot]
- Bump com.fasterxml.woodstox:woodstox-core from 7.2.2 to 7.3.0 (#614) @dependabot[bot]
- Bump org.xmlunit:xmlunit-core from 2.13.0 to 2.14.0 (#610) @dependabot[bot]
- Bump org.yaml:snakeyaml from 2.6 to 2.7 (#602) @dependabot[bot]
2.8.1
π Bug Fixes
- Fix site build for issue 593 (#596) @slachiewicz
π Documentation updates
- Stop pinning a version in the README snippet (#597) @slachiewicz
π» Maintenance
- Use JSR-330 for component injection (#600) @slawekjaranowski
π§ Build
- Point the SCM URLs at HTTPS (#595) @slachiewicz
- Draft the version the labels imply, not always a patch (#594) @slachiewicz
π¦ Dependency updates
- Bump com.fasterxml.jackson:jackson-bom from 2.22.1 to 2.22.2 (#598) @dependabot[bot]
2.8.0
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
- Establish automatic module names (#588) @slachiewicz
- Allow arbitrary attributes on DOM elements in generated XSD (#574) @slachiewicz
π Bug Fixes
- Let the setUp methods actually run (#587) @slachiewicz
π Documentation updates
- Explain why src/test/verifiers is not a source root (#586) @slachiewicz
- improve Features Demo (#582) @hboutemy
- Convert the plugin site pages from xdoc to Markdown (#581) @slachiewicz
- Rewrite README with usage, status and version guidance (#579) @slachiewicz
- Convert the plugin pages to Markdown using code blocks (#578) @slachiewicz
- Convert the FAQ from FML to Markdown and fix its dead links (#577) @slachiewicz
- Convert two site documents from xdoc to Markdown (#576) @slachiewicz
- Restore the document metadata dropped when the pages were ported (#575) @slachiewicz
π» Maintenance
- Give every verifier a package and a unique class name (#585) @slachiewicz
- Compile the verifiers with the JDK compiler and the test classpath (#584) @slachiewicz
- Migrate the tests off the JUnit 4 assertions (#583) @slachiewicz
- Convert the plugin site pages from xdoc to Markdown (#581) @slachiewicz
- Port the site documentation from APT to Markdown (#572) @slachiewicz
π§ Build
- Update parent to plexus 27 (#590) @slachiewicz
- Declare the maven-plugin-tools version locally (#589) @slachiewicz
π¦ Dependency updates
14 changes
- Bump plexus-utils to 4.1.0 (#592) @slachiewicz
- Bump the plexus dependencies released today (#591) @slachiewicz
- Bump com.fasterxml.woodstox:woodstox-core from 7.2.1 to 7.2.2 (#573) @dependabot[bot]
- Bump org.xmlunit:xmlunit-core from 2.12.0 to 2.13.0 (#571) @dependabot[bot]
- Bump sisu.version from 1.0.1 to 1.1.0 (#569) @dependabot[bot]
- Bump org.jsoup:jsoup from 1.22.2 to 1.23.1 (#570) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.22.0 to 2.22.1 (#568) @dependabot[bot]
- Bump sisu.version from 1.0.0 to 1.0.1 (#567) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.21.3 to 2.22.0 (#562) @dependabot[bot]
- Bump com.fasterxml.woodstox:woodstox-core from 7.2.0 to 7.2.1 (#565) @dependabot[bot]
- Bump org.xmlunit:xmlunit-core from 2.11.0 to 2.12.0 (#563) @dependabot[bot]
- Bump com.fasterxml.woodstox:woodstox-core from 7.1.1 to 7.2.0 (#560) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.21.2 to 2.21.3 (#559) @dependabot[bot]
- Bump org.jsoup:jsoup from 1.22.1 to 1.22.2 (#558) @dependabot[bot]
2.7.0
π New features and improvements
- XDOC: document required fields in generated model docs (#550) @slachiewicz
π Bug Fixes
- Refactor PLURAL_EXCEPTIONS to use ThreadLocal for thread safety (#555) @slawekjaranowski
- Initialize model parameters in VelocityGenerator (#556) @slawekjaranowski
- Use correct getter method prefix for type "Boolean" (#544) @kwin
π¦ Dependency updates
- Bump org.codehaus.plexus:plexus-utils from 3.0.24 to 3.6.1 in /modello-maven-plugin/src/it/maven-model (#552) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-utils from 4.0.2 to 4.0.3 (#553) @dependabot[bot]
- Bump org.codehaus.woodstox:stax2-api from 4.2.2 to 4.3.0 (#554) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.21.1 to 2.21.2 (#551) @dependabot[bot]
- Bump org.yaml:snakeyaml from 2.5 to 2.6 (#547) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.1 to 3.6.2 (#548) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.21.0 to 2.21.1 (#546) @dependabot[bot]
- Bump sisu.version from 0.9.0.M4 to 1.0.0 (#542) @dependabot[bot]
- Bump plexus.compiler.version from 2.16.1 to 2.16.2 (#541) @dependabot[bot]
2.6.0
π New features and improvements
- Fix XSD generator to respect required field attribute (#528) @copilot-swe-agent[bot]
- Give access to XmlModelMetadata from velocity helper (#522) @gnodet
- Fix multiplicity=1 for simple type associations in Reader/Writer generators (#521) @copilot-swe-agent[bot]
π Bug Fixes
- Fix Root class name conflict in JDOM writer generator (#520) @copilot-swe-agent[bot]
π» Maintenance
π¦ Dependency updates
- Bump com.fasterxml.jackson:jackson-bom from 2.20.1 to 2.21.0 (#540) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 2.0.2 to 2.1.0 (#539) @dependabot[bot]
- Bump org.codehaus.plexus:plexus from 24 to 25 (#538) @dependabot[bot]
- Bump org.jsoup:jsoup from 1.21.2 to 1.22.1 (#537) @dependabot[bot]
- Bump plexus.compiler.version from 2.16.0 to 2.16.1 (#535) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 2.0.1 to 2.0.2 (#536) @dependabot[bot]
- Downgrade Guice to 5.1.0 (#534) @slachiewicz
- Bump plexus.compiler.version from 2.15.0 to 2.16.0 (#533) @dependabot[bot]
- Bump org.xmlunit:xmlunit-core from 2.10.4 to 2.11.0 (#529) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.20.0 to 2.20.1 (#531) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 2.0.0 to 2.0.1 (#530) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 1.7.0 to 2.0.0 (#527) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 1.6.1 to 1.7.0 (#526) @dependabot[bot]
- Bump org.xmlunit:xmlunit-core from 2.10.3 to 2.10.4 (#517) @dependabot[bot]
- Bump org.codehaus.plexus:plexus from 23 to 24 (#525) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 1.6.0 to 1.6.1 (#524) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.0 to 3.6.1 (#518) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.19.2 to 2.20.0 (#515) @dependabot[bot]
- Bump org.yaml:snakeyaml from 2.4 to 2.5 (#516) @dependabot[bot]
- Bump org.jsoup:jsoup from 1.21.1 to 1.21.2 (#514) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.19.1 to 2.19.2 (#510) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 1.5.0 to 1.6.0 (#512) @dependabot[bot]
- Bump org.codehaus.plexus:plexus from 22 to 23 (#513) @dependabot[bot]
- Bump org.jsoup:jsoup from 1.20.1 to 1.21.1 (#507) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.19.0 to 2.19.1 (#505) @dependabot[bot]
- Bump org.xmlunit:xmlunit-core from 2.10.2 to 2.10.3 (#506) @dependabot[bot]
2.5.1
π Bug Fixes
- Restore singular method behavior like was in version 2.4.0 (#503) @slawekjaranowski
π¦ Dependency updates
- Bump org.jsoup:jsoup from 1.19.1 to 1.20.1 (#492) @dependabot[bot]
- Bump com.fasterxml.woodstox:woodstox-core from 7.1.0 to 7.1.1 (#500) @dependabot[bot]
- Bump org.codehaus.plexus:plexus from 21 to 22 (#501) @dependabot[bot]
π» Maintenance
- Use distributionManagement from parent pom (#504) @slawekjaranowski
2.5.0
π New features and improvements
- Improve and add exceptions for singular method (#493) @slawekjaranowski
- Fix Snakeyaml (#439) @cstamas
π¦ Dependency updates
- Bump org.codehaus.plexus:plexus from 20 to 21 (#499) @dependabot[bot]
- Bump org.xmlunit:xmlunit-core from 2.10.1 to 2.10.2 (#498) @dependabot[bot]
- Bump sisu from 0.9.0.M3 to 0.9.0.M4 (#497) @slawekjaranowski
- Bump org.xmlunit:xmlunit-core from 2.10.0 to 2.10.1 (#494) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.18.3 to 2.19.0 (#491) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-testing from 1.4.0 to 1.5.0 (#490) @dependabot[bot]
- Partially migrate to JUnit 5 (#489) @slachiewicz
- Bump org.jsoup:jsoup from 1.18.3 to 1.19.1 (#487) @dependabot[bot]
- Bump org.yaml:snakeyaml from 2.3 to 2.4 (#485) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.18.2 to 2.18.3 (#486) @dependabot[bot]
- Bump org.codehaus.plexus:plexus from 19 to 20 (#484) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-invoker-plugin from 3.8.1 to 3.9.0 (#481) @dependabot[bot]
- Bump org.jsoup:jsoup from 1.18.2 to 1.18.3 (#480) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.18.1 to 2.18.2 (#479) @dependabot[bot]
- Bump org.jsoup:jsoup from 1.18.1 to 1.18.2 (#478) @dependabot[bot]
- Bump org.codehaus.plexus:plexus from 18 to 19 (#468) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-invoker-plugin from 3.7.0 to 3.8.1 (#473) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.18.0 to 2.18.1 (#476) @dependabot[bot]
- Bump com.fasterxml.woodstox:woodstox-core from 7.0.0 to 7.1.0 (#475) @dependabot[bot]
- Bump org.apache.velocity:velocity-engine-core from 2.4 to 2.4.1 (#474) @dependabot[bot]
- Bump org.yaml:snakeyaml from 2.2 to 2.3 (#463) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.17.2 to 2.18.0 (#471) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-utils from 4.0.0 to 4.0.2 (#470) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-utils from 3.5.1 to 4.0.0 (#465) @dependabot[bot]
- Bump org.apache.velocity:velocity-engine-core from 2.3 to 2.4 (#467) @dependabot[bot]
- Bump org.eclipse.sisu:org.eclipse.sisu to 0.9.0.M3 (#454) @dependabot[bot]
- Bump org.jsoup:jsoup from 1.17.2 to 1.18.1 (#461) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.17.1 to 2.17.2 (#460) @dependabot[bot]
- Bump com.fasterxml.woodstox:woodstox-core from 6.6.2 to 7.0.0 (#459) @dependabot[bot]
- Bump com.google.inject:guice from 5.1.0 to 6.0.0 (#458) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.3 to 3.6.0 (#456) @dependabot[bot]
- Fix Snakeyaml (#439) @cstamas
- Bump org.apache.maven.plugins:maven-invoker-plugin from 3.6.1 to 3.7.0 (#451) @dependabot[bot]
- Bump org.codehaus.plexus:plexus from 17 to 18 (#450) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-xml from 3.0.0 to 3.0.1 (#449) @dependabot[bot]
- Bump com.fasterxml.jackson:jackson-bom from 2.17.0 to 2.17.1 (#448) @dependabot[bot]
π» Maintenance
2.4.0
π New features and improvements
- Keep license structure (#440) @cstamas
- Support addition of license header to generated files (#437) @cstamas
- Make generated code - Java 8 based by default (#425) @slachiewicz
- threadsafety (#423) @gnodet
π 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