You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eric Chatellier (JIRA)" <ji...@codehaus.org> on 2010/12/17 16:14:57 UTC

[jira] Created: (MASSEMBLY-535) [Regression] Filtered fileSet are not filtered since version 2.2

[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


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

        

[jira] Commented: (MASSEMBLY-535) [Regression] Filtered fileSet are not filtered since version 2.2

Posted by "Petr Prochazka (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Updated: (MASSEMBLY-535) [Regression] Filtered fileSet are not filtered since version 2.2

Posted by "Petr Prochazka (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petr Prochazka updated MASSEMBLY-535:
-------------------------------------

    Attachment: build.cmd

I have same problem... I attaching file which does not work.

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

        

[jira] Closed: (MASSEMBLY-535) [Regression] Filtered fileSet are not filtered since version 2.2

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MASSEMBLY-535.
-------------------------------------

    Resolution: Duplicate

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