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 <stliu(a)hibernate.org>
http://hibernate.org
http://github.com/stliu
On Jun 3, 2011, at 3:48 PM, Sanne Grinovero wrote:
As extensions such as Envers and Search depend on specific versions
of core, and the latter now requires Java6 it seems logic to build them with Java6 as
well.
In fact I already upgraded Search to Java6 for the logging annotation processor, updating
both docs and wiki, but I realise we didn't really discuss this!
I guess we all agree on this?
Sanne
On 03/giu/2011, at 08:14, Strong Liu <stliu(a)hibernate.org> wrote:
> 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/hibernate-core-branch36/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/StrTestEntityComparator.java:[8,5]
method does not override a method from its superclass
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile (default-testCompile) on
project hibernate-envers: Compilation failure
>
/mnt/hudson_workspace/workspace/hibernate-core-branch36/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/StrTestEntityComparator.java:[8,5]
method does not override a method from its superclass
>
>
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
> at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
>
/mnt/hudson_workspace/workspace/hibernate-core-branch36/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/StrTestEntityComparator.java:[8,5]
method does not override a method from its superclass
>
>
> -----------
> Strong Liu <stliu(a)hibernate.org>
>
http://hibernate.org
>
http://github.com/stliu
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hibernate-dev