felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-2088) SCR Plugin ignores transitive dependencies when inspecting super classes
Date Tue, 16 Mar 2010 18:38:27 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Carsten Ziegeler resolved FELIX-2088.

    Resolution: Fixed

Thanks for your patch, Stefan - I've applied it in revision 923926

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

View raw message