You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@codehaus.org> on 2010/01/10 18:56:55 UTC
[jira] Updated: (MASSEMBLY-462) Assembly contains temporary files
ending in *.formatted.
[ http://jira.codehaus.org/browse/MASSEMBLY-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schulte updated MASSEMBLY-462:
----------------------------------------
Attachment: MASSEMBLY-462.patch
Patch adding "**/*.formatted" to the default excludes.
> Assembly contains temporary files ending in *.formatted.
> --------------------------------------------------------
>
> Key: MASSEMBLY-462
> URL: http://jira.codehaus.org/browse/MASSEMBLY-462
> Project: Maven 2.x 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
> Priority: Critical
> Attachments: 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:
> {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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira