did you put these dependencies on the test project pom.xml? assuming you have maven-eclipse try exporting the test project pom.xml and placing these dependencies into the pom.xml manually then the project should see the plugins referenced from local repository
Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 23 Oct 2009 08:37:41 +1030 > Subject: Re: Aspectj jars refuse to get imported > From: baerr...@gmail.com > To: users@maven.apache.org > > On Fri, Oct 23, 2009 at 5:37 AM, Yaakov Chaikin > <yaakov.chai...@gmail.com> wrote: > > Hi, > > > > Perhaps, someone can point out to me what I am doing wrong... > > > > I have the following simple pom.xml file: > > ************** > > <?xml version="1.0" encoding="UTF-8"?> > > <project xmlns="http://maven.apache.org/POM/4.0.0" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > http://maven.apache.org/maven-v4_0_0.xsd"> > > <modelVersion>4.0.0</modelVersion> > > > > <groupId>pull</groupId> > > <artifactId>spring-aop-example</artifactId> > > <packaging>jar</packaging> > > <version>1.0-SNAPSHOT</version> > > <name>Maven pull of dependencies project</name> > > > > <dependencies> > > <dependency> > > <groupId>org.aspectj</groupId> > > <artifactId>aspectjrt</artifactId> > > <version>1.6.0</version> > > </dependency> > > <dependency> > > <groupId>org.aspectj</groupId> > > <artifactId>aspectjweaver</artifactId> > > <version>1.6.0</version> > > </dependency> > > </dependencies> > > </project> > > ************** > > > > When I run 'mvn clean install', the proper JARs get pulled into my > > local repository. However, when I need these on my classpath, they are > > not there! > > > > On top of that, running regular 'mvn eclipse:eclipse' DOES NOT import > > them into eclipse like any other regular dependency! It's as if they > > are not mentioned in the pom at all! > > For eclipse, did you check the docs? > http://maven.apache.org/plugins/maven-eclipse-plugin/examples/ajdt-projects.html > > For why they are not on your regular classpath, no idea. I dont work > with aspectj. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > _________________________________________________________________ Windows 7: It works the way you want. Learn more. http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen2:102009