Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.2
-
None
-
None
Description
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 in the <includeBaseDirectory> tag 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.