Sure: http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
Specify 1.5 as source and target. /Anders On Fri, Dec 4, 2009 at 15:29, martin mikeln <[email protected]> wrote: > Hi! > > I try to build some project(actually i try to make single JAR file with > "mvn package" code) and i am getting compilation error and almost all lines > have some kind of same error(ex. Generics are not supported in source > -1.3,..., try source -1.5). I think source means source of JDK, so I looked > and i have jdk 1.6 installed and all paths are correctly set. I also > uninstalled 1.6 and installed 1.5. My maven and java are installed > correctly(Maven-2.2.1 version and now 1.5JDK with JRE). > > Can anybody please help me with this error?? > > Thank you > > > > >
