5 Replies Latest reply on Oct 1, 2012 9:01 PM by John Genoese

    How to add a JBoss module as a dependency?

    metal.carratt Newbie

      I'm trying to add "org.apache.ws.security", which is a jboss module, as a dependency in an arquillian test.

      If I use .addPackages(true, "org/apache/ws/security"), then it adds org.apache.ws.security, but from my local maven repository and not as a jboss module.

      If I use .setManifest(new StringAsset("Manifest-Version: 1.0\nDependencies: org.apache.ws.security")) then it just doesn't work at all.

       

      Can you please help me find the right way to add this module as a dependency for my arquillian test?

       

      Thanks,

       

      Caleb.

       

      Using:

      JBoss AS7 / EAP6