You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by he...@netltd.ru on 2008/09/08 10:56:59 UTC

Ваше письмо удалено за спам

Здравствуйте!
    Ваше письмо принято за спам и удалено.
    Если вы считаете это ошибкой, то позвоните пожалуйста по телефону +7(812)578-09-03 в службу поддержки.
===Вашего письмо===
    Return-Path: <us...@maven.apache.org>
Received: from <di...@office.netltd.ru>
  by inc.ru (CommuniGate Pro RULES 4.1.8)
  with RULES id 3564177; Mon, 08 Sep 2008 12:48:34 +0400
X-Autogenerated: Mirror
X-Mirrored-by: <di...@office.netltd.ru>
Received: from mail.netltd.ru (account b-dispatcher@netltd.ru)
  by inc.ru (CommuniGate Pro RPOP 4.1.8)
  with RPOP id 3564176 for dispatcher@office.netltd.ru; Mon, 08 Sep 2008 12:48:34 +0400
X-Antivirus-passed: yes
X-Real-To: b-dispatcher@netltd.ru
Received: from <b-...@netltd.ru>
  by inc.ru (CommuniGate Pro RULES 4.1.8)
  with RULES id 26398575; Mon, 08 Sep 2008 12:46:42 +0400
X-Autogenerated: Mirror
X-Mirrored-by: <b-...@netltd.ru>
X-Antispam-passed: yes
X-Antispam: yes
X-Real-To: <he...@netltd.ru>
X-Antivirus: yes
Received: from mail.apache.org ([140.211.11.2] verified)
  by inc.ru (CommuniGate Pro SMTP 4.1.8)
  with SMTP id 26398557 for help@netltd.ru; Mon, 08 Sep 2008 12:46:41 +0400
Received: (qmail 40609 invoked by uid 500); 8 Sep 2008 08:46:34 -0000
Mailing-List: contact users-help@maven.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <ma...@maven.apache.org>
List-Help: <ma...@maven.apache.org>
List-Post: <ma...@maven.apache.org>
List-Id: "Maven Users List" <users.maven.apache.org>
Reply-To: "Maven Users List" <us...@maven.apache.org>
Delivered-To: mailing list users@maven.apache.org
Received: (qmail 40598 invoked by uid 99); 8 Sep 2008 08:46:34 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2008 01:46:34 -0700
X-ASF-Spam-Status: No, hits=2.0 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of olivier.thierry@gmail.com designates 209.85.217.19 as permitted sender)
Received: from [209.85.217.19] (HELO mail-gx0-f19.google.com) (209.85.217.19)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2008 08:45:33 +0000
Received: by gxk12 with SMTP id 12so607008gxk.12
        for <us...@maven.apache.org>; Mon, 08 Sep 2008 01:46:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type:references;
        bh=j1z9n7tf08v1yicMpI2TdJ00/sdbvbN4AQE8+SEq6NM=;
        b=qTNI/DBNd7l7KVDNYtAJy8u+6Ise55ucDbPw8u+ixiLVsK2ozPVRarYH32oIP8W71p
         RbPTJGpAOO2QHzuu5u8p0YGbfy8puKJbzoLDCp9Vh79fkDKq/Km+/NQmML2GQYyUQfpf
         SQUyq6oU0IK5BtuFQiN7vLOjrzVNG+npWFULU=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:references;
        b=uVnsokI2c6PNF3DSBsiNomK6zu6SPf3V0cZZmDh0hDXb4Bb6v24uQztY03gOdPzSAH
         Upy8+RvUrWDtgY1KCLH7EjsU5oBPS3gFNRnUx360IlmQPprF5q2g5E/GkqyWoI1z0Iby
         30ztfmTM3uvmEpo9SJBMq8aioEgztCtv7Cwog=
Received: by 10.151.141.16 with SMTP id t16mr20919411ybn.167.1220863563475;
        Mon, 08 Sep 2008 01:46:03 -0700 (PDT)
Received: by 10.150.178.9 with HTTP; Mon, 8 Sep 2008 01:46:03 -0700 (PDT)
Message-ID: <6b...@mail.gmail.com>
Date: Mon, 8 Sep 2008 10:46:03 +0200
From: "Olivier THIERRY" <ol...@gmail.com>
To: "Maven Users List" <us...@maven.apache.org>, info@soebes.de
Subject: Re: Creating a jar/zip with dependencies
In-Reply-To: <48...@gmx.de>
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_917_24408305.1220863563472"
References: <48...@gmx.de>
X-Virus-Checked: Checked by ClamAV on apache.org



I had the same kind of need.
You should try Maven Assembly Plugin :
http://maven.apache.org/plugins/maven-assembly-plugin/
Or maybe Maven Shade Plugin :
http://maven.apache.org/plugins/maven-shade-plugin/

2008/9/8 Karl Heinz Marbaise <kh...@gmx.de>

> Hi there,
>
> i have a project which has the following structure:
>
> parent
>  +--- Module A (depends on C and D)
>  +--- Module B
>  +--- Module C
>  +--- Module D
>
>
> Module A has of course other dependencies too....
>
> Now coming to my problem:
>
> I would like to create a zip/jar which comprises of the Module A-jar
> and of it's dependencies (Module C and D) and of course of their
> external dependencies (e.g. Log4j.jar, spring-2.5.4.jar,
> commons-collections, xstream etc.)
> Those dependencies have been defined in Module A, C and D.
>
> If i do a mvn package in module A i only get a jar file which comprises
> of the Classes in Module A without any dependencies....
>
> I would like to create that zip/jar as a result of the package (for
> delivery)
>
> Does someone has an idea or a hint about that ?
>
>
> Kind regards
> Karl Heinz Marbaise
> --
> SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
> Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
> Hauptstrasse 177                         USt.IdNr: DE191347579
> 52146 Wьrselen                           http://www.soebes.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Seules 2 choses sont infinies : l'univers et la bкtise humaine ; et encore
pour l'univers, je ne suis pas sыr … (Einstein)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org