users@glassfish.java.net

Re: Unit testing with Maven and javaee-api dependency

From: <glassfish_at_javadesktop.org>
Date: Mon, 13 Sep 2010 14:51:37 PDT

The classes are included, but the method bodies are not - for some reason, javaee-api contains byte code which is intentionally mutilated and not usable at run-time.

You can use the Geronimo versions of the Java EE APIs instead.

See http://mvnrepository.com/artifact/org.apache.geronimo.specs

Best regards,
Harald
[Message sent by forum member 'hwellmann']

http://forums.java.net/jive/thread.jspa?messageID=482567