See http://maven.apache.org/plugins/maven-compiler-plugin/howto.html

2006/11/8, David Lund <[EMAIL PROTECTED]>:

JDK Problem :

Im using Ubuntu Dapper Drake v6.06.

I have an existing project that I'm trying to convert to maven2 from
ant. However, I'm having JDK issues, basically its compiling in JDK 1.3
rather than 1.5, see error below:

LinkGroup.java:[16,25] generics are not supported in -source 1.3
(try -source 1.5 to enable generics)
        public Collection<ContentLink> getEntities();

I have set the JAVA_HOME variable to point to JDK 1.5, however the
interesting thing is I dont have java 1.3 installed so I dont know where
its picking that version up from. Could this be a Unbuntu problem, as I
noticed Maven2 hadn't been tested on it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to