Indeed, I though maven was using my default JVM (1.6) but actually it's using a 1.5 version. So that explain why the build was ok to me.
I now need to figure out why maven does not use my default JVM. MacBookPro:~ pajbam$ java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode) MacBookPro:~ pajbam$ mvn -version Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100) Java version: 1.5.0_16 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix" MacBookPro:~ pajbam$ echo $JAVA_HOME > MacBookPro:~ pajbam$ That's odd... I will see the maven ML for an answer... Regards, P-A On Tue, Apr 28, 2009 at 11:59 PM, Emmanuel Lecharny <[email protected]>wrote: > Stefan Seelmann wrote: > >> Hi Emmanuel, >> >> I also tested: >> >> Maven 2.1.0 >> Linux r61 2.6.27-11-generic #1 SMP x86_64 GNU/Linux >> Centrino Dual-Core Machine >> >> Using Sun JDK 1.5.0_14: BUILD SUCCESSFUL >> Using Sun JDK 1.6.0_04: BUILD FAILED (also MiscBindIT) >> Using Sun JDK 1.6.0_13: BUILD FAILED (also MiscBindIT) >> Using OpenJDK 1.6.0b12: BUILD FAILED (also MiscBindIT) >> >> > > Good news : it works with Java 5 (on my computer) > Bad news : it does not with Java 6 > Good news : it narrows the problem to JNDI, as there are some subtile > differences between the two versions (mainly in the way the attributes are > ordered). > > Continuing investigations... > > > -- > -- > cordialement, regards, > Emmanuel Lécharny > www.iktek.com > directory.apache.org > > >
