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] Commented: (MASSEMBLY-462) Assembly contains temporary files ending in *.formatted.
Date Mon, 05 Jul 2010 14:56:33 GMT

    [ http://jira.codehaus.org/browse/MASSEMBLY-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227298#action_227298
] 

Georges-Etienne Legendre commented on MASSEMBLY-462:
----------------------------------------------------

Could we adjust the priority of this issue? Even if Maven Assembly 2.2 is still in beta, many
projects use this version for production releases and temporary building artifacts are included
in final packages which is not very good.

> 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

        

Mime
View raw message