How to use smartics-jboss-modules maven plugin in maven project

279 views Asked by At

We can create module.xml manually and keep it in modules folder of Jboss. But to autogenerate it, there is a plugin called smartics-jboss-modules-maven-plugin. Has anyone implemented it in maven project. My requirement is to generate module.xml and module from maven project and automatically add it to jboss modules folder. I need to know the exact steps to implement it in my project.

1

There are 1 answers

0
Andre de Miranda On

enter image description here

and inside that particular folder make sure you create a file that complies with the following model

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
</project>

As documented in here:

https://www.smartics.eu/confluence/display/SJBMMP/The+smartics+JBoss+Modules+XSD