maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gérald Quintana (JIRA) <j...@codehaus.org>
Subject [jira] Issue Comment Edited: (MASSEMBLY-528) FileSet does not support filtering (again)
Date Mon, 29 Nov 2010 08:13:05 GMT

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

Gérald Quintana edited comment on MASSEMBLY-528 at 11/29/10 2:12 AM:
---------------------------------------------------------------------

This a regression between 2.2-beta-5 and 2.2

Workaround: Filters are not taken from project but you can force it like this:
{code:xml}
<plugin>
  <artifactId>maven-assembly-plugin</artifactId>
    <configuration>
      <filters>
        <filter>../src/main/filters/filter-${env}.properties</filter>
      </filters>
      <descriptors>
        <descriptor>src/main/assembly/descriptor.xml</descriptor>
      </descriptors>
    </configuration>
</plugin>
{code}

      was (Author: gquintana):
    This a regression between 2.2-beta-5 and 2.2

Workaround: Filters are taken from project but you can force it like this:
{code:xml}
<plugin>
  <artifactId>maven-assembly-plugin</artifactId>
    <configuration>
      <filters>
        <filter>../src/main/filters/filter-${env}.properties</filter>
      </filters>
      <descriptors>
        <descriptor>src/main/assembly/descriptor.xml</descriptor>
      </descriptors>
    </configuration>
</plugin>
{code}
  
> FileSet does not support filtering (again)
> ------------------------------------------
>
>                 Key: MASSEMBLY-528
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-528
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Maik Richey
>            Priority: Critical
>
> After switching to version 2.2 of the Assembly Plugin filtering for FileSets does not
work again as in versions prior to 2.2-beta-3.
> Can anybody confirm this issue?

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