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 CD5D14D41 for ; Thu, 19 May 2011 06:02:34 +0000 (UTC) Received: (qmail 20693 invoked by uid 500); 19 May 2011 06:02:34 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 20650 invoked by uid 500); 19 May 2011 06:02:34 -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 20635 invoked by uid 99); 19 May 2011 06:02:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 06:02:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 06:02:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8ED90D0EB5 for ; Thu, 19 May 2011 06:01:49 +0000 (UTC) Date: Thu, 19 May 2011 06:01:49 +0000 (UTC) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Message-ID: <940008271.25628.1305784909581.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1679506417.8696.1305246047306.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (FELIX-2948) scr-maven-plugin fails with org.maven.ide.eclipse plugin (exploded bundle) 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-2948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved FELIX-2948. ------------------------------------- Resolution: Fixed Thanks for testing! > scr-maven-plugin fails with org.maven.ide.eclipse plugin (exploded bundle) > -------------------------------------------------------------------------- > > Key: FELIX-2948 > URL: https://issues.apache.org/jira/browse/FELIX-2948 > Project: Felix > Issue Type: Bug > Components: Maven SCR Plugin > Affects Versions: maven-scr-plugin-1.7.0, scr ant task 1.1.0, scr generator 1.1.0 > Reporter: Andrei Pozolotin > Assignee: Carsten Ziegeler > Fix For: maven-scr-plugin-1.7.2, scr ant task 1.1.2, scr generator 1.1.2 > > > scr-maven-plugin fails with org.maven.ide.eclipse plugin (exploded bundle) > 1) when you run scr-maven-plugin in the eclipse ide with m2e plugin > then it seems at first to work fine: > a) import this project in the eclipse with help of m2e: > https://github.com/carrot-garden/carrot-bugger/tree/master/carrot-bug-scr-maven-plugin-001 > b) and run "eclipse -> project -> clean"; it produces this success log: > https://github.com/carrot-garden/carrot-bugger/blob/master/carrot-bug-scr-maven-plugin-001/doc-inf/build-m2e.log > 2) but when your try > a) a second project which depends on first: > https://github.com/carrot-garden/carrot-bugger/tree/master/carrot-bug-scr-maven-plugin-002 > b) then "eclipse -> project -> clean" now produces the following failure log: > https://github.com/carrot-garden/carrot-bugger/blob/master/carrot-bug-scr-maven-plugin-002/doc-inf/build-m2e.log > 3) this is because scr-maven-plugin expects dependency to be in the jar form > but m2e instead (and appropriately) provides a path to the exploded bundle in the ./target/classes > of the dependency project (if it is a workspace project); > 4) the workaround is to disable workspace project resolution in m2e > but this impedes development speed considerably -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira