Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 94050 invoked from network); 15 Aug 2006 15:32:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Aug 2006 15:32:57 -0000 Received: (qmail 83179 invoked by uid 500); 15 Aug 2006 15:32:51 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 83125 invoked by uid 500); 15 Aug 2006 15:32:50 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 83113 invoked by uid 99); 15 Aug 2006 15:32:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 08:32:50 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of nigel.magnay@gmail.com designates 66.249.82.226 as permitted sender) Received: from [66.249.82.226] (HELO wx-out-0506.google.com) (66.249.82.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 08:32:49 -0700 Received: by wx-out-0506.google.com with SMTP id h30so1711822wxd for ; Tue, 15 Aug 2006 08:32:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=iakS0dJ0hahOms/tZMGN4DTwQ/qv2C46zjq9FF5HABbhcJbPDmvprdx0HY1u1kABNyra56IMpNNBAom90DMXQcX+ZFpr3NS53Pl2ZOAfNYiBJZmTeKg6jnlBKUiQlnJ/m9WeI0m345OKl7Z0HC+BBzIGBJEkBD3qkeyshl54lYs= Received: by 10.70.76.11 with SMTP id y11mr11724858wxa; Tue, 15 Aug 2006 08:32:28 -0700 (PDT) Received: by 10.70.113.1 with HTTP; Tue, 15 Aug 2006 08:32:28 -0700 (PDT) Message-ID: <320075ff0608150832h6e02d3f1v4f4d286adf5012a0@mail.gmail.com> Date: Tue, 15 Aug 2006 16:32:28 +0100 From: "Nigel Magnay" To: "Maven Users List" Subject: M2 : using assembly plugin to copy part of the repository MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_110074_18166770.1155655948838" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_110074_18166770.1155655948838 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I have a pom.xml with various dependencies included in it. I want, in the output JAR file, to include a directory that contains a subsection of the repository from those dependencies. I can nearly get there, by using the assembly descriptor (at the end), but I have 2 problems 1) I want to use the directory the M2 repo would use - the example below is creating a directory com.cswgroup.kms.kes.config when I really want com/cswgroup/kms/kes/config - is there a way of getting at ${groupId} with / separators ? 2) I would like to include the .pom descriptors as well. Is there a way of specifying this with the assembly plugin, or should I look at rolling my own MOJO ? directory jar com.cswgroup.kms.kes.config:config-kms ${groupId}/${artifactId}/${version}/${artifactId}-${version}.${extension} / false runtime ------=_Part_110074_18166770.1155655948838--