maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Chemit <che...@codelutin.com>
Subject Re: how to obtain project class-path with all his dependencies
Date Mon, 30 Apr 2012 14:03:59 GMT
On Mon, 30 Apr 2012 14:59:12 +0100 (BST)
Mark Struberg <struberg@yahoo.de> wrote:

> Nope, guess there is no helper yet.
> 
> But the only code part which is a bit more non-obvious is the one which applies the ClassPath
to the plugin itself:
> 
> https://svn.apache.org/repos/asf/openjpa/trunk/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/maven/AbstractOpenJpaMojo.java
> 
> See 
> 
> protected void extendRealmClasspath()

Yes I had a look at it and the code is fine to me (since my previous code was using artifact.file
to obtain url path of dependencies).

I will use the code of the openJpa plugin.

thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message