users@glassfish.java.net

Re: Unit testing with Maven and javaee-api dependency

From: <glassfish_at_javadesktop.org>
Date: Tue, 14 Sep 2010 08:24:55 PDT

> javaee-api.jar artifact contains api classes not impl
> classes since there can be several implementations
> for the impl classes.

I realize that. However, when I was developing against Java EE 5, I had Maven dependencies on the specific JSR APIs instead of the all-in-one dependency like we have with Java EE 6. I did not have this problem running my tests against the Java EE 5 API jar files.
[Message sent by forum member 'rdelaplante']

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