Now i'm getting this "already defined" message for all my classes...
Can be a configuration problem ? I don't have any aspectj plugin property defined in my project.properties and i'm trying to run
"maven aspectj:compile" or just "maven aspectj".


[iajc] couldn't find aspectjrt.jar on classpath, checked:
[iajc] /projects/new_project/database/RowIterator.jav
a:14 The type RowIterator is already defined
[iajc] public interface RowIterator extends Iterator {
[iajc]


Vincent Massol wrote:

Hi Daniel,

You're not supposed to change the aspectj version used by the aspectj
plugin. The dependency is automatically handled by the aspectj plugin.

Could you ensure you have internet access, clean your plugin cache
directory, call the aspectj plugin again and send us the console log?

Thanks
-Vincent



-----Original Message-----
From: Daniel Henrique Alves Lima [mailto:[EMAIL PROTECTED]
Sent: 21 April 2004 22:12
To: Maven Users List
Subject: aspectj plugin & maven 1.0 rc2

Hi, everybody !

   I'm trying to use aspectj plugin with maven 1.0rc2 but i'm getting
the following error:

aspectj:weave-internal:
   [move] Moving 1 files to /projects/new_project/target
copyInjars not required since 1.1.1.

   [iajc] ignored: copyInJars at
   [iajc] couldn't find aspectjrt.jar on classpath, checked:
   [iajc] manifest not copied: 'META-INF/MANIFEST.MF' in JAR
'/projects/new_project/target/new_project-1.0-b1-notweaved.jar'
   [iajc] ABORT
   [iajc] Exception thrown from AspectJ 1.1.1


I've tried to add a dependency for aspectjrt.jar in my project.xml


:


<dependency>
     <groupId>aspectj</groupId>
     <artifactId>aspectjrt</artifactId>
     <version>1.1.1</version>
     <url>http://aspectj.org/</url>
   </dependency>

But it doesn't work. Any glue ?

   How can i know/change the version of aspectj plugin that maven is
using ?


Thanks !



---------------------------------------------------------------------
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]



Reply via email to