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

[jira] Updated: (MINSTALL-12) Parameters should not be read-only

     [ http://jira.codehaus.org/browse/MINSTALL-12?page=all ]

Patrick Lightbody updated MINSTALL-12:
--------------------------------------

    Attachment: install.diff

> Parameters should not be read-only
> ----------------------------------
>
>          Key: MINSTALL-12
>          URL: http://jira.codehaus.org/browse/MINSTALL-12
>      Project: Maven 2.x Install Plugin
>         Type: Improvement

>     Versions: 2.1
>  Environment: Maven 2.0.2 binary
>     Reporter: Patrick Lightbody
>  Attachments: install.diff
>
>
> When running the following plugin (as a workaround due to a bug in maven):
>       <plugin>
>           <artifactId>maven-install-plugin</artifactId>
>           <groupId>org.apache.maven.plugins</groupId>
>           <executions>
>               <execution>
>                   <phase>validate</phase>
>                   <configuration>
>                       <file>${basedir}/repo/opensymphony/webwork/2.2.1-SNAPSHOT/webwork-2.2.1-SNAPSHOT.jar</file>
>                       <groupId>opensymphony</groupId>
>                       <artifactId>webwork</artifactId>
>                       <version>2.2.1-SNAPSHOT</version>
>                   </configuration>
>                   <goals>
>                       <goal>install-file</goal>
>                   </goals>
>               </execution>
>           </executions>
>       </plugin>
> I get this error:
> "Error configuration: org.apache.maven.plugins:maven-install-plugin. Reason: ERROR: Cannot override read-only parameter: artifactId in goal: install:install-file"
> Bret says:
> (16:49:33) brett: odd
> (16:49:55) brett: hrmph
> (16:50:12) brett: they are all read-only, so can only be set on the command line
> (16:50:15) brett: I don't know why that is
> (16:50:28) PSquad32: should i open a feature request?
> (16:50:44) brett: yes, please
> So I did. Done.

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