You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/11/11 11:31:00 UTC

[jira] [Comment Edited] (SLING-12142) Regression in api jar generation caused by SLING-9883

    [ https://issues.apache.org/jira/browse/SLING-12142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785162#comment-17785162 ] 

Konrad Windszus edited comment on SLING-12142 at 11/11/23 11:30 AM:
--------------------------------------------------------------------

[~cziegeler] Can you share the full stack trace? Isn't this thrown from {{org.apache.felix.utils.manifest.Parser.parseHeader(...)}}?


was (Author: kwin):
[~cziegeler] Can you share the full stack trace? Isn't this thrown from `org.apache.felix.utils.manifest.Parser.parseHeader(...)`?

> 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
>            Priority: Major
>             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)