Bump org.apache.sling.commons.johnzon from 1.2.16 to 2.0.0#2560
Closed
jbonofre wants to merge 1 commit intoapache:mainfrom
Closed
Bump org.apache.sling.commons.johnzon from 1.2.16 to 2.0.0#2560jbonofre wants to merge 1 commit intoapache:mainfrom
jbonofre wants to merge 1 commit intoapache:mainfrom
Conversation
The 2.0.0 release wraps Apache Johnzon 2.x which exports jakarta.json.* instead of javax.json.*. This requires a coordinated upgrade of the dependent stack: - felix.cm.json 1.0.8 -> 2.0.6 (uses jakarta.json, exports org.apache.felix.cm.json.io instead of org.apache.felix.cm.json) - felix.configurator 1.0.16 -> 1.0.18 (imports org.apache.felix.cm.json.io) - Add jakarta.json:jakarta.json-api 2.1.3 to BOM and as provided dependency in features/core - Update import in JsonConfigInstaller, ConfigRepositoryImpl and FeatureConfigInstaller from org.apache.felix.cm.json.Configurations to org.apache.felix.cm.json.io.Configurations - Remove geronimo-json_1.1_spec compile dependency from config/core and features/core (replaced by jakarta.json-api) Closes apache#2345
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #2345.
The
sling.commons.johnzon2.0.0 release wraps Apache Johnzon 2.x, which migrates fromjavax.jsontojakarta.json. The Dependabot PR alone breaks the build with Unable to resolve framework features because the dependent stack also needs updating.Changes
Version bumps (
pom.xml)org.apache.sling.commons.johnzon: 1.2.16 → 2.0.0org.apache.felix.cm.json: 1.0.8 → 2.0.6 (exportsorg.apache.felix.cm.json.io, usesjakarta.json)org.apache.felix.configurator: 1.0.16 → 1.0.18 (importsorg.apache.felix.cm.json.io)BOM / deps
jakarta.json:jakarta.json-api2.1.3 tobom/pom.xmland as aprovideddependency infeatures/coregeronimo-json_1.1_specfromconfig/coreandfeatures/core(superseded byjakarta.json-api)Java sources — update import from
org.apache.felix.cm.json.Configurations→org.apache.felix.cm.json.io.Configurationsconfig/core/.../JsonConfigInstaller.javaconfig/core/.../ConfigRepositoryImpl.javafeatures/core/.../FeatureConfigInstaller.java