I have a need to compile with Java 1.2 and 1.3 . As far as I can tell I
set the maven.compile.{source,target} properties to 1.2 and 1.3 as
appropriate, but it doesn't seem to be working, e.g.

maven.compile.source=1.3
maven.compile.target=1.3


java:compile:
    [echo] Compiling to
C:\projects\online\trunk\Framework/target/classes
    [javac] Compiling 83 source files to
C:\projects\online\trunk\Framework\target\classes
C:\projects\online\trunk\Framework\src\main\java\com\...\WrapperConnecti
on.java:28: com.infinet.dso.WrapperConnection is not abstract and does
not override abstract method
prepareStatement(java.lang.String,java.lang.String[]) in
java.sql.Connection
class WrapperConnection implements Connection 
^
Note:
C:\projects\online\trunk\Framework\src\main\java\com\...\DefaultAcl.java
uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
1 error

BUILD FAILED
File...... C:\Documents and
Settings\smcclenahan\.maven\cache\maven-java-plugin-1.5\plugin.jelly
Element... ant:javac
Line...... 63
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 5 seconds



The issue was reported in http://jira.werken.com/browse/MPJAVA-18 , but
claims to be resolved. Do I have to modify the
maven.compile.bootclasspath property and plugin.jelly file as described
in the issue? Maven --info reports I'm using  maven-java-plugin-1.5

- Simon

--------------------------
NOTE:  This message and any included attachments are from HealthCom Partners, 
LLC and are intended only for the addressee(s). The information contained 
herein may include trade secrets or privileged or otherwise confidential 
information. Unauthorized review, forwarding, printing, copying, distributing, 
or using such information is strictly prohibited and may be unlawful. If you 
received this message in error, or have reason to believe you are not 
authorized to receive it, please promptly delete this message and notify the 
sender by e-mail.

Reply via email to