Skip to content

Commit

Permalink
SLING-11718 : Migrate to Jakarta JSON API
Browse files Browse the repository at this point in the history
  • Loading branch information
cziegeler committed Dec 6, 2022
1 parent 3c0911f commit cc75f40
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,8 @@
<exclude>org.osgi:osgi.annotation</exclude>
<exclude>org.osgi:org.osgi.annotation.versioning</exclude>
<exclude>org.apache.felix:org.apache.felix.converter</exclude><!-- relocated to org.osgi.util.converter -->
<exclude>org.apache.johnzon:johnzon-core</exclude><!-- embedded in org.apache.sling.commons.johnzon -->
<exclude>org.apache.geronimo.specs:geronimo-json_1.1_spec</exclude><!-- embedded in org.apache.sling.commons.johnzon -->
<exclude>org.apache.felix:org.apache.felix.utils</exclude><!-- embedded in org.apache.sling.feature -->
<exclude>org.apache.geronimo.specs:geronimo-json_1.1_spec</exclude><!-- not needed, jakarta.json is used -->
<exclude>org.osgi:org.osgi.core</exclude><!-- contained in org.osgi:osgi.core -->
<exclude>org.osgi:org.osgi.service.configurator</exclude><!-- wrongly flagged to be needed by cm.json -->
<exclude>org.osgi:org.osgi.service.feature</exclude><!-- Optional dependency for feature model -->
Expand Down Expand Up @@ -265,7 +264,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.feature</artifactId>
<version>1.3.0</version>
<version>2.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -283,7 +282,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.cm.json</artifactId>
<version>1.0.6</version>
<version>2.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -293,16 +292,17 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.commons.johnzon</artifactId>
<version>1.2.14</version>
<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-api</artifactId>
<version>2.0.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.johnzon</groupId>
<artifactId>johnzon-core</artifactId>
<classifier>jakarta</classifier>
<version>1.2.19</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation.versioning</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- for generating service descriptor files -->
<dependency>
Expand Down

0 comments on commit cc75f40

Please sign in to comment.