Skip to content

Bump org.patrodyne.jvnet:hisrc-basicjaxb-ant from 2.1.1 to 2.2.0#170

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2024

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

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
  • 0fcbf5c [maven-release-plugin] prepare release 2.2.0
  • 6ceb246 Re-prepare for 2.2.0-SNAPSHOT
  • d4aaf50 [maven-release-plugin] prepare release 2.2.0
  • d95d261 Maven single thread
  • a9776dd [maven-release-plugin] prepare for next development iteration
  • ca9dd7e [maven-release-plugin] prepare release 2.2.0
  • 342f391 Cleanup: placeholder
  • 8a54133 Added Version 2.2.0 history.
  • 7ba70f6 Eclipse JAXB-RI Issue #1751 resolved
  • d6fcd34 Removed unneeded dependency exclusion(s)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

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

---
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 Jan 22, 2024
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (730ca59) 77.77% compared to head (d0100bc) 77.77%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #170   +/-   ##
=========================================
  Coverage     77.77%   77.77%           
  Complexity      473      473           
=========================================
  Files            55       55           
  Lines          1485     1485           
  Branches        199      199           
=========================================
  Hits           1155     1155           
  Misses          272      272           
  Partials         58       58           
Flag Coverage Δ
?
JDK 77.77% <ø> (ø)
macos-latest 77.77% <ø> (?)
ubuntu-latest 77.77% <ø> (?)
windows-latest 77.77% <ø> (?)

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.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 8, 2024

Superseded by #179.

@dependabot dependabot bot closed this Apr 8, 2024
@dependabot dependabot bot deleted the dependabot/gradle/org.patrodyne.jvnet-hisrc-basicjaxb-ant-2.2.0 branch April 8, 2024 14:54
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