jnl1 wrote:

> 
> hi all..
> 
>    i'm using maven 1.0.2.  on one machine when i build, maven is using
> maven-aspectj-plugin-4.0 and my build works fine.  on another machine,
> it's failing and using maven-aspectj-plugin-3.2.
> 
>    I don't have the maven-aspectj-plugin defined in my project.xml.  So, I
> tried adding it like so:
> 
> <dependency>
> <groupId>maven-plugins</groupId>
> <artifactId>maven-aspectj-plugin</artifactId>
> <version>4.0</version>
> <type>plugin</type>
> </dependency>
> 
> But, that didn't help.  Anyone have an idea why maven would use the 3.2
> version on 1 machine but use the 4.0 version on another ?

Keep in mind, that Maven loads any plugin only once. If your project is part
of a global multi-project build and another project already uses the
aspect-j plugin, the version is completely ignored in your project, since
the plugin is already loaded.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to