There is a pomFile parm for the install:install-file goal[1] so you
can install the pom in your local repo.

[1] http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html

On 4/26/07, ben short <[EMAIL PROTECTED]> wrote:
Hi Danny,

Im not sure this is exactly what you want but, if you have an inhouse
repo, like proximity[1],  you can deploy your vendor jar to that and
include custom pom[2] that has its dependencies configured. This will
allow you to have just the one jar as a dep of your project, but when
maven downloads it it will pull in all the other deps as specified in
the pom. I dont know if this can be done with your local repository
via the install:install-file goal.

Regards

Ben Short

[1] http://proximity.abstracthorizon.org/
[2] http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html

On 4/26/07, Danny MacMillan
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am developing a project using a jar supplied by a vendor.  Their jar
> depends on all kinds of other jars, like activation.jar, etc.  I can
> easily install those other jars into my repository following the
> instructions in the Guide to installing 3rd party jars.  But how do I
> install the vendor supplied jar in such a way that gives me the
> advantage of transitive dependencies?  That is to say, I want my project
> to directly depend only on their jar, not all those other jars.
>
> --
> Danny MacMillan
>
> ---------------------------------------------------------------------
> 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