This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch issue/SLING-12173 in repository https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git
commit 7528919653f30489f2640be7e6e205ebba3bb9d8 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 ae37b62..f4e6d84 100644 --- a/pom.xml +++ b/pom.xml @@ -206,16 +206,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>
