...
This plugin is useful for developers using Maven, who want to add their libraries or frameworks as modules or extensions to a JBoss AS 7 server.
For a general introduction to the smartics JBoss Modules Maven Plugin, please refer to Maven Plugin to generate a Modules Directory for JBoss AS 7 or to articles about JBoss modules on this blog.
Note Box |
---|
Side note: If you edit the XML files you may want to benefit from the XSD for the modules descriptor that is a useful tool within you IDE. Add it to your XML catalog and open the files with your XML editor! |
...
Info Box |
---|
For a full outline, please refer to The smartics JBoss Modules XSD on the plugin’s site. |
Outline: module
The module
element, with mandatory name
and optional slot
attributes, has four major sections:
...
Info Box |
---|
For detailed information on the allowed elements, please refer to the XSD for the modules descriptor. |
Match by Example
As mentioned above, this allows to catch Maven dependencies by their artifact coordinates. Only group and artifact ID are supported.
...
Info Box |
---|
For detailed information on the allowed elements, please refer to the XSD for the modules descriptor. |
Apply-to-Dependencies by Example
...
Info Box |
---|
For detailed information on the allowed elements, please refer to the XSD for the modules descriptor. |
Apply-to-Module by Example
...
Info Box |
---|
For detailed information on the allowed elements, please refer to the XSD for the modules descriptor. |
Conclusion
This has been a short introduction on the smartics JBoss modules descriptors XML. In this overview we presented the building blocks of this descriptor and short examples to get you started in using the smartics JBoss Modules Maven Plugin.
...