you need to add

<source>1.5</source>
<target>1.5</target>

to the <configuration> section for the maven-compiler-plugin plugin

2009/11/2 Manju, Asha <[email protected]>

> Hi,
>
>         I am using Maven 2.2.1. The JAVA_HOME is set to jdk1.5. The
> path is sent to jdk 1.5/bin. The class path is set to jdk/1.5/jre/lib.
> The code has some auto boxing feature like setting java.lang.Boolean to
> Boolean. In RAD IDE it is compiling fine. But on using Maven it is
> showing compilation error
>
>
>
> C:\synchen_asha\GTT\AIU
> Uplift\mosmaven\mosserviceOffline\src\main\java\com\americanexpress\trav
> el\mos\profile\XGWBookingInfoMapper.java:[376,84] incompatible types
>
> found   : java.lang.Boolean
>
> required: Boolean
>
>
>
> I am new to Maven, can anyone tell me am I doing something wrong
>
> Thanks and Regards
>
> Asha Manju
>
>
> Confidential: This electronic message and all contents contain information
> from Syntel, Inc. which may be privileged, confidential or otherwise
> protected from disclosure. The information is intended to be for the
> addressee only. If you are not the addressee, any disclosure, copy,
> distribution or use of the contents of this message is prohibited. If you
> have received this electronic message in error, please notify the sender
> immediately and destroy the original message and all copies.
>
> Confidential: This electronic message and all contents contain information
> from Syntel, Inc. which may be privileged, confidential or otherwise
> protected from disclosure. The information is intended to be for the
> addressee only. If you are not the addressee, any disclosure, copy,
> distribution or use of the contents of this message is prohibited. If you
> have received this electronic message in error, please notify the sender
> immediately and destroy the original message and all copies.
>

Reply via email to