Neat. I didn't know this would work. I think it is the lesser of the two evils.
Ruel Loehr JBoss QA ----------------------------- 512-342-7840 ext 2011 Yahoo: ruelloehr Skype: ruelloehr AOL: dokoruel -----Original Message----- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 1:35 AM To: Maven Users List Subject: RE: [m2] howto run the maven compiler two times ? Nicolas De Loof wrote on Monday, August 21, 2006 5:31 PM: > Hello, > > I've a requirement for a utility lib to include both Java1.3 > and Java5 > code. I don't want to split my lib into two jars, but to split the > source three into src/main/java and src/main/tiger. I'm > searching for a > way to configure the compiler plugin for this. > > I've set two compiler configuration (default config is for 1.3 and > <id>tiger</id> execution for java5) > I've tried to use the build-helper plugin, but I cannot make int run > between compiler default execution (java13) and compiler > java5 execution. > I've also looked at compiler doc, but "|compileSourceRoots|" > seems to be > readonly. > > My requirement seems not to be so strange : take a look at > Spring or any > other utility/framework that want to add support for Java5 witout > breaking existing code. > > Is there any known solution for this ? It has flaws, but it works: http://jira.codehaus.org/browse/MCOMPILER-37 (see my comment) - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.5/425 - Release Date: 8/22/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.5/425 - Release Date: 8/22/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]