1 Reply Latest reply on Apr 20, 2011 3:48 PM by Aslak Knutsen

    Old shrinkwrap in jboss-embedded

    marx3 Apprentice


      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?