maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georges-Etienne Legendre (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MASSEMBLY-462) Assembly contains temporary files ending in *.formatted.
Date Mon, 05 Jul 2010 18:53:32 GMT

     [ http://jira.codehaus.org/browse/MASSEMBLY-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Georges-Etienne Legendre updated MASSEMBLY-462:
-----------------------------------------------

    Attachment: MASSEMBLY-462-with-IT.patch

I'm submitting a new patch with a regression test for this issue. All unit/integration tests
are passing.



> 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-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:
> {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

        

Mime
View raw message