Skip to content

Bump org.patrodyne.jvnet:hisrc-basicjaxb-ant from 2.1.1 to 2.2.1#179

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/org.patrodyne.jvnet-hisrc-basicjaxb-ant-2.2.1
Open

Bump org.patrodyne.jvnet:hisrc-basicjaxb-ant from 2.1.1 to 2.2.1#179
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/org.patrodyne.jvnet-hisrc-basicjaxb-ant-2.2.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 8, 2024

Bumps org.patrodyne.jvnet:hisrc-basicjaxb-ant from 2.1.1 to 2.2.1.

Release notes

Sourced from org.patrodyne.jvnet:hisrc-basicjaxb-ant's releases.

HiSrc BasicJAXB v2.2.0, Explorations

Version 2.2.0 of the HiSrc BasicJAXB project uses JDK 21 for the build but the artifacts produced preserve Java 11 compatibility. Project dependencies and Maven plugins have been updated to current versions. For assemblies and testing, the HiSrc HigherJAXB Maven plugin has been refactored to eliminate the deprecated maven-compat dependency in favor of the Maven Resolver/Aether dependencies, Issue #17.

  • The FluentApiPlugin XJC plugin:
    • The method prefix (use) is now configurable, Issue #9.
    • Support nested classes, Issue #12.
  • Added [FixOtherAttributes][12] XJC plugin, Issue [JAXB-RI-1735][13], [SO-76695391][21]
  • Added [PropertyListenerPlugin][14] XJC plugin, [SO-77103350][15].
  • Added ValueConstructorPlugin options, [SO-77157863][16]:
    • XvalueConstructor-complete - generate constructors for the complete set of fields.
    • XvalueConstructor-required - generate constructors for all required fields.
    • XvalueConstructor-selected - generate constructors for selector constraints: key, keyref and unique.
  • Added DomHandler option to [WildcardPlugin][17] XJC plugin, see [@XmlAnyElement and non-DOM Properties][18] and [SO-77479159][19].
  • Fixed [SimpleToStringPlugin][20] not nullsafe, Issue #16.

Since version 2.1.1 of the HiSrc BasicJAXB project standardizes the XJC plugin option naming/usage, logging and error handling, adds three XJC plugins, adds a sample to bundle its plugins with the XJC tool and updates its Maven plugin and dependency versions.

Three new plugins:

  • The DefaultValuePlugin enables generation of classes that set default values as specified by your XML schema.
  • The FluentApiPlugin enables a Fluent API, method chaining, for your generated code.
  • The ValueConstructor enables generation of constructors to create instances with no or all values.

Also, the InheritancePlugin has been enhanced to add Java annotations to your generated classes, including ObjectFactory, as described by inheritance.xsd. A common use case is to suppress ignorable warnings on ObjectFactory.

A new sample xjc-basic (zip) builds a jar that can be run from the command line: java -jar xjc-basic.jar [options]. That jar reads dependencies from its lib sub-directory including hisrc-basicjaxb-plugins-*.jar. Thus, you can use this tool to generate JAXB classes using the HiSrc BasicJAXB plugins from the command line. This is useful for quick tests, etc.

Since version 2.1.0, the source/target (release) compatibility is at Java 11, up from Java 8. And, JDK 17 is used for the build. JAXB dependencies are at version 4.x for Jakarta EE 10.

To allow for JDK 17 management of reflective access to modularized code, JVM system arguments are now included in the build from src/test/resources/jvmsystem.arguments.

For example, --add-opens java.base/java.net=ALL-UNNAMED, if used, allows all of the code on the class path to access non-public members of public types in the java.base/java.net package.

Since version 2.0.0, the HiSrc BasicJAXB project supports Jakarta EE dependencies. Maintained by the Eclipse Foundation Project, Jakarta EE is the new name for the technology formerly known as Java Enterprise Edition. Within the Jakarta EE dependencies, the package names prefixed by javax have changed to jakarta. In addition, the HiSrc BasicJAXB package name has changed from org.jvnet.jaxb2_commons to org.jvnet.basicjaxb to better reflect the project name. In the same vein, the associated XML Schema namespace has been updated from http://jaxb2-commons.dev.java.net/basic to http://jvnet.org/basicjaxb/xjc.

This release provides ZIP downloads to explore the HiSrc BasicJAXB XJC extensions. Each ZIP exploration is a stand-alone Maven project that uses the HiSrc HigherJAXB Maven Plugin to generate Java classes from an XML schema and configure the HiSrc BasicJAXB library as an XJC plugin. Each exploration (-exNNN-) includes a Swing application named Explorer that presents a narrative lesson together with dynamic output for real-time experimentation. Sample projects (-sample-) address specific topics, as might appear on StackOverflow or GitHub.

... (truncated)

Commits
  • 54160ca [maven-release-plugin] prepare release 2.2.1
  • df9d39b Added note.
  • 2c7f912 Added release notes.
  • f58fa79 Prepare next release.
  • 3144deb Support 'otherAttributes' (anyAttribute)
  • af3e58c Support (any) 'otherAttributes'
  • 823c3f7 Added isAssignableFrom tests
  • 7f30880 Added overrideFluentMethods parm, default true.
  • e42ad4f Added javadoc.
  • 79c35e4 Added OverrideFluentMethods parm
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [org.patrodyne.jvnet:hisrc-basicjaxb-ant](https://github.com/patrodyne/hisrc-basicjaxb) from 2.1.1 to 2.2.1.
- [Release notes](https://github.com/patrodyne/hisrc-basicjaxb/releases)
- [Commits](patrodyne/hisrc-basicjaxb@2.1.1...2.2.1)

---
updated-dependencies:
- dependency-name: org.patrodyne.jvnet:hisrc-basicjaxb-ant
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Apr 8, 2024
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 8, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.58%. Comparing base (3b09edd) to head (59fcb8b).
⚠️ Report is 79 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #179   +/-   ##
=========================================
  Coverage     78.58%   78.58%           
  Complexity      485      485           
=========================================
  Files            55       55           
  Lines          1499     1499           
  Branches        200      200           
=========================================
  Hits           1178     1178           
  Misses          263      263           
  Partials         58       58           
Flag Coverage Δ
?
JDK 78.58% <ø> (ø)
ubuntu-latest 78.58% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Development

Successfully merging this pull request may close these issues.

3 participants