Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E988410CA6 for ; Fri, 5 Dec 2014 15:39:29 +0000 (UTC) Received: (qmail 38620 invoked by uid 500); 5 Dec 2014 15:39:29 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 38549 invoked by uid 500); 5 Dec 2014 15:39:29 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 38538 invoked by uid 99); 5 Dec 2014 15:39:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 15:39:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.213.170] (HELO mail-ig0-f170.google.com) (209.85.213.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 15:39:03 +0000 Received: by mail-ig0-f170.google.com with SMTP id r2so948522igi.3 for ; Fri, 05 Dec 2014 07:36:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=DD5uR2jiBQjmAkdPaeL5OmbET7ydE6SRUkz1WuTiups=; b=EqUtzJZBCuEBponRe5JO06Cpp4CABUMkvrwSmWXWlG6SCUqymz1bwTUYCMthcIcJeb +aVGubQNyT2zBiY8TmSvLI9tmCgV/1/z+c4XGSu0USCIOlbD1bG6CBAXo34zLIKy5RW2 KCDmf9t2RDW9cgoi5m7oDbK2hMgZL6tyEf4Qjuc+A01rMwVpr54TaJC/E6eOCCze29TD 69sFFfZs0f2DvRHx61Um43fS1k0MY2nGMpVYaGu4jbq+dkob8swDsoUlhTFf9xd0/x0h g7BsLeajoyQr+tP31vBrAFfbcmiqHkJG19nwIZb+FnWcgTtC8vrp3FMglI0qbyDixHFv W0/A== X-Gm-Message-State: ALoCoQmYenA9RM266gTrUTqKOT+LJ07O5AV0q9tCo9N9AfeSvfDGB0KdcFypnm6EsqLhC5R8NOGe MIME-Version: 1.0 X-Received: by 10.107.40.16 with SMTP id o16mr15748517ioo.26.1417793806699; Fri, 05 Dec 2014 07:36:46 -0800 (PST) Received: by 10.50.232.180 with HTTP; Fri, 5 Dec 2014 07:36:46 -0800 (PST) In-Reply-To: References: Date: Fri, 5 Dec 2014 16:36:46 +0100 Message-ID: Subject: Re: Maven assembly plugin : includeBaseDirectory not correctly used From: Kristian Rosenvold To: Maven Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You should create an issue at http://jira.codehaus.org/browse/MASSEMBLY Herv=C3=A9/Others: Since the attachement made it through, I took a quick look. The problem is that the modello-generated assembly descriptor has a "boolean" type for this value. Since the assembly descriptor interpolation happens "after" the AssemblyXpp3Reader has done its job, the only solution I can think of is to change the datatype of this field to "string"; which would preserve the original expression long enough for the interpolator to get hold of it. Is there any other way ? (Hmm. I could interpolate the assembly descriptor as an xml string *before* feeding it to AssemblyXpp3Reader, does that make sense ?) Kristian 2014-12-05 15:46 GMT+01:00 Jean-Eric Cuendet : > Hi, > > It's the first time I post a bug on a maven plugin. If that's the wrong w= ay, > please let me know where to do it. I found the issue tracker but I'm unab= le > to create new issue. > > My problem: > I use the assembly plugin, with the tag in the > assembly.xml file. If I put a variable (${mine.includeBaseDirectory}) in = the > tag, it's not taken into account. > But if I use true or false, that fine. > > I have created a small project that shows the problem. It's attached. > > To reproduce: > - unzip the attachment > - cd maven-assembly-bug/ > - mvn clean install assembly:single > The file maven-assembly-bug-1.0.0-SNAPSHOT.tar.gz doesn't contain the > baseDir, while the variable used is set to true > > If you change the value in assembly.xml to true or false (instead of usin= g > the variable), that's worting fine. > > Any idea? > Thanks a lot. > > -- > Jean-Eric Cuendet > Le Pr=C3=A9 des Buis 1 > CH - 1315 La Sarraz > > Blog: http://jesc.ch > LinkedIn: http://www.linkedin.com/profile/view?id=3D1456133 > FB: http://www.facebook.com/profile.php?id=3D100002135244701 > Mobile: +41 76 222 3343 > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org