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