[
https://issues.apache.org/jira/browse/SLING-11718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu updated SLING-11718:
------------------------------------
Description:
Starting with JEE 9 the package names for the enterprise APIs changed from
javax.* to jakarta.* which means that we will benefit from updates to those
APIs only if we make the move.
For the feature model and the related tooling, it should be fairly easy to do
this move as this code is usually only used at tool time but not at application
runtime.
We can simply replace javax.json with jakarta.json and do new releases of
everything involved with a new major version. As we are currently using
javax.json in parts of the API, this will be a breaking change, therefore the
major version update.
h2. Acceptance criteria
(x) Release a new version of the cpconverter with all fixes and migrated to the
Jakarta JSON API
(x) The aem analyser is updated to the released version of the cpconverter and
released
(x) The FACT tool is updated to the released version of the cpconverted and
aemanalyser
(x) The released version of the FACT tool is submitted to the quickstart
(x) The internal cpconverter fork is archived
h2. Services/Projects/Libraries to be modified:
- https://github.com/apache/sling-org-apache-sling-feature-cpconverter (release
only)
- https://github.com/adobe/aemanalyser-maven-plugin
- https://git.corp.adobe.com/Granite/com.adobe.granite.fact
- https://git.corp.adobe.com/Granite/sling-fork-feature-cpconverter (archive
only)
- https://git.corp.adobe.com/CQ/quickstart/ (FACT version update)
h2. Impact of the changes:
- new FACT version in the CQ quickstart/used in CM pipeline
was:
Starting with JEE 9 the package names for the enterprise APIs changed from
javax.* to jakarta.* which means that we will benefit from updates to those
APIs only if we make the move.
For the feature model and the related tooling, it should be fairly easy to do
this move as this code is usually only used at tool time but not at application
runtime.
We can simply replace javax.json with jakarta.json and do new releases of
everything involved with a new major version. As we are currently using
javax.json in parts of the API, this will be a breaking change, therefore the
major version update.
> Migrate to Jakarta JSON API
> ---------------------------
>
> Key: SLING-11718
> URL: https://issues.apache.org/jira/browse/SLING-11718
> Project: Sling
> Issue Type: New Feature
> Components: Feature Model, Feature Model Analyser, Maven Plugins and
> Archetypes
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Feature Model Analyser 2.0.0, slingfeature-maven-plugin
> 1.6.10, Feature Diff 0.1.0, JCR ContentLoader 2.5.4, Content-Package to
> Feature Model Converter 1.3.0, Feature Model 2.0.0, Feature Model API Regions
> Extension 2.0.0, Feature Model Launcher 1.2.6
>
>
> Starting with JEE 9 the package names for the enterprise APIs changed from
> javax.* to jakarta.* which means that we will benefit from updates to those
> APIs only if we make the move.
> For the feature model and the related tooling, it should be fairly easy to do
> this move as this code is usually only used at tool time but not at
> application runtime.
> We can simply replace javax.json with jakarta.json and do new releases of
> everything involved with a new major version. As we are currently using
> javax.json in parts of the API, this will be a breaking change, therefore the
> major version update.
> h2. Acceptance criteria
> (x) Release a new version of the cpconverter with all fixes and migrated to
> the Jakarta JSON API
> (x) The aem analyser is updated to the released version of the cpconverter
> and released
> (x) The FACT tool is updated to the released version of the cpconverted and
> aemanalyser
> (x) The released version of the FACT tool is submitted to the quickstart
> (x) The internal cpconverter fork is archived
> h2. Services/Projects/Libraries to be modified:
> - https://github.com/apache/sling-org-apache-sling-feature-cpconverter
> (release only)
> - https://github.com/adobe/aemanalyser-maven-plugin
> - https://git.corp.adobe.com/Granite/com.adobe.granite.fact
> - https://git.corp.adobe.com/Granite/sling-fork-feature-cpconverter (archive
> only)
> - https://git.corp.adobe.com/CQ/quickstart/ (FACT version update)
> h2. Impact of the changes:
> - new FACT version in the CQ quickstart/used in CM pipeline
--
This message was sent by Atlassian Jira
(v8.20.10#820010)