felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seifert (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-2088) SCR Plugin ignores transitive dependencies when inspecting super classes
Date Wed, 17 Feb 2010 11:35:28 GMT

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

Stefan Seifert updated FELIX-2088:

    Attachment: 100217_FELIX-2088_dependency_fix.patch

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