maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rosenvold <>
Subject Re: Maven assembly plugin : includeBaseDirectory not correctly used
Date Fri, 05 Dec 2014 15:36:46 GMT
You should create an issue at


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 ?)


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 way,
> please let me know where to do it. I found the issue tracker but I'm unable
> to create new issue.
> My problem:
> I use the assembly plugin, with the <includeBaseDirectory> 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 using
> the variable), that's worting fine.
> Any idea?
> Thanks a lot.
> --
> Jean-Eric Cuendet
> Le Pré des Buis 1
> CH - 1315 La Sarraz
> Blog:
> LinkedIn:
> FB:
> Mobile: +41 76 222 3343

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message