Hi,
you write that you want to compile with a JDK 1.4.x or 1.5.x but in the
plugin configuration you give a path to a JDX 1.3.x.
A quick look at
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/javac.html does not
mention a '-source' option of the javac of JDK 1.3, hence the error.
-Tim
Marc Dugger schrieb:
I'm using m2 v2.0 and attempting to compile 1.3.1 source with a 1.4.x or
1.5.x JDK. Error msg: "javac: invalid flag: -source". I've found
several references to this on mailing list, but no definitive solution
yet.
My current compiler config:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<executable>C:\Java\jdk1.3.1_15\bin\javac</executable>
<fork>true</fork>
<verbose>true</verbose>
<includes>
...
</includes>
</configuration>
</plugin>
Any insight is much appreciated.
Marc Dugger
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6% real estate sales commission? Not likely.
Learn why at http://tinyurl.com/dvkbu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Freundliche Grüße / Best Regards
Tim Kettler
_________________________________________
Lieterweg 24
58285 Gevelsberg
Tel.: +49 2332 149814
Fax: +49 2332 149814
e-mail: [EMAIL PROTECTED]
Internet : http://www.tk-ai.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]