[ 
https://jira.codehaus.org/browse/MRESOURCES-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288161#comment-288161
 ] 

Sergey Zakusov commented on MRESOURCES-156:
-------------------------------------------

sorry, it was my mistake
                
> Wrong example at 
> http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
> --------------------------------------------------------------------------------------------
>
>                 Key: MRESOURCES-156
>                 URL: https://jira.codehaus.org/browse/MRESOURCES-156
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>            Reporter: Sergey Zakusov
>            Priority: Trivial
>
> Warning: Do not filter files with binary content like images! This will most 
> likely result in corrupt output. If you have both text files and binary files 
> as resources, you need to declare two mutually exclusive resource sets. The 
> first resource set defines the files to be filtered and the other resource 
> set defines the files to copy unaltered as illustrated below:
> <project>
>   ...
>   <build>
>     ...
>     <resources>
>       <resource>
>         <directory>src/main/resources</directory>
>         <filtering>true</filtering>
>         <includes>
>           <include>**/*.xml</include>
>         </includes>
>       </resource>
>       <resource>
>         <directory>src/main/resources</directory>
>         <filtering>false</filtering>
>         <excludes>
>           <exclude>**/*.xml</exclude>
>         </excludes>
>       </resource>
>       ...
>     </resources>
>     ...
>   </build>
>   ...
> </project>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to