maven-compiler-plugin doesn't compile according to configuration
Hi, I've configured my pom.xml to use jdk 1.4.2, but it compiles with another JDK. Here is the maven-compiler-plugin configuration that I use: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration executableC:/jdk1.4.2/bin/javac/executable compilerVersion1.4/compilerVersion forktrue/fork source1.4/source target1.4/target /configuration /plugin Can you tell me what is wrong? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-compiler-plugin doesn't compile according to configuration
Hi, plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration executableC:/jdk1.4.2/bin/javac/executable Shouldn't the above be ...javac.exe? HTH Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven-compiler-plugin doesn't compile according to configuration
No, it doesn't help. It seems that it takes the java according to the env variable JAVA_HOME -Original Message- From: Thorsten Heit [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 2:59 PM To: Maven Users List Subject: Re: maven-compiler-plugin doesn't compile according to configuration Hi, plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.0.2/version configuration executableC:/jdk1.4.2/bin/javac/executable Shouldn't the above be ...javac.exe? HTH Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]