[
https://issues.apache.org/jira/browse/SLING-9927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
A. J. David Bosschaert resolved SLING-9927.
-------------------------------------------
Resolution: Fixed
> 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: A. J. David Bosschaert
> Priority: Major
> Fix For: Feature Model Analyser 1.3.14
>
>
> 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)