I tried to use JBoss Embedded in order to be able to run junit test in a maven project.You can have a look downloading the project sample http://jayblanc.free.fr/jboss-embedded.tar.gz.Trying to run tests, there is lots of ClassNotFoundException starting with org.jboss.security.plugins.AuthorizationManagerService

If the dependency is good, maybe the problem comes from the configurations files I used. I took the ones in the sourceforge beta3 version... because I didn't found any maven package containing those configuration files in the repository...