Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 11053 invoked from network); 20 Jun 2007 16:36:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 16:36:47 -0000 Received: (qmail 88349 invoked by uid 500); 20 Jun 2007 16:36:51 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 88116 invoked by uid 500); 20 Jun 2007 16:36:50 -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 88107 invoked by uid 99); 20 Jun 2007 16:36:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 09:36:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 09:36:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ED27A71413F for ; Wed, 20 Jun 2007 09:36:25 -0700 (PDT) Message-ID: <21879606.1182357385938.JavaMail.jira@brutus> Date: Wed, 20 Jun 2007 09:36:25 -0700 (PDT) From: "Carlos Sanchez (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-308) Add support for embedding dependency JAR files to bundle plugin In-Reply-To: <15268851.1182343345859.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506593 ] Carlos Sanchez commented on FELIX-308: -------------------------------------- just pointing it out, it's your choice ;) > Add support for embedding dependency JAR files to bundle plugin > --------------------------------------------------------------- > > Key: FELIX-308 > URL: https://issues.apache.org/jira/browse/FELIX-308 > Project: Felix > Issue Type: New Feature > Components: Maven Bundle Plugin > Reporter: Richard S. Hall > > The following is a proposal for how to support embedding dependency JAR files in the bundle plugin. The general approach is a slightly modified version of a proposal by Peter Kriens. The idea is to add a mechanism to deal with embedding JARs that is very similar to how the old maven plugin worked, but doing it in a slightly more generic way than the old plugin by adding the following instruction: > embed-dependency ::= clause ( ',' clause ) * > clause ::= MATCH ( ';' attr '=' MATCH ) > attr ::= 'groupId' | 'artifactId' | 'version' | 'scope' > MATCH ::= > This instruction would be used to match the specified Maven dependencies for embedding. Any matching dependency would have its JAR file embedded onto the resulting bundle JAR file and it would be appended to the Bundle-ClassPath header after ".". > This would allow people to easily achieve the same behavior as the old plugin by simply doing: > *;scope=compile,*;scope=runtime > Thus, this instruction would automatically embed any maven dependencies that were of scope "compile" or "runtime" and append them to the bundle class path. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.