This plugin was my first choice. I absolutely cannot get it to work. I deal
with java 1.6 in my project, and when I set the source tag in this plugin's
configuration to 1.6, the plugin complains that this source value isn't
valid. I looked into the source of the plugin, and it looks like all source
values it checks against are 1.3 and 1.5 or something like that. If I set a
value of a source to 1.5, so the plugin doesn't complain anymore, it
downloads aspectj artifacts that can't compile generics and annotations.
Dealing with this plugin in java 1.6 context was such hell, that I am
finally switching to use antrun to instrument my project artifact classes
with my aspectj aspects.


Rune Flobakk wrote:
> 
> Give aspectj-maven-plugin a try:
> http://mojo.codehaus.org/aspectj-maven-plugin/
> 
> - Rune
> 
> vicki skrev:
>> I could not confirm that aspectj can be used as compilerId in
>> maven-compiler-plugin configuration. All my attempts to use aspectj maven
>> plugin failed in either compile or run time. 
>> Thanks,
>> Vicki
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can-maven-compiler-plugin-compile-with-aspectJ-compiler--tp18953234p18956217.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to