[
https://issues.apache.org/jira/browse/MASSEMBLY-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hervé Boutemy updated MASSEMBLY-462:
------------------------------------
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:
{code:xml}
<fileSet>
<directory>target/appassembler/bin</directory>
<fileMode>0555</fileMode>
<directoryMode>0755</directoryMode>
<outputDirectory>/bin</outputDirectory>
<excludes>
<exclude>*.bat</exclude>
</excludes>
<lineEnding>unix</lineEnding>
</fileSet>
{code}
{code:xml}
<fileSet>
<directory>src/main/assembly/etc</directory>
<fileMode>0444</fileMode>
<directoryMode>0755</directoryMode>
<outputDirectory>/etc</outputDirectory>
<lineEnding>dos</lineEnding>
</fileSet>
{code}
The attached patch adds the "**/*.formatted" pattern to the default excludes.
was:
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:
{xml}
<fileSet>
<directory>target/appassembler/bin</directory>
<fileMode>0555</fileMode>
<directoryMode>0755</directoryMode>
<outputDirectory>/bin</outputDirectory>
<excludes>
<exclude>*.bat</exclude>
</excludes>
<lineEnding>unix</lineEnding>
</fileSet>
{xml}
{xml}
<fileSet>
<directory>src/main/assembly/etc</directory>
<fileMode>0444</fileMode>
<directoryMode>0755</directoryMode>
<outputDirectory>/etc</outputDirectory>
<lineEnding>dos</lineEnding>
</fileSet>
{xml}
The attached patch adds the "**/*.formatted" pattern to the default excludes.
> Assembly contains temporary files ending in *.formatted.
> --------------------------------------------------------
>
> Key: MASSEMBLY-462
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-462
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-5
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000)
> Java version: 1.5.0_17
> Java home: /usr/lib/jvm/java-1.5.0-sun-1.5.0.17/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "linux" version: "2.6.33-686" arch: "i386" Family: "unix"
> Reporter: Christian Schulte
> Assignee: Benjamin Bentmann
> Priority: Critical
> Fix For: 2.2
>
> Attachments: MASSEMBLY-462-with-IT.patch, MASSEMBLY-462.patch
>
>
> 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:
> {code:xml}
> <fileSet>
> <directory>target/appassembler/bin</directory>
> <fileMode>0555</fileMode>
> <directoryMode>0755</directoryMode>
> <outputDirectory>/bin</outputDirectory>
> <excludes>
> <exclude>*.bat</exclude>
> </excludes>
> <lineEnding>unix</lineEnding>
> </fileSet>
> {code}
> {code:xml}
> <fileSet>
> <directory>src/main/assembly/etc</directory>
> <fileMode>0444</fileMode>
> <directoryMode>0755</directoryMode>
> <outputDirectory>/etc</outputDirectory>
> <lineEnding>dos</lineEnding>
> </fileSet>
> {code}
> The attached patch adds the "**/*.formatted" pattern to the default excludes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)