On Tue, Aug 31, 2010 at 3:35 PM, marcelo <[email protected]> wrote:

> Is there a way to have maven create a jar file and point to the
> /.m2/repository for the dependencies ??

What are you actually trying to do with this code?  (Not 'create a jar
file' ... what problem are you trying to solve?)

You've said your maven project generates a jar file and you want to
execute it.  Now you want it to pull dependencies from the Maven repo
for execution.  That starts sounding like you'd want to write a Maven
plugin.

Otherwise, maybe you'd want to hook into the parts of Maven that
resolve and download dependencies so that your project can use them?

It's hard to say with only the info we have so far.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to