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 D571510EB5 for ; Thu, 13 Jun 2013 03:49:33 +0000 (UTC) Received: (qmail 94566 invoked by uid 500); 13 Jun 2013 03:49:31 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 94322 invoked by uid 500); 13 Jun 2013 03:49:31 -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 94314 invoked by uid 99); 13 Jun 2013 03:49:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 03:49:30 +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 (athena.apache.org: domain of kjkrum@gmail.com designates 209.85.216.49 as permitted sender) Received: from [209.85.216.49] (HELO mail-qa0-f49.google.com) (209.85.216.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 03:49:25 +0000 Received: by mail-qa0-f49.google.com with SMTP id hu16so812880qab.8 for ; Wed, 12 Jun 2013 20:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8NWOG0sOts3c9C1M2IswJgqosAgux33Lvdd6tyqX5b0=; b=Lx5zkE4OMbYtUXBTR9wyv0Kaf5j6jo5/aMmiADhgOXfancvF6QBacD9pW36aRJc7hM KTXnMFe9CL6wQjQFlCMlIPOHwkertWIn1QztVC1DeF0ArGBpjJA2pn1ZAxxEh7BGYHZt JuARAcWXeyZlG3lSWbNGDnMGd6ygkjKD8vQqmEhkja2Dl2BkV4Mnc+Hm+0t1yry4iqHM 1YU7Qbg+5iU70fIV7TIVbBFfTRPzoXIeuP1SlH7yQPSMWdUNDpYGQ2u1cy2vtJvMLUih niPWJiSW/MqJTz0L6Bbrtcu5kxD+UuBnlxeUssQHEooUPJyfGoCuThnx56S4fjR8vjzr 2B1Q== MIME-Version: 1.0 X-Received: by 10.229.56.197 with SMTP id z5mr2750900qcg.22.1371095344394; Wed, 12 Jun 2013 20:49:04 -0700 (PDT) Received: by 10.49.76.148 with HTTP; Wed, 12 Jun 2013 20:49:04 -0700 (PDT) In-Reply-To: References: Date: Wed, 12 Jun 2013 20:49:04 -0700 Message-ID: Subject: Re: Include maven dependencies inside jar file From: Kevin Krumwiede To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org As Anders Hammar said, there is some classpath magic to the way Eclipse creates executable jars containing other jars. I wanted something like that, but instead I ended up creating an assembly that creates a zip file. The zip file contains my main executable jar, along with all the dependencies in a lib/ directory. Because I wanted the zip file to contain an artifact from a project that depends on my main jar, I had to separate the assembly pom from my main pom. Now I build my main project, build the artifact that depends on it, and then build the assembly. My files are here: http://sourceforge.net/p/weapon-m/svn/HEAD/tree/trunk/ On 6/12/13, Wayne Fay wrote: >> Wayne, I do the check and yes the dependency is inside the exec jar and >> yes inside that dependency I found the class AxisFault.class. > > In that case, I cannot explain the error you seem to have run into. > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org