uPortal-Attic / MapPortlet

Apache License 2.0
5 stars 11 forks source link

chore(deps): update jaxb2basics.version to v1 (major) #58

Open renovate[bot] opened 3 years ago

renovate[bot] commented 3 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.jvnet.jaxb2_commons:jaxb2-basics 0.6.0 -> 1.11.1-PUBLISHED-BY-MISTAKE age adoption passing confidence
org.jvnet.jaxb2_commons:jaxb2-basics-runtime 0.6.0 -> 1.11.1-PUBLISHED-BY-MISTAKE age adoption passing confidence

Release Notes

highsource/jaxb2-basics ### [`v1.11.1-PUBLISHED-BY-MISTAKE`](https://togithub.com/highsource/jaxb2-basics/compare/1.11.1...1.11.1-PUBLISHED-BY-MISTAKE) [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/1.11.1...1.11.1-PUBLISHED-BY-MISTAKE) ### [`v1.11.1`](https://togithub.com/highsource/jaxb2-basics/compare/0.13.1...1.11.1) [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.13.1...1.11.1) ### [`v0.13.1`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.13.1): Release [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.12.0...0.13.1) ##### What's Changed - Fix versions by [@​mattrpav](https://togithub.com/mattrpav) in [https://github.com/highsource/jaxb2-basics/pull/156](https://togithub.com/highsource/jaxb2-basics/pull/156) - \[[#​154](https://togithub.com/highsource/jaxb2-basics/issues/154)] First pass at fixing release and staging plugin fighting by [@​mattrpav](https://togithub.com/mattrpav) in [https://github.com/highsource/jaxb2-basics/pull/155](https://togithub.com/highsource/jaxb2-basics/pull/155) - REVERTED: Update to Jakarta XML and use latest JAXB (3.0.0-M4). by [@​brcolow](https://togithub.com/brcolow) in [https://github.com/highsource/jaxb2-basics/pull/118](https://togithub.com/highsource/jaxb2-basics/pull/118) - \[[#​135](https://togithub.com/highsource/jaxb2-basics/issues/135)] Add GH action to build on PRs and Merge by [@​mattrpav](https://togithub.com/mattrpav) in [https://github.com/highsource/jaxb2-basics/pull/136](https://togithub.com/highsource/jaxb2-basics/pull/136) - \[[#​140](https://togithub.com/highsource/jaxb2-basics/issues/140)] Update dependencies for latest jaxb v2 by [@​mattrpav](https://togithub.com/mattrpav) in [https://github.com/highsource/jaxb2-basics/pull/141](https://togithub.com/highsource/jaxb2-basics/pull/141) - \[[#​142](https://togithub.com/highsource/jaxb2-basics/issues/142)] Upgrade JUnit 4.13.2 by [@​mattrpav](https://togithub.com/mattrpav) in [https://github.com/highsource/jaxb2-basics/pull/143](https://togithub.com/highsource/jaxb2-basics/pull/143) - \[[#​144](https://togithub.com/highsource/jaxb2-basics/issues/144)] Upgrade to commons-io 2.11.0 by [@​mattrpav](https://togithub.com/mattrpav) in [https://github.com/highsource/jaxb2-basics/pull/145](https://togithub.com/highsource/jaxb2-basics/pull/145) - \[[#​138](https://togithub.com/highsource/jaxb2-basics/issues/138)] Update to use oss staging and release plugin by [@​mattrpav](https://togithub.com/mattrpav) in [https://github.com/highsource/jaxb2-basics/pull/147](https://togithub.com/highsource/jaxb2-basics/pull/147) - \[[#​149](https://togithub.com/highsource/jaxb2-basics/issues/149)] Update maven scm for release automation by [@​mattrpav](https://togithub.com/mattrpav) in [https://github.com/highsource/jaxb2-basics/pull/150](https://togithub.com/highsource/jaxb2-basics/pull/150) ##### New Contributors - [@​mattrpav](https://togithub.com/mattrpav) is now the primary maintainer - [@​brcolow](https://togithub.com/brcolow) made their first contribution in [https://github.com/highsource/jaxb2-basics/pull/118](https://togithub.com/highsource/jaxb2-basics/pull/118) **Full Changelog**: https://github.com/highsource/jaxb2-basics/compare/0.12.0...0.13.1 ### [`v0.12.0`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.12.0): Version 0.12.0 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.11.1...0.12.0) ### Release notes - Now works with JAXB/XJC 2.3.0 (see [#​88](https://togithub.com/highsource/jaxb2-basics/issues/88)). Unfortunately this means JAXB/XJC 2.2.x and ealier are no longer supported. - Now works on Java 9 (see [#​91](https://togithub.com/highsource/jaxb2-basics/issues/91)). - Removed JAXWS sample as `jaxws-maven-plugin` does not seem to work with XJC plugins. - [All issues fixed in this release](https://togithub.com/highsource/jaxb2-basics/milestone/8?closed=1) ### Backwards compatibility - JAXB2 Basics no longer support JAXB/XJC 2.2.x and earlier. This is due to certain refactorings which were done in XJC (like the class `Aspect` was moved from the package `com.sun.tools.xjc.model` to the package `com.sun.tools.xjc.outline`). This essentially breaks compatibility of XJC plugins between XJC 2.2.x and 2.3.0. The only option I see is to develop and maintain two version of XJC plugins which is too much effort.\ This is why I've desided to support only one - most current version of XJC.\ You will need to upgrade your tools to use JAXB/XJC 2.3.0.\ For example, if you use `maven-jaxb2-plugin`, upgrade to version 0.14.0 or later. - JAXB2 Basics can only be used with Java 1.7 and above. Java 1.6 and below is no longer supported. - Java 9 is required to build the project. - You can't combine modules built with pre-0.12.0 and post-0.12.0. For instance, cross-module `equals` or `toString` won't work. ### [`v0.11.1`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.11.1): Version 0.11.1 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.11.0...0.11.1) [Issues, fixed in this release](https://togithub.com/highsource/jaxb2-basics/issues?q=milestone%3A0.11.1) ### [`v0.11.0`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.11.0): Version 0.11.0 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.10.0...0.11.0) ### Release notes - JAXBEqualsStrategy is now symmetic ([#​22](https://togithub.com/highsource/jaxb2-basics/issues/22)) - Plugins now consider `xjc:superClass` ([#​42](https://togithub.com/highsource/jaxb2-basics/issues/42)) - Plugins now consider default values ([#​26](https://togithub.com/highsource/jaxb2-basics/issues/26), [#​37](https://togithub.com/highsource/jaxb2-basics/issues/37), [#​38](https://togithub.com/highsource/jaxb2-basics/issues/38), [#​44](https://togithub.com/highsource/jaxb2-basics/issues/44), [#​45](https://togithub.com/highsource/jaxb2-basics/issues/45), [#​46](https://togithub.com/highsource/jaxb2-basics/issues/46), [#​47](https://togithub.com/highsource/jaxb2-basics/issues/47)) [All issues, fixed in this release](https://togithub.com/highsource/jaxb2-basics/issues?q=milestone%3A0.11.0+is%3Aclosed) ### Backwards compatibility This release mak break backwards compatibility. #### Supporting default values This release fixed a number of issues related to the support of default values ([#​26](https://togithub.com/highsource/jaxb2-basics/issues/26), [#​37](https://togithub.com/highsource/jaxb2-basics/issues/37), [#​38](https://togithub.com/highsource/jaxb2-basics/issues/38), [#​44](https://togithub.com/highsource/jaxb2-basics/issues/44), [#​45](https://togithub.com/highsource/jaxb2-basics/issues/45), [#​46](https://togithub.com/highsource/jaxb2-basics/issues/46), [#​47](https://togithub.com/highsource/jaxb2-basics/issues/47)). In certain cases properties may have default values. For instance, it may correspond to an attribute with default value: ```xml ``` Here's the getter that XJC generates for such a property: ```java public boolean isTestBoolean() { if (testBoolean == null) { return true; } else { return testBoolean; } } ``` So the default value is not actually assigned to the field, it is returned from the getter if the field is not set. With this release, default values are considered by the JAXB2 Basics plugins. You will typically get the following code for property accessors: ```java boolean theTestBoolean = (this.isSetTestBoolean()?this.isTestBoolean():true); ``` In previous versions, default values were ignored. This changes now and this change is not backwards compatible. #### Considering "is value set" in strategies Support for default values which was fixed in this version poses a new challenge. Since we now consider default values of properties, how do you distinguish properties with explicitly set values versus properties with default values? It *is* important to consider this difference. For instance, if you create a copy of an object, it wouldn't be correct to copy default values. Or if you merge two values, you'll probably choose explicitly assigned values over default values. This means you have to know when the values was explicitly assigned and when this values is default. To support this, it was necessary to extend existing strategis with parameters which describe if provided values are explicitly set in objects. A typical change is from: ```java public boolean copy(ObjectLocator locator, boolean value); ``` To: ```java public boolean copy(ObjectLocator locator, boolean value, boolean valueSet); ``` To support this change, we now have new strategies: - `org.jvnet.jaxb2_commons.lang.HashCodeStrategy2` - `org.jvnet.jaxb2_commons.lang.EqualsStrategy2` - `org.jvnet.jaxb2_commons.lang.ToStingStrategy2` - `org.jvnet.jaxb2_commons.lang.CopyStrategy2` - `org.jvnet.jaxb2_commons.lang.MergeStrategy2` Old strategies are now deprecated: - `org.jvnet.jaxb2_commons.lang.HashCodeStrategy` - `org.jvnet.jaxb2_commons.lang.EqualsStrategy` - `org.jvnet.jaxb2_commons.lang.ToStingStrategy` - `org.jvnet.jaxb2_commons.lang.CopyStrategy` - `org.jvnet.jaxb2_commons.lang.MergeStrategy` We also have new interfaces for schema-derived classes: - `org.jvnet.jaxb2_commons.lang.HashCode2` - `org.jvnet.jaxb2_commons.lang.Equals2` - `org.jvnet.jaxb2_commons.lang.ToSting2` - `org.jvnet.jaxb2_commons.lang.Copy2` - `org.jvnet.jaxb2_commons.lang.Merge2` Old interfaces are now deprecated: - `org.jvnet.jaxb2_commons.lang.HashCode` - `org.jvnet.jaxb2_commons.lang.Equals` - `org.jvnet.jaxb2_commons.lang.ToSting` - `org.jvnet.jaxb2_commons.lang.Copy` - `org.jvnet.jaxb2_commons.lang.Merge` Existing strategies now implement both new as well as old (deprecated) strategy interfaces: - `org.jvnet.jaxb2_commons.lang.DefaultHashCodeStrategy` / `org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy` - `org.jvnet.jaxb2_commons.lang.DefaultEqualsStrategy` / `org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy` - `org.jvnet.jaxb2_commons.lang.DefaultToStringStrategy` / `org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy` - `org.jvnet.jaxb2_commons.lang.DefaultCopyStrategy` / `org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy` - `org.jvnet.jaxb2_commons.lang.DefaultMergeStrategy` / `org.jvnet.jaxb2_commons.lang.JAXBMergeStrategy` This means that new version of the JAXB2 Basics runtime should be backwards compatible with the old generated code. You don't necessarily need to regenerate your code to use the new runtime. However if you do regenerate your code, you'll have to use the new runtime. This may or may not be backwards compatible. If you just generate code with JAXB2 Basics and use the default strategies provided in the JAXB2 Basics runtime, there should be no problem. However, if you have implemented your own strategies, you may need to update them. ### [`v0.10.0`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.10.0): Version 0.10.0 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.9.5...0.10.0) Release notes: - Generated "accessor"-style setter is now null-safe. See [#​29](https://togithub.com/highsource/jaxb2-basics/issues/29). - Generated `equals` methods are now symmetric ([#​39](https://togithub.com/highsource/jaxb2-basics/issues/39), [#​40](https://togithub.com/highsource/jaxb2-basics/issues/40)). **Many thanks to [@​petega](https://togithub.com/petega) for fixes.** - Samples for CXF ([#​24](https://togithub.com/highsource/jaxb2-basics/issues/24)) and JAXWS ([#​41](https://togithub.com/highsource/jaxb2-basics/issues/41)). [All issues, fixed in this release](https://togithub.com/highsource/jaxb2-basics/issues?q=milestone%3A0.10.0+is%3Aclosed) Backwards compatibility: - Fixes for [#​39](https://togithub.com/highsource/jaxb2-basics/issues/39) and [#​40](https://togithub.com/highsource/jaxb2-basics/issues/40) are potentially not backwards-compatible. Generated code now compare classes instead of doing an `instanceof`. This makes generated code more correct but is a change. ### [`v0.9.5`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.9.5): Version 0.9.5 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.9.4...0.9.5) Release notes: - [Issues, fixed in this release](https://togithub.com/highsource/jaxb2-basics/issues?q=milestone%3A0.9.5+is%3Aclosed) ### [`v0.9.4`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.9.4): Version 0.9.4 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.9.3...0.9.4) This release features a few minor model enhancements: - Added nillable information ([#​25](https://togithub.com/highsource/jaxb2-basics/issues/25)). - Added qualified type name information ([#​23](https://togithub.com/highsource/jaxb2-basics/issues/23)). ### [`v0.9.3`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.9.3): Version 0.9.3 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.9.2...0.9.3) Fixes and enhancements: - `jaxb2-simplify-plugin` has now an option to [pluralize](https://togithub.com/highsource/jaxb2-basics/wiki/JAXB2-Simplify-Plugin#pluralization) the names of the generated collection properties. See issue [#​18](https://togithub.com/highsource/jaxb2-basics/issues/18). **Many thanks to [Boris Marin](https://togithub.com/borismarin) for his contribution.** Pluralization is turned off by default so this enhancement is backwards-compatible. ### [`v0.9.2`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.9.2): Version 0.9.2 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.9.1...0.9.2) This release features: - New plugins [SimpleEquals Plugin](https://togithub.com/highsource/jaxb2-basics/wiki/JAXB2-SimpleEquals-Plugin) and [SimpleHashCode Plugin](https://togithub.com/highsource/jaxb2-basics/wiki/JAXB2-SimpleHashCode-Plugin) wich generate runtime-free reflection-free `hashCode()` and `equals(...)` methods. Many thanks to **James Annesley** for his ideas and help. - New Plugin [FixJAXB1058](https://togithub.com/highsource/jaxb2-basics/wiki/JAXB2-FixJAXB1058-Plugin) which, well, fixes [JAXB-1058](https://java.net/jira/browse/JAXB-1058). - Moved to `org.glassfish.jaxb` artifacts (see issue [#​16](https://togithub.com/highsource/jaxb2-basics/issues/16)). - Upgraded to JAXB version 2.2.11 (see issue [#​15](https://togithub.com/highsource/jaxb2-basics/issues/15) ). - Now using SLF4J for logging (see issue [#​17](https://togithub.com/highsource/jaxb2-basics/issues/17)). ### [`v0.9.1`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.9.1): Version 0.9.1 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.9.0...0.9.1) ### [`v0.9.0`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.9.0): Version 0.9.0 [Compare Source](https://togithub.com/highsource/jaxb2-basics/compare/0.8.4...0.9.0) Backwards compatibility: - Simplify plugin will consider the cardinality of the target property. Previously, it always generated collection properties. Now it will consider if the source property is a collection or not. This may generate different code. ### [`v0.8.4`](https://togithub.com/highsource/jaxb2-basics/releases/tag/0.8.4): Version 0.8.4

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.