Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.2-beta-5
-
None
-
None
-
Patch
Description
The fix for MASSEMBLY-385 introduced a regression in class org.apache.maven.plugin.assembly.format.FileFormatter (<http://svn.apache.org/viewvc?view=revision&revision=806277>) leading to file set definitions without any includes to produce temporary files in the final assembly ending in *.formatted.
Example file sets to reproduce:
<fileSet> <directory>target/appassembler/bin</directory> <fileMode>0555</fileMode> <directoryMode>0755</directoryMode> <outputDirectory>/bin</outputDirectory> <excludes> <exclude>*.bat</exclude> </excludes> <lineEnding>unix</lineEnding> </fileSet>
<fileSet> <directory>src/main/assembly/etc</directory> <fileMode>0444</fileMode> <directoryMode>0755</directoryMode> <outputDirectory>/etc</outputDirectory> <lineEnding>dos</lineEnding> </fileSet>
The attached patch adds the "*/.formatted" pattern to the default excludes.
Attachments
Attachments
Issue Links
- is related to
-
MASSEMBLY-777 The assembly plugin refuses to copy a file named lexicon.filtered or lexicon.formatted
- Closed
- relates to
-
MASSEMBLY-385 Filtering replaces tokens it should not be replacing
- Closed