You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2010/02/17 12:33:27 UTC
[jira] Created: (FELIX-2088) SCR Plugin ignores transitive
dependencies when inspecting super classes
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
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.
[jira] Resolved: (FELIX-2088) SCR Plugin ignores transitive
dependencies when inspecting super classes
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ 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 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.
[jira] Closed: (FELIX-2088) SCR Plugin ignores transitive
dependencies when inspecting super classes
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-2088.
-----------------------------------
> 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.
[jira] Updated: (FELIX-2088) SCR Plugin ignores transitive
dependencies when inspecting super classes
Posted by "Stefan Seifert (JIRA)" <ji...@apache.org>.
[ 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 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.
[jira] Assigned: (FELIX-2088) SCR Plugin ignores transitive
dependencies when inspecting super classes
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ 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.