The expression you are looking for is:
${project.runtimeClasspathElements}
You might like to look at a plugin such as the WAR plugin for an example.
- Brett
Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco)
wrote:
>
> Hi,
> I am trying to get the mvn dependency classpath inside the plugin
> written using java.
> In maven 1 there seems to be a way for ant using
> {maven.dependency.classpath}.
>
> Does anyone know how to get this classpath in maven2 ????
>
> Also in org.apache.maven.project.Project seems to have a method
> getdependecyClassPath(). But I am not sure which jar file is this
> Project class is in. when I put the above class in import statement its
> erroring out.
>
> Please let me know
>
> Thanks
> Jagan
>
>
>
> ---------------------------------------------------------------------
> 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]