I'm trying to deploy my JHipster app to Wildfly and am following the recommendation in this post :
How to add context file from Wildfly to JHipster
... for including jboss-web.xml and jboss-deployment-structure.xml in the WAR file. I've created a WEB-INF folder under src/main/webapp and placed the two config files there:
However when I run the command for generting the production WAR file using Gradle (./gradlew -Pprod bootRepackage), the WAR file contains neither jboss-web.xml or jboss-deployment-structure.xml in the WEB-INF folder. Do I need to modify build.gradle to ensure that it grabs the files I've placed in WEB-INF when generating the WAR file?