I'm trying to execute tests on embedded jboss 6. Test uses shrinkwrap to create jar, war, add manifest etc. From Arqullian dependency is used Shrinkwrap Alpha12. In Jboss AS 6 remote profile tests works ok (Jboss contains 'shrinkwrap-extension-vdf.jar' - Shrinkwrap Alpha11)
Jboss embedded seems to use 'jboss-ejb3-embedded-impl-shrinkwrap' and it uses 1.0.0-alpha-4.
Tests on embedded profile fails with error:
Caused by: java.lang.NoSuchMethodError: org.jboss.shrinkwrap.api.spec.JavaArchive.addAsManifestResource(Ljava/lang/String;Lorg/jboss/shrinkwrap/api/ArchivePath;)Lorg/jboss/shrinkwrap/api/Archive;
I suspect that error is because of old version of shrinkwrap in jboss embedded.
I use profile definitiion strictly from documentation. How can I run those tests on embedded profile?
You need to exclude shrinkwrap from from the jboss embedded dependency. Don't remember if this came up on the forum or on irc, but exluding it should work.