You want to install your vendor jars in the local repo right?

You should use 'mvn install:install-file', an example can be found here:
http://maven.apache.org/plugins/maven-install-plugin/examples/generic-pom-generation.html

To use these jars in your project, you should add them as dependencies in your pom file. Make sure that you specified the correct groupId, artifactId and version (should be the same as what you've set when you did 'mvn install:install-file').

Btw, what 'mvn install:install', or just simply 'mvn install', does is that it builds and installs the project (where you executed this command) in your local repository.

-Deng

Averill Cate Jr wrote:
Thanks. I tried that, but all it does is keep overwriting the jar file in the repository. It doesn't append each jar that I need. Is there a setting or command line arg that I should be using? Thanks again.

acatejr

[EMAIL PROTECTED] wrote:
Use maven install:install command

-----Original Message-----
From: Averill Cate Jr [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 5:07 PM
To: [email protected]
Subject: Novice User Question

Hi,

I am relatively new to Maven and hope to try and use it for a project. I am using another vendors jar files (many) for my web-app project. I
would like to add all of this vendor's jar files to my local repository.
I am not sure how to do this.  Can someone help?  Thanks in advance.

acatejr

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




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

Reply via email to