You might look at the way we did it for the openjpa-maven-plugin:

https://svn.codehaus.org/mojo/trunk/mojo/openjpa-maven-plugin/src/main/java/org/codehaus/mojo/openjpa/AbstractOpenJpaMojo.java

check the extendRealmClasspath() method.

LieGrue,
strub

--- On Wed, 6/15/11, Benson Margulies <[email protected]> wrote:

> From: Benson Margulies <[email protected]>
> Subject: An example of a plugin that uses the <dependencies/> as an actual 
> live classpath ...
> To: "Maven Users List" <[email protected]>
> Date: Wednesday, June 15, 2011, 3:09 PM
> I find myself looking to create a
> plugin where, as part of execution,
> it wants to create a classpath composed of the declared
> dependencies.
> Can anyone suggest a model?
> 
> ---------------------------------------------------------------------
> 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