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:01:41 UTC
[sling-org-apache-sling-feature-cpconverter] 01/01: 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 feature/SLING-9728
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-cpconverter.git
commit eeb8fa0fade1ab3422d7979743048dbc23a0133f
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>