It seems that the parameters are still readonly from the 2.1 version of install plugin in ibiblio..

Content in the plugin.xml:
       <parameter>
         <name>artifactId</name>
         <type>java.lang.String</type>
         <required>true</required>
         <editable>false</editable>     <---- still not editable
         <description></description>
       </parameter>

Brad,

try this link http://maven.apache.org/guides/development/guide-testing-development-plugins.html

dan tran wrote:
strange the code shows artifactId is overridable but your log shows it is
read only field.

-D


On 7/6/06, Brad Harper <[EMAIL PROTECTED]> wrote:

Same error.

Brad

-----Original Message-----
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 4:50 PM
To: Maven Users List
Subject: Re: install:install-file fails to insert third-party native
library directly into local repository


looks like you are using an older version install plugin, try with mvn -U

On 7/6/06, Brad Harper <[EMAIL PROTECTED]> wrote:
>
> Hello All:
>
> I'm using native-maven-plugin and I want to install a third-party
> native library in the local repository (defined in settings.xml). I
> intend to specify a dependency in one of my own native project's
> POM.
>
>   % mvn install:install-file -Dfile=FPLibrary.lib -DgroupId=com.emc \
>        -DartifactId=com-emc-centera-fplibrary-WINDOWS-X86 \
>        -Dversion=2.0SP1 -Dpackaging=lib
>
> [This is nearly identical to an example from BBWM, page 249.]
>
> I see the error
>
>   [ERROR] BUILD ERROR
>   [INFO] --------------...
>   [INFO] Error configuring:
org.apache.maven.plugnis:maven-install-plugin.
> Reason: ERROR: Cannot override read-only parameter: artifactId in goal
>   install:install-file
>
> I'm trying to insert this library manually into the repository. The
> library does not have a corresponding project/module in my maven project > hierarchy -- and therefore doesn't have a previously defined artifactId.
>
> Any thoughts?
>
> Brad
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to