You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Franey (JIRA)" <ji...@codehaus.org> on 2007/02/20 19:32:27 UTC

[jira] Commented: (MASSEMBLY-183) assembly:attached does not work with filter- ERROR: Cannot override read-only parameter

    [ http://jira.codehaus.org/browse/MASSEMBLY-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88074 ] 

John Franey commented on MASSEMBLY-183:
---------------------------------------

<filters> is a child of project's <build> element, not a child of the assembly plugin's <configuration> element.

The example documentation is wrong.  See MASSEMBLY-178.


Regards.

> assembly:attached does not work with filter- ERROR: Cannot override read-only parameter
> ---------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-183
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-183
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Maven 2.0.4 - Mac OSx - JDK 1.5
>            Reporter: Franz Garsombke
>            Priority: Minor
>
> Filtering does not work when you use the attached goal on the assembly plugin. When you add a filters tag to the configuration and run assembly:attached the following error is generated:
> ERROR: Cannot override read-only parameter
> Sample configuration:
>         <artifactId>maven-assembly-plugin</artifactId>
>         <configuration>
>           <filters>
>             <filter>src/assemble/dev.properties</filter>
>           </filters>
>           <descriptors>
>             <descriptor>src/assemble/distribution.xml</descriptor>
>           </descriptors>
>         </configuration>

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