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.

Reply via email to