maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Haszlakiewicz (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MASSEMBLY-488) useStrictFiltering in a fileSet in the assembly descriptor doesn't work
Date Wed, 16 Jun 2010 21:38:12 GMT

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

Eric Haszlakiewicz updated MASSEMBLY-488:
-----------------------------------------

    Attachment: fail_strictfiltering.zip

Here's a test case that demonstrates the problem.

> useStrictFiltering in a fileSet in the assembly descriptor doesn't work
> -----------------------------------------------------------------------
>
>                 Key: MASSEMBLY-488
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-488
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>         Environment: Maven 2.2.1, RHEL4
>            Reporter: Eric Haszlakiewicz
>         Attachments: fail_strictfiltering.zip
>
>
> I'm trying to turn on useStrictFiltering in a fileSet in an assembly
> descriptor, but maven doesn't fail when the file does not exist.  Here
> is an example of what the assembly descriptor looks like:
> <?xml version="1.0" encoding="UTF-8"?><assembly>
>   <formats>
>     <format>tar.gz</format>
>   </formats>
>   <fileSets>
>    <fileSet>
>     <useStrictFiltering>true</useStrictFiltering>
>     <directory>src/main</directory>
>     <includes>
>      <include>nonexistant.txt*</include>
>     </includes>
>    </fileSet>
>   </fileSets>
> </assembly>
> Running "mvn package" happily produces a tarball with no indication that anything is
wrong.

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