[ https://issues.apache.org/jira/browse/FELIX-5452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-5452. ----------------------------------- > 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 generator 1.15.0, scr bnd plugin 1.6.0 > Reporter: Stefan Seifert > Assignee: Carsten Ziegeler > Fix For: maven-scr-plugin-1.24.0, scr ant task 1.17.0, scr > generator 1.16.0, scr bnd plugin 1.7.0 > > Attachments: FELIX-5452.patch > > > 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)