This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch issue/SLING-12173-johnzon in repository https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git
commit 204ff31afb077a77d696953cb5a9d13c8cd7cd3d Author: Robert Munteanu <[email protected]> AuthorDate: Wed Apr 24 20:45:14 2024 +0200 SLING-12173 - Configuration errors in Eclipse for projects using the slingfeature-maven-plugin Switch to using the Sling Commons Johnzon implementation for JSON parsing, as it avoids using the ServiceLoader. This should avoid classloading headaches in OSGI environments and have no practical impact in Maven builds. --- pom.xml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index 1172d97..f564895 100644 --- a/pom.xml +++ b/pom.xml @@ -188,16 +188,9 @@ <scope>compile</scope> </dependency> <dependency> - <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.21</version> + <groupId>org.apache.sling</groupId> + <artifactId>org.apache.sling.commons.johnzon</artifactId> + <version>2.0.0</version> <scope>compile</scope> </dependency> <dependency>
