JBoss.orgCommunity Documentation
In order to create a Deployable Unit, the Mobicents Deployable Unit Plugin for Maven is to be used. Unfortunately the EclipSLEE plugin is not yet integrated with third-party Maven tools, and so this must be made manually.
For this to work, Maven must be installed and JBOSS_HOME env var set to point to where Mobicents' JBoss AS is installed. See Appendix B, Setting the JBOSS_HOME Environment Variable on how to do this.
In a terminal window, head to the project folder and run the following command: mvn clean install
.
The output should be similar to the following:
... [INFO] Executing tasks [copy] Copying 1 file to /Users/ammendonca/work/jboss/server/default/deploy ... [INFO] ---------------------------------------------------------- [INFO] BUILD SUCCESSFUL [INFO] ---------------------------------------------------------- ...
At this time, the deployable unit descriptor and the JAR file have been created successfully and deployed to JBoss.