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


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

        

Reply via email to