Carlos Sanchez wrote:
You can extract them to a dir of your project and use jar override, then you
can distribute it with the rest of your files.

A similar option would be to create a separate local repository which is checked in
with the rest of your project.


Something like this:
projectRoot/
  lib/
    com.sun/
      jars/
        mailapi.jar
        ejb-2.1.jar

Then, you could instruct people (or maybe write a maven.xml goal) to include
this directory as a "remote" repo

maven.repo.remote=file://///path/to/projectRoot/lib,www.ibiblio.org/maven

The first time that you run it, the jars will be copied from the special local repo
to the main one.


This is how I'm doing it.

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



Reply via email to