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]

Reply via email to