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:[EMAIL PROTECTED] > 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:[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] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]