I am pulling my hair out.
If you have gotten maven2 surefire plugin (or anything else) to
initiate a JBoss EJB3 embeddable container, I am desperate for your POM.
I am trying very hard to get the JBoss EJB3 embeddable container to
operate under the surefire-plugin, under the test phase. I cannot,
for the life of me, get it to find the InitialContext. I've set the
system properties properly, and I even have a duplicated it in
jndi.properties. My configuration works under maven1, but not maven2.
I think it could be caused by one of two things. Either
a. The surefire plugin isolated classloader is making it impossible
for the embeddable container to find the annotated classes.
b. I have screwed up my POM somehow.
If all you tell me is "yes, I have gotten the JBoss EJB3 embeddable
container to run and see my classes under surefire", you will have
done me a favor, because that would indicate it is possible.
However, it would be really nice if you would also send your POM so I
could understand your configuration.
Seriously, this has been driving me nuts for days, so I could really
use the help.
Dan R. Greening, Ph.D., CEO BigTribe Corporation, http://
dan.greening.name/contact.htm