Hi

I am trying to build the new openejb-jcdi code.   Here is what I did
1. check out code from
http://svn.apache.org/repos/asf/openejb/branches/openejb-jcdi/
2. run mvn clean test, it failed at some junit failure
3. run mvn clean test -DskipTests=true

However, I am failing at many compilation errors like below -

[INFO] Compiling 599 source files to C:\openejb-jcdi\container\openejb-core\targ
et\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

C:\openejb-jcdi\container\openejb-core\src\main\java\org\apache\openejb\util\Poj
oSerialization.java:[38,33] sun.misc.Unsafe is Sun proprietary API and may be re
moved in a future release

C:\openejb-jcdi\container\openejb-core\src\main\java\org\apache\openejb\util\pro
xy\LocalBeanProxyGeneratorImpl.java:[30,33] sun.misc.Unsafe is Sun proprietary A
PI and may be removed in a future release

How can i get the openejb-jcdi project to build?   I am using sun jdk
1.6.0_21 and maven 2.2.1

Thanks

Lin

Reply via email to