Java 1.4 is the minimum required version for use with maven 2. So I don't think it's going to work.
Roald Bankras Software Engineer JTeam b.v. -----Original Message----- From: Tung Nguyen [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 11:06 AM To: [email protected] Subject: [M2]How to compile with JDK 1.2 Hi everybody, I want to compile my source files with an external jdk1.2 : I've tried this: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <fork>true</fork> <executable>C:\jdk1.2.2\bin</executable> <compilerVersion>1.2</compilerVersion> </configuration> </plugin> </plugins> </build> but it doesn't work 'cause javac 1.2 can't handle the "source" argument meanwhile maven add automatically this argument when executing the compilation. Thanks in advance. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
