Alan,
We are implementing at OPS4J Pax URL a simple osgi url handler (that you
could use also outside osgi) based on Mercury. I started implementing it a
while ago but then I run into problems with Mercury so was on hold for a
while. But I will be back on development soon. Once ready the only thing you
have to do is:

new URL(maven:org.mygroup:myartifact) and so, you get the input stream of
your jar

If the part where the jar is downloaded into your local repository is not a
"must" you can use the current "mvn" url handler:
http://wiki.ops4j.org//x/CoA6


On Mon, May 18, 2009 at 7:48 AM, Alan D. Cabrera <[email protected]>wrote:

> I need to programatically load jars from the local maven repository.  While
> the format of the repository is pretty simple I would like to be relieved of
> the tedium of discovering where this local repository is and, as an added
> bonus, I would love to have jars automatically downloaded to my local
> repository if it is not there already.
>
> Can someone point me to the code bits that will help me do this?
>
>
> Regards,
> Alan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Alin Dreghiciu
Software Developer - Looking for new projects!
My profile: http://www.linkedin.com/in/alindreghiciu
My blog: http://adreghiciu.blogspot.com
http://www.ops4j.org - New Energy for OSS Communities - Open Participation
Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.

Reply via email to