Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 7809 invoked from network); 19 Feb 2010 14:03:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 14:03:14 -0000 Received: (qmail 95872 invoked by uid 500); 19 Feb 2010 14:03:11 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 95760 invoked by uid 500); 19 Feb 2010 14:03:11 -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 95750 invoked by uid 99); 19 Feb 2010 14:03:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 14:03:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anders.g.hammar@gmail.com designates 209.85.219.225 as permitted sender) Received: from [209.85.219.225] (HELO mail-ew0-f225.google.com) (209.85.219.225) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 14:03:02 +0000 Received: by ewy25 with SMTP id 25so119130ewy.23 for ; Fri, 19 Feb 2010 06:02:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=/tCA1Hq9CA7lYS0Eetz0tJEPPkt1zEpjD148cpgH+A8=; b=HL72MD2QmWLtQK+9gGkKXWlsaRyVagHEHvYeI1TyKwcl2wUWqfhcOBNWQBGFuKV5Qh 2FDNqk8xQuJW+8IF90WzknG/4nN4oAW/Mbd1hscEfmdYzd1WZFzEQToqFshYGMQdG2Lm oYVZL3G5Qo6lqlnsVgup34jX41EdqTf5yGCBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=Kpdhsi7GEJawK/tauHP/b9Q8cF4sX+qTSox8qGhhvRo8jpc6QY0h0kvyzl488K6uv3 Y6flokAw7Y6Q924m4XvCIIrwjLTGg+/n+/4xSsnv+HuV5q+gmsy4SOMr/5lYVYCNerti Syq4gJ+w1Qs2UVLbB8sG4z/wMM8b2jCaKuuk4= MIME-Version: 1.0 Sender: anders.g.hammar@gmail.com Received: by 10.216.87.83 with SMTP id x61mr2050026wee.7.1266588161705; Fri, 19 Feb 2010 06:02:41 -0800 (PST) In-Reply-To: <15378a7f1002190557h26ecbe1dv2ccd9b8d1461d84d@mail.gmail.com> References: <15378a7f1002190557h26ecbe1dv2ccd9b8d1461d84d@mail.gmail.com> Date: Fri, 19 Feb 2010 15:02:41 +0100 X-Google-Sender-Auth: 8b0a458370880513 Message-ID: Subject: Re: Assemble a jar with dependent jars next to it From: Anders Hammar To: Maven Users List Content-Type: multipart/alternative; boundary=0016e6d99a7f7486c7047ff489ee X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d99a7f7486c7047ff489ee Content-Type: text/plain; charset=ISO-8859-1 I think this is what you're looking for: http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/ /Anders On Fri, Feb 19, 2010 at 14:57, Yaakov Chaikin wrote: > Hi all, > > Tried Googling, but nothing that useful came up... I am pretty sure > it's possible to do this though... > > I have a multi-module project and one of the modules is a standalone > executable with dependencies on other modules as well as other 3rd > party libraries. > > I need to run an assembly such that the executable module ends up as a > JAR with Class-Path in its manifest pointing to all of its JAR > dependencies and place all the other dependencies (whatever they are - > I don't want to have to specify them all by hand in assembly.xml) > should be brought into the same directory and the Class-Path should > have relative path pointing to them. > > Does anyone have some snippets they can share to accomplish this? The > assembly documentation is pretty thin so I would so much love to avoid > trial-and-error pattern. > > Any help would be greatly appreciated. > > Thanks, > Yaakov. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --0016e6d99a7f7486c7047ff489ee--