You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2020/09/11 10:05:48 UTC

[sling-org-apache-sling-feature-cpconverter] branch master updated: SLING-9728 - Conversion fails for JSON configurations with type conversions: ClassNotFoundException: org.osgi.util.function.Function

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-cpconverter.git


The following commit(s) were added to refs/heads/master by this push:
     new b57fba9  SLING-9728 - Conversion fails for JSON configurations with type conversions: ClassNotFoundException: org.osgi.util.function.Function
b57fba9 is described below

commit b57fba96b981d011716ab65c5711036d80554f90
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Sep 11 11:59:19 2020 +0200

    SLING-9728 - Conversion fails for JSON configurations with type conversions: ClassNotFoundException: org.osgi.util.function.Function
    
    Mark the org.osgi.util.function package as 'provided', to make sure it ends up
    in the assembly. The dependency scope was either an accident, or a leftover
    from when the configadmin did not require org.osgi.util.function.
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 9c95b70..cc74c48 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,7 +132,7 @@
       <groupId>org.osgi</groupId>
       <artifactId>org.osgi.util.function</artifactId>
       <version>1.0.0</version>
-      <scope>test</scope>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.geronimo.specs</groupId>