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

Petr Prochazka commented on MASSEMBLY-535:
------------------------------------------

I forgot configuration of plugin:
{code}
<configuration>
  <descriptors>
    <descriptor>${basedir}/src/main/assembly/windows.xml</descriptor>
    <descriptor>${basedir}/src/main/assembly/linux.xml</descriptor>
    </descriptors>
  <filters>
    <filter>${basedir}/src/main/assembly/filter.properties</filter>
  </filters>
</configuration>
{code}

Content of filter.properties is:
{code}
java.home.project.path.win=D:\\_helper\\j2sdk\\windows\\1.5.0_18
java.home.project.path.unix=/opt/basecomponents/jre/sun/1.6.0_21
{code}

> [Regression] Filtered fileSet are not filtered since version 2.2
> ----------------------------------------------------------------
>
>                 Key: MASSEMBLY-535
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-535
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Maven 2.2.1 & 3.0.1, maven-assembly-plugin 2.2
>            Reporter: Eric Chatellier
>            Priority: Critical
>         Attachments: build.cmd
>
>
> Since maven-assembly-plugin version 2.2 (stable version)
> assembly descriptor containing filtered resources
> doesn't filters resources anymore.
> Here is our configuration :
>   <fileSet>
>     <directory>src/main/assembly</directory>
>     <outputDirectory />
>     <filtered>true</filtered>
>     <fileMode>0755</fileMode>
>     <includes>
>         <include>go.sh</include>
>         <include>go.bat</include>
>     </includes>
>   </fileSet>
> Script containts following variables:
>   java -jar ${project.build.finalName}.${project.packaging}
> Swithing back to version 2.2-beta-5 is a workaround for now.

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