Hello,

in a plugin, you can get the classpath like this:

/**
* The project we are dealing with.
* @parameter expression="${project}"
*/
private MavenProject m_project;


List<String> classPath = m_project.getRuntimeClasspathElements();


Greetings,

David

> -----Original Message-----
> From: Eric White [mailto:[EMAIL PROTECTED] 
> Sent: 15 April 2008 21:46
> To: users@maven.apache.org
> Subject: classpath property
> 
> 
> Is there a plain old maven property equivalent to the antrun
> maven.runtime.classpath reference?
> I need to filter some resources I'm adding to an assembly, 
> and really don't
> want to take the long way around with antrun if I can get 
> there directly.
> Thanks!
> -- 
> View this message in context: 
> http://www.nabble.com/classpath-property-tp16706768s177p16706768.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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