The error message says it. You need to define source 1.5 for the compiler
plugin.
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

/Anders

On Tue, Jan 5, 2010 at 22:24, Philippe Couas <pco...@orange.fr> wrote:

> Hi
>
> When i launch m2eclipse 0.94 from RAD7, i have folloing error message.
> I haven't this error message from MSDOS
> How avoid it
>
>
> ERROR]
>
> Mojo:
>
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
>
> FAILED for project:
>
> com.p:WEB-ENLIGNE-WebService:war:1.0
>
> Reason:
>
> C:\Code\c3.java:[566,25] generics are not supported in -source 1.3
> (try -source 1.5 to enable generics) ArrayList> liste = new ArrayList>();
>
> C:\Code\ManagerImpl.java:[562,25] generics are not supported in -source 1.3
> (try -source 1.5 to enable generics)
> private ArrayList fillDocs(Document documentEntree, Z2) {
>
> C:\Code\MessageException.java:[3,7] 'class' or 'interface' expected
>
> no more tokens - could not parse error message:
> C:\Code\MessageException.java:28: 'class' or 'interface' expected
> ^
>
> C:\Code\AdministrationLog4jAction.java:[45,22] generics are not supported
> in -source 1.3
> (try -source 1.5 to enable generics)
> Vector loggers = null;
>
> Dans mon POM j'ai
>
>
> org.apache.maven.plugins
> maven-compiler-plugin
>
>
> C:\Produits\IBM\SDP70\jdk\bin\javac
>
> 1.5
> 1.5
> 1.5
>
>
>
>
>
> Regards
> Philippe

Reply via email to