Hi Averill,
Seems you're getting a bit confused.
For each jar file that you want to install manually in your local maven
repository, do the following:
1. Define a group ID value for the jars you are installing, if they are 3rd
party, give them the vendor's name or url or something (groupId)
2. Define a unique artifact ID for the jar file (artifactId)
3. Define a version for the jar file (version)
4. Execute the following command, using the values you have defined in the
previous steps instead of "your.groupId", "your.artifactId" and "
your.version":
mvn install:install-file -DgroupId=your.groupId -DartifactId=your.artifactId \
-Dversion=your.version -Dpackaging=jar
-Dfile=/path/to/the/jarfile/ -DgeneratePom=true
This will install the jar file in your maven repository and creat a POM
descriptor for it..
If the jar files has dependencies to other artifacts, you might want to add
them to the depdendencies list of the generated POM.
Cheers
Jo
On 5/16/07, Averill Cate Jr <[EMAIL PROTECTED]> wrote:
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]