Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F22FDD331 for ; Sat, 2 Mar 2013 20:32:36 +0000 (UTC) Received: (qmail 25988 invoked by uid 500); 2 Mar 2013 20:32:34 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 25914 invoked by uid 500); 2 Mar 2013 20:32:34 -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 25902 invoked by uid 99); 2 Mar 2013 20:32:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Mar 2013 20:32:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [188.40.84.14] (HELO 5.itsy.de) (188.40.84.14) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Mar 2013 20:32:25 +0000 Received: from [192.168.178.37] (p5497EDA7.dip.t-dialin.net [84.151.237.167]) by 5.itsy.de (Postfix) with ESMTPA id 72C6D641C7 for ; Sat, 2 Mar 2013 21:32:04 +0100 (CET) Message-ID: <513261C4.2030600@durchholz.org> Date: Sat, 02 Mar 2013 21:32:04 +0100 From: Joachim Durchholz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: users@maven.apache.org Subject: Unpacking jars into target/classes Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have two jars from an external source and need to merge their contents into the target/classes tree until the process-classes phase. I'm not sure what plugin(s) can be used to achieve this effect. Directory structure: - external (directory tree that holds the externally-provided files) - libs - cubes.jar (class files) - cubes-resources.jar (nonclass files) - license etc. (other data, irrelevant to task at hand) (yeah I know the structure sucks, can't do anything about it) - target (maven scratchpad) - classes (files for main artifact jar are collected here I think) I need the files inside libs/cubes.jar and libs/cubes-resource.jar unpacked and placed inside target/classes, preserving the in-jar directory structure. I want this to run in the process-classes, latest, because that's the last pertinent phase that m2e will run. What's the best (least-hassle) plugin that will do this? Regards, Jo P.S.: Please resist the temptation to tell me that I want the wrong thing. I need help with solving a problem, I don't need a lecture. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org