No. 1# | By Developer Tags User at [2008-5-5] | size: 2510 bytes
have you run it with the -X option on so that we could se what the
classpath is ?
btw questions about the aspectJ plugin is faster answered in the mojo
user group than in the maven user group.
best regards
Kaare
23/09/06, Marco Mistroni <mmistroni (AT) gmail (DOT) comwrote:
hi all,
i am using in my project maven2 aspectj plugin.
of my aspect uses classes from acegisecurity framework and while
aspectj is compiling / weaving classes, it gives me error that it cannot
found some acegisecurity classes
here's excerpt of exception
error at import *;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Sw\TestJSFAppM2\Framework\src\main\java\com\mya pp\aop\JSFItemAspect.java:14:0
::0 The import cannot be resolved
error at import *;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--
and here's my pom.xml (only relevant part)
<dependency>
<groupId>org.acegisecurity</groupId>
<artifactId>acegi-security</artifactId>
<version>1.0.1</version>
<exclusions>
<!-- Maven thinks 2.0 is newer than 2.1
<exclusion>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</exclusion>
<!-- exclude older versions of Spring
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-remoting</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-support</artifactId>
</exclusion>
</exclusions>
</dependency>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<executions>
<execution>
<configuration>
<showWeaveInfo>true</showWeaveInfo>
</configuration>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
can anyone tell me how can i fix this?
thanks in advance and regards
marco
--
To unsubscribe, e-mail: users-unsubscribe (AT) maven (DOT) apache.org
For additional commands, e-mail: users-help (AT) maven (DOT) apache.org