Blog




The smartics JBoss Modules Maven Plugin, a plugin for Maven, has been released with version 0.2.0.

This plugin allows to generate a modules folder according to JBoss Modules. The dependencies from a Maven POM are used together with module descriptors to generate the target directory structure together with the module.xml files. This is useful if you want to provide libraries as modules or if you are writing an extension for the JBoss AS 7.

This version of the plugin moves the module declaration from the POM to external files. This will make it easier to create the module declarations. An XSD is now also provided!

The new basic structure is this:

<modules xmlns="http://smartics.de/ns/jboss-modules-descriptor/1">
  <module name="" slot="">
    <directives>
       ...
    </directives>
 
    <match>
       ...
    </match>
   
    <apply-to-dependencies>
       ...
    </apply-to-dependencies>
 
    <apply-to-module>
       ...
    </apply-to-module>
  </module>
 
  <module>
     ...
  </module>
</modules>

To get started, have a look at Usage Modules.

For details on this version of the plugin please visit the project's homepage.

Please note

 

The links above directs you to the currently released version of today. As time goes by, new versions of this software will be released. The versioned sites will still be available to provide you with the documentation for the version of the software you are actually using.

For each project there is a link that will always point to the homepage of the latest released version.


Link

Link

Posts