Hi Carlos,

Why don't you add junit as a dependency of the aspectj plugin?

Thanks
-Vincent

> -----Original Message-----
> From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
> Sent: 31 May 2004 18:35
> To: 'Maven Developers List'
> Subject: Accesing dependency of another plugin
> 
> Hi,
> 
> I'm developing the AspectJ plugin and I'd like to get the junit
dependency
> path from the junit plugin in order to compile test classes, so I
tried
> this
> 
>
${pom.getPluginContext('maven-test-plugin').getDependencyPath('junit')}
> 
> and of course failed. I checked MavenJellyContext and found nothing
> suitable.
> 
> Can this be done? Should I use another approach?
> 
> 
> Thanks
> 
> 
> 
> Carlos Sanchez
> A Coruņa, Spain
> 
> Oness Project
> http://oness.sourceforge.net
> 
> 
> 
> ---------------------------------------------------------------------
> 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