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

[jira] [Resolved] (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:all-tabpanel ]

Carsten Ziegeler resolved SLING-12142.
--------------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/sling-slingfeature-maven-plugin/commit/d1205c5e05f1f47f2db8ae63168745110416f7e2

> 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)