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 A186D102C8 for ; Wed, 31 Jul 2013 08:53:00 +0000 (UTC) Received: (qmail 64962 invoked by uid 500); 31 Jul 2013 08:52:58 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 64504 invoked by uid 500); 31 Jul 2013 08:52:53 -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 64496 invoked by uid 99); 31 Jul 2013 08:52:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 08:52:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rotscher.ch@gmail.com designates 209.85.219.42 as permitted sender) Received: from [209.85.219.42] (HELO mail-oa0-f42.google.com) (209.85.219.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 08:52:45 +0000 Received: by mail-oa0-f42.google.com with SMTP id i18so950355oag.15 for ; Wed, 31 Jul 2013 01:52:24 -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=Q7uQJHlNfm29YbsevR0ULX/iweS1c8qekbVQu01V0EA=; b=itma9e/Ba4v+MI25Z+DHtRv5aNq7wN7YPS/4NDuKycjkFFkEC9+qLQSO+lygGA84YZ nXd8XmQEBTDHRaiTvJzR1KSDOx3Uj4p3fXUa9arV/0q9mF/fqHDu5sqsstd3u93HQVNw y73ZyGxC4To5PQ+KGfcrUwkcflTwFe4SPJVqEkFq8NXvum+4UhTA02rjKfW4ffE1ToWl P11NqDCuB/svTK2M75PPdxiLlSgkYNId1zvxZJWNsD56aAVQp2Uxo0UJlyQ4tL9UdAE8 +S3bleDrEb93ZblI+9SU8cD/M8DXipz47DtmxrW7O+3vbIOrQgEFdFQTw0f8gTFKQEbz 09fw== MIME-Version: 1.0 X-Received: by 10.60.94.210 with SMTP id de18mr65520743oeb.100.1375260744562; Wed, 31 Jul 2013 01:52:24 -0700 (PDT) Received: by 10.182.97.72 with HTTP; Wed, 31 Jul 2013 01:52:24 -0700 (PDT) In-Reply-To: <75F3A2D98EDE2545BDC06B5B6C1CEC51639EFEFC@ESGSCMB101.ericsson.se> References: <75F3A2D98EDE2545BDC06B5B6C1CEC51639EFEFC@ESGSCMB101.ericsson.se> Date: Wed, 31 Jul 2013 10:52:24 +0200 Message-ID: Subject: Re: Maven assembly single goal not works. From: =?ISO-8859-1?Q?Roger_Brechb=FChl?= To: Maven Users List Content-Type: multipart/alternative; boundary=089e0117689d2741a604e2cad81e X-Virus-Checked: Checked by ClamAV on apache.org --089e0117689d2741a604e2cad81e Content-Type: text/plain; charset=ISO-8859-1 when calling assembly:single only, the package phase and all its attached plugins are not executed. Especially, the maven-jar-plugin is not executed, so no jar file is generated and attached. Hence the error message. mvn package single:assembly (which is needless with your configuration if you don't remove the executions part) Cheers, Rotsch 2013/7/31 Tim Wu T > HI there, > > I try to use the assembly single goal to generate a jar with dependencies, > my config looks like this: > > maven-assembly-plugin > 2.3 > > > > > org.testng.TestNG > > > > > jar-with-dependencies > > > > > make-assembly > package > > single > > > > > > I can use the mvn clean install to generate jar with dependnecies well, > but if I want to try assembly:single, than it will show me > Cannot include project artifact: xxxxxx; it doesn't have an associated > file or directory. > > Any comments for this? > > Br, > Tim > --089e0117689d2741a604e2cad81e--