Carsten Ziegeler created SLING-12142:
----------------------------------------

             Summary: Regression in api jar generation caused by SLING-9883
                 Key: SLING-12142
                 URL: https://issues.apache.org/jira/browse/SLING-12142
             Project: Sling
          Issue Type: Bug
          Components: Feature Model, Maven Plugins and Archetypes
    Affects Versions: OSGi Feature Maven Plugin 1.7.4
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: OSGi Feature Maven Plugin 1.8.0


Running the api jars generation can lead to an IllegalArgumentException (see 
below). It seems the code is not taking all use cases into account

[ERROR] Failed to execute goal 
org.apache.sling:slingfeature-maven-plugin:1.7.5-SNAPSHOT:apis-jar (apis-jar) 
on project cq-quickstart: Execution apis-jar of goal 
org.apache.sling:slingfeature-maven-plugin:1.7.5-SNAPSHOT:apis-jar failed: 
Could not find mandatory attribute 'objectClass' in clause 
'osgi.service;uses:=com.adobe.granite.license;objectClass=com.adobe.granite.license.ProductInfoProvider'
 of bundle com.adobe.granite:com.adobe.granite.license:1.5.0 -> [Help 1]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to