maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas De Loof <nicolas.del...@capgemini.com>
Subject [m2] compiler <source> has no effect ?
Date Wed, 29 Mar 2006 15:07:52 GMT

Hello,

I've setup maven-compiler-plugin to be 1.3 compliant :
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
              <compilerVersion>1.3</compilerVersion>
              <source>1.3</source>
              <target>1.3</target>
        </configuration>
</plugin>

Running maven using JDK 1.5 I get :
"Failure executing javac, but could not parse the error:
javac: target release 1.3 conflicts with default source release 1.5"

This sounds like javac gets the "-target" option but not the "-source".

Is this a know bug ?

Nico.



This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message