Thanks for the tip Brett, but it still adds -source as an argument: $maven -X java:compile ... '-sourcepath' 'D:\VSS3\MedAmerica_Working\src\java' '-target' '1.1' '-g' '-source' '' ...
looks like I've got the maven-java-plugin1.4 $ maven --info | grep java Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $) java.version=1.4.2_04 java.ext.dirs=c:\j2sdk1.4.2_04\jre\lib\ext java.class.path=c:\Program Files\Apache Software Foundation\Maven 1.0/lib/forehead-1.0-beta-5.jar java.vendor=Sun Microsystems Inc. java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition maven-java-plugin-1.4 maven-javacc-plugin-1.1 maven-javadoc-plugin-1.6.1 Thanks, Ben On Fri, 12 Nov 2004 09:26:58 +1100, Brett Porter <[EMAIL PROTECTED]> wrote: > Sorry, my mistake. I was referring to a change made after the last > release, which was included with Maven 1.0.1. > > You will need to set: > maven.compile.source= > > This should be added as an FAQ. > > Cheers, > Brett > > On Fri, 12 Nov 2004 09:24:37 +1100, Brett Porter <[EMAIL PROTECTED]> wrote: > > That's stange, because the plugin no longer has .source or .target set > > by default. > > > > Can you please run maven --info to find the java plugin version you > > are using (there should only be one hopefully!), and check your > > ~/build.properties and any other properties files in the project for > > specification of maven.compile.source > > > > Thanks, > > Brett > > > > > > > > > > > > On Thu, 11 Nov 2004 21:49:19 +0100, Arnaud HERITIER <[EMAIL PROTECTED]> > > wrote: > > > You must look at the plugin java : > > > http://maven.apache.org/reference/plugins/java/ > > > > > > Arnaud > > > > > > > -----Message d'origine----- > > > > De : Ben Anderson [mailto:[EMAIL PROTECTED] > > > > Envoy� : jeudi 11 novembre 2004 21:13 > > > > � : Maven Users List > > > > Objet : javac ... -source 1.3 > > > > > > > > > > > > > > Hi, > > > > I upgraded to maven1.0.1, but now my build is broken. The problem is > > > > we're using the javac bundled with websphere3.5.7. This javac does > > > > not have a -source option which maven is adding. I tried uninstalling > > > > 1.0.1 and reinstalling 1.0, but this didn't help. I also grepped > > > > through the plugins directories to find where ant:javac is defined, > > > > but I don't see it. Does anyone know how to either stop the javac > > > > command from using the -source option, or restore my existing 1.0 > > > > installation more completely? > > > > Thanks, > > > > Ben > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > > > > > > > --------------------------------------------------------------------- > 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]
