1 Reply Latest reply on Nov 30, 2016 5:24 PM by James Perkins

    Wildfly system module dependency?

    Jonathan Blum Newbie

      Hello all --


      I've successfully deployed a WAR for the project I'm developing, but I'd prefer to have it depend on the version of BouncyCastle already present in modules/system/layers/base/org/bouncycastle, rather than deploying a duplicate in modules/org/bouncycastle.  How would I point to this dependency in my jboss-deployment-structure.xml?

        • 1. Re: Wildfly system module dependency?
          James Perkins Master

          If you look at the module.xml file you'll see it has a property which means it's "private". What that means is WildFly may remove or change that dependency at any point. It's generally not a good idea to rely on private modules.


          That said you just need to add the module dependency to your jboss-deployment-structure.xml. See the documentation for more details on how to do that.



          James R. Perkins