Stefan Seifert created FELIX-5452: ------------------------------------- Summary: SCR bnd plugin fails when embedding jars with optional/excluded dependencies Key: FELIX-5452 URL: https://issues.apache.org/jira/browse/FELIX-5452 Project: Felix Issue Type: Bug Components: SCR Tooling Affects Versions: scr bnd plugin 1.6.0, scr generator 1.15.0 Reporter: Stefan Seifert Fix For: scr generator 1.16.0, scr bnd plugin 1.7.0
when the maven-bundle-plugin is used to embedded JAR dependencies, and those dependencies contain optional or excluded further dependencies which classes are somewhere references in the dependency itself SCR generation via maven-bundle-plugin and the SCR bnd plugin fails. it does *not* fail when using the maven-scr-plugin. the reason for the difference is that the maven-scr-plugin analyzes only the classes compiled in the target folder, not the classes of embedded dependencies. the bnd plugin cannot differentiate if the classes in the bundle jar where embedded or compiled and always scans all of them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)