[
https://issues.apache.org/jira/browse/FELIX-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler reassigned FELIX-2088:
---------------------------------------
Assignee: Carsten Ziegeler
> SCR Plugin ignores transitive dependencies when inspecting super classes
> ------------------------------------------------------------------------
>
> Key: FELIX-2088
> URL: https://issues.apache.org/jira/browse/FELIX-2088
> Project: Felix
> Issue Type: Bug
> Components: Maven SCR Plugin
> Affects Versions: maven-scr-plugin-1.4.2
> Reporter: Stefan Seifert
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin-1.4.4
>
> Attachments: 100217_FELIX-2088_dependency_fix.patch
>
>
> scenario:
> - i've three maven-based bundle projects that depend on each other: A depends
> on B, B depends on C
> - bundle A contains an abstract SCR component X wich defines some osgi
> properties and references
> - bundle C contains a SCR component Y that extends X and is expected to
> inherit the osgi properties and references declared in X
> problem: Y does not inherit the OSGI properties/references declared in X
> reason: MavenJavaClassDescriptorManager uses project.getDependencyArtifacts()
> to iterate over the dependencies to check for SCR component metadata in other
> artifacts.
> but the method getDependencyArtifacts() returns only the dependencies
> declared directly in the current pom, not the transitive dependencies.
> the patch attached solves the problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.