You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Carlos Sanchez <ap...@carlos.cousas.net> on 2004/06/01 00:28:24 UTC

RE: Accesing dependency of another plugin

Hi Vincent,

That's what I have already done ;) but didn't know if it was the correct
way. I found it  some kind of duplicated stuff.

Thanks 


Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net


> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com] 
> Sent: Monday, May 31, 2004 10:26 PM
> To: 'Maven Developers List'
> Subject: RE: Accesing dependency of another plugin
> 
> Hi Carlos,
> 
> Why don't you add junit as a dependency of the aspectj plugin?
> 
> Thanks
> -Vincent
> 
> > -----Original Message-----
> > From: Carlos Sanchez [mailto:apache@carlos.cousas.net]
> > 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: dev-unsubscribe@maven.apache.org For 
> > additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For 
> additional commands, e-mail: dev-help@maven.apache.org
> 
> 
> 



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