1. Add library folder into project example: library, and add pom.xml and libray-jar.xmlas below:
2. Assign proper groupid, name, version, library-name, library-vendor, library-version
library/pom.xml
library-jar.xml
3. Add module into the parent pom.xml, library needs to be build before sbb and du
4. Add dependency into sbb/pom.xml
5. Add library-ref into sbb-jar.xml
6. Add dependency into du/pom.xml
7. Build the project with: mvn install , start JBOSS server and test accordingly