[ https://issues.apache.org/jira/browse/SLING-9927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237442#comment-17237442 ]
Karl Pauls commented on SLING-9927: ----------------------------------- [~bosschaert], the problem is in the used Felix util ResourceBuilder: [https://github.com/apache/felix-dev/blob/master/utils/src/main/java/org/apache/felix/utils/resource/ResourceBuilder.java#L316] It needs to be dragged into the post R6 world :) > Allow java.* imports to be defined, in line with OSGi R7 > -------------------------------------------------------- > > Key: SLING-9927 > URL: https://issues.apache.org/jira/browse/SLING-9927 > Project: Sling > Issue Type: Bug > Components: Feature Model Analyser > Affects Versions: Feature Model Analyser 1.3.12 > Reporter: Radu Cotescu > Assignee: David Bosschaert > Priority: Major > > The default Sling analysers seem to not allow {{java.*}} imports: > {noformat} > [ERROR] Failed to execute goal > org.apache.sling:slingfeature-maven-plugin:1.4.16:analyse-features (analyze) > on project <redacted>: Exception during analysing feature <redacted> : > org.osgi.framework.BundleException: Unable to build resource for null: > Importing java.* packages not allowed: java.awt -> [Help 1] {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)