Or, if you for some obscure reason need jdk 1.3:

    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
        <fork>true</fork>
        <executable><your-jdk1.3-javac.exe></executable>
        <compilerVersion>1.3</compilerVersion>
      </configuration>
    </plugin>


AND if for some other obscure reason use w2k OR have very many source files, the forked compiler command line will blow up and fail.

There you will need a compiler component that will provide the source file names as a @ argument to javac.

Who said m2 was easy?

/Niels

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to