Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 97125 invoked from network); 16 Dec 2007 16:09:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2007 16:09:34 -0000 Received: (qmail 46829 invoked by uid 500); 16 Dec 2007 16:09:16 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 46802 invoked by uid 500); 16 Dec 2007 16:09:16 -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 46749 invoked by uid 99); 16 Dec 2007 16:09:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Dec 2007 08:09:16 -0800 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; Sun, 16 Dec 2007 16:09:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 051CA71425B for ; Sun, 16 Dec 2007 08:08:44 -0800 (PST) Message-ID: <13716550.1197821324017.JavaMail.jira@brutus> Date: Sun, 16 Dec 2007 08:08:44 -0800 (PST) From: "Stuart McCulloch (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (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:all-tabpanel ] Stuart McCulloch updated FELIX-308: ----------------------------------- Hi, I'd like to get all resolved defects verified before releasing the 1.1.0 version of the bundleplugin - so I'd really appreciate it if you could check things are still ok with the current snapshot, and if so close off the defect. Thanks in advance! > 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 > Assignee: Stuart McCulloch > Attachments: FELIX_308_EMBED_SUPPORT_20070803.txt, FELIX_308_EMBED_SUPPORT_20070806.txt, FELIX_308_EMBED_SUPPORT_20070822.txt > > > 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|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.