Re: [hibernate-dev] evners compile error in branch 36

2011-06-03 Thread Strong Liu
Sanne, I guess you're talking search 4? for search 4, yes, of course it should moved to jdk6, since core 4 now uses jdk6 but the previous was talking about core 3.6 which is jdk 5 compatible --- Strong Liu http://hibernate.org http://github.com/stliu On Jun 3, 2011, at 3:48 PM, Sanne

Re: [hibernate-dev] evners compile error in branch 36

2011-06-03 Thread Adam Warski
Ah, I thought you could pass some option to javac to compile file with a given source level? $ javac -help (...) -source Provide source compatibility with specified release (...) In the pom you can specify the target java version, so the maven compiler plugin could in theory pass th

[hibernate-dev] evners compile error in branch 36

2011-06-03 Thread Strong Liu
envers tries to override method in interface, which is not compilable on jdk1.5 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile (default-testCompile) on project hibernate-envers: Compilation failure [ERROR] /mnt/hudson_workspace/workspace/hibernat