I'm trying to install a third-party .jar into a repository (on a
shared drive) that is different from my local repository:

(reformatted for readability)
> mvn install:install-file
     -DartifactId=asjava
     -Dfile=asjava.zip
     -DgroupId=asjava.uniobjects
     -DlocalRepository=e:\projects\repository
     -Dpackaging=jar -Dversion=6.1

gives:

[INFO] [install:install-file]
[INFO] Installing c:\ibm\unidk\uojsdk\lib\asjava.zip to
C:\java\m2-repository\asjava\uniobjects\asjava\6.1\asjava-6.1.jar

And that's my local repository, not where I wanted it to go.  Does
localRepository not do what I think it does, or can it not override
the one in settings.xml?

How do I get this file installed into our shared repository?  (I
suppose I could temporarily change settings.xml to point at this
one...)

Ref. http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html

Thanks,
--
Wendy

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

Reply via email to