You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Franz Garsombke (JIRA)" <ji...@codehaus.org> on 2007/02/17 22:41:30 UTC

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

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

        

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

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

Fabrice BELLINGARD updated MASSEMBLY-183:
-----------------------------------------

    Affects Version/s:     (was: 2.2)
                       2.2-beta-1

> 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-beta-1
>         Environment: Maven 2.0.4 - Mac OSx - JDK 1.5
>            Reporter: Franz Garsombke
>            Priority: Minor
>             Fix For: 2.2-beta-2
>
>
> 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

        

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

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

Fabrice BELLINGARD closed MASSEMBLY-183.
----------------------------------------

    Resolution: Fixed

MASSEMBLY-226  fixed this problem: it is now possible to override this parameter.

> 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
>             Fix For: 2.2-beta-2
>
>
> 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

        

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

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

        

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

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

John Casey updated MASSEMBLY-183:
---------------------------------

    Fix Version/s: 2.2-beta-2

just a note to fix the documentation...

> 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
>             Fix For: 2.2-beta-2
>
>
> 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