You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by br...@jpmorgan.com on 2006/02/15 19:44:18 UTC
External Java Compiler
I want to use Continuum to build both 1.4 and 1.5 applications. Continuum
is currently running under a 1.4 jre, and my JAVA_HOME is set to the 1.4
jre.
I understand there is a way to specify an external java compiler. I've
tried the following (unsuccessfully) for building 1.5 applications:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<compilerVersion>1.5</compilerVersion>
<fork>true</fork>
<executable>C:/jdk1.5.0.1/bin/javac.exe</executable>
</configuration>
</plugin>
</plugins>
Any suggestions?
Thanks,
Brian Yoffe
This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.