Skip to content

Commit

Permalink
Switch back to Johnzon 1.x (#53)
Browse files Browse the repository at this point in the history
other modules esp. Adobe Core Components still rely on javax.json and need Johnzon 1.x
and in AEMaaCS its still deployed (in parallel) to Johnzon 2.0
  • Loading branch information
stefanseifert authored Apr 17, 2024
1 parent f64a1c7 commit 504c99b
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -523,21 +523,15 @@
<dependency>
<groupId>org.apache.johnzon</groupId>
<artifactId>johnzon-core</artifactId>
<!-- update-aem-deps:derived-from=org.apache.sling.commons.johnzon:2.0.0 -->
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-api</artifactId>
<!-- update-aem-deps:derived-from=org.apache.sling.commons.johnzon:2.0.0 -->
<version>2.1.1</version>
<!-- Stick with Johnzon 1.x as long as other modules (esp. Adobe Core Components) still depend on javax.json -->
<!-- update-aem-deps:derived-from=com.adobe.granite.commons.johnzon:1.2.16 -->
<version>1.2.21</version>
</dependency>
<!-- Update to latest Sling JSON Content Parser 2.x for unit tests for compatibility with Johnzon 2.0 (switch from javax.json to jakarta.json) -->
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.contentparser.json</artifactId>
<!-- update-aem-deps:ignore -->
<version>2.1.0</version>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-json_1.1_spec</artifactId>
<!-- update-aem-deps:derived-from=com.adobe.granite.commons.johnzon:1.2.16 -->
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
Expand Down

0 comments on commit 504c99b

Please sign in to comment.