How to generate JBoss jboss-deployment-structure from maven dependencies -
How to generate JBoss jboss-deployment-structure from maven dependencies -
we have project built using maven. there lot of dependencies resolved designed pom files. need generate sar module planning deploy on jboss7as. have describe dependencies (including our modules) manually in file meta-inf/jboss-deployment-structure.xml
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0"> <deployment> <resources> <resource-root path="lib/activemq-camel-5.6.0.jar"/> <resource-root path="lib/activemq-core-5.6.0.jar"/> <resource-root path="lib/activemq-pool-5.6.0.jar"/> <resource-root path="lib/activemq-protobuf-1.1.jar"/> <resource-root path="lib/ant-1.6.5.jar"/> <resource-root path="lib/antlr-2.7.6.jar"/>
and when alter version of dependency in maven config must alter manually in our sar modules. there way generate such file automatically using maven capabilities maybe it's possible avoid using file @ all? i'm noob in jboss
check plugin, maybe can help generate module.xml , jboss-deployment-structure.xml files eap6/jbossas 7.
the official maven plugin wildfly-maven-plugin don't back upwards , exist 1 request add together new goal.
add goal generate jboss-deployment-structure.xml #10
maven deployment jboss sar
Comments
Post a Comment