Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5357510EBB for ; Sat, 8 Mar 2014 14:01:38 +0000 (UTC) Received: (qmail 25839 invoked by uid 500); 8 Mar 2014 14:01:35 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 24003 invoked by uid 500); 8 Mar 2014 14:01:23 -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 23727 invoked by uid 99); 8 Mar 2014 14:01:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Mar 2014 14:01:17 +0000 Date: Sat, 8 Mar 2014 14:01:17 +0000 (UTC) From: =?utf-8?Q?Reto_Bachmann-Gm=C3=BCr_=28JIRA=29?= To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-4450) failet to excurte scr-plugin, missing org/osgi/service/component/annotations/Component MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Reto Bachmann-Gm=C3=BCr created FELIX-4450: ----------------------------------------- Summary: failet to excurte scr-plugin, missing org/osgi/servic= e/component/annotations/Component Key: FELIX-4450 URL: https://issues.apache.org/jira/browse/FELIX-4450 Project: Felix Issue Type: Bug Components: Maven SCR Plugin Reporter: Reto Bachmann-Gm=C3=BCr I update a project (projectA) to use the org.osgi.service.component annotat= ions. Now dependent projects fail with the messages like the following: Failed to execute goal org.apache.felix:maven-scr-plugin:1.15.0:scr (genera= te-scr-scrdescriptor) on project silklinking-service: Execution generate-sc= r-scrdescriptor of goal org.apache.felix:maven-scr-plugin:1.15.0:scr failed= : A required class was missing while executing org.apache.felix:maven-scr-p= lugin:1.15.0:scr: org/osgi/service/component/annotations/Component if and only if: - they depend on projectA and the dependency is explicit in the pom (transi= tive dependency isn't enough) - they use a version of the scr plugin more recent than 1.7.4 Surprisingly the error occurs even if I add org.apache.felix.scr.ds-annotat= ions:1.2.4 as a dependency to the dependent project. -- This message was sent by Atlassian JIRA (v6.2#6252)