Yes, this is exactly what I want, but with the AspectJ compiler. The original pom.xml was using the configuration described in this page and was working great - but now we need (want?) to add aspects to the mix. Can this be done?
Thanks, GB ----- Original Message ---- From: Carlos Sanchez <[EMAIL PROTECTED]> To: Maven Users List <users@maven.apache.org> Sent: Wednesday, June 28, 2006 3:28:25 PM Subject: Re: AspectJ compiler with Java 1.3 I think he's talking about compiling to a different tools.jar, http://maven.apache.org/plugins/maven-compiler-plugin/howto.html On 6/28/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote: > On 28/06/06, Guillaume Bilodeau <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I'm asking for your help once again. Our projects are currently compiled > > using Java 1.3 through a Maven 2.0.4 build. We want to add some aspects > > (through the new Spring 2.0 tags) and we need to switch to the AspectJ > > compiler, while still using the Java 1.3 classes as a reference (to avoid > > using APIs introduced in 1.4+). I've read the plugin documentation and it > > seems like the only thing we can do is to use the source and target > > configuration options, which is not sufficient. > > Why is that ? > When setting the source and the target to 1.3 or the complianceLevel > option to 1.3 (shorthand which sets -source to 1.3 and -target 1.1). > This should do the trick, and if it does not, it is a bug. Could you > then please send me a testproject that will trigger it ? > > > Did anyone do anything similar? > > > > Thanks, > > GB > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]