Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 36432 invoked from network); 17 Feb 2010 11:35:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2010 11:35:52 -0000 Received: (qmail 21276 invoked by uid 500); 17 Feb 2010 11:35:51 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 21206 invoked by uid 500); 17 Feb 2010 11:35:51 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 21196 invoked by uid 99); 17 Feb 2010 11:35:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 11:35:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 11:35:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3DEDF234C1F0 for ; Wed, 17 Feb 2010 03:35:28 -0800 (PST) Message-ID: <276499115.332671266406528248.JavaMail.jira@brutus.apache.org> Date: Wed, 17 Feb 2010 11:35:28 +0000 (UTC) From: "Stefan Seifert (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (FELIX-2088) SCR Plugin ignores transitive dependencies when inspecting super classes In-Reply-To: <311239460.332661266406407837.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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.