Hi there, it should be mvn install:install-file -DpomFile=<path-to-pom> -Dfile=<path-to-jar>

allan

[EMAIL PROTECTED] wrote:

Hello - I have a jar file that was generated from a Maven 2.0 build. The pom.xml file is included inside the jar file. Is there a maven command to install the jar file into the local repository without having to specify artifactId, groupId, etc? This info is inside the jar in the pom.xml file already. I tried to unzip the jar and then do a "mvn install:install -DpomFile=<path to pom.xml>" and I got this error:

[INFO] Cannot execute mojo: install. It requires a project with an existing pom.xml, but the build is not using one.

Whats the best way to get this thing installed into the local repository???

Thanks,

Scott.


___________________________________________________
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com


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