smartics / smartics-jboss-modules-maven-plugin

Generates an archive of modules based on information in a POM to be copied to an JBoss 7 installation.
https://www.smartics.eu/confluence/display/SJBMMP/
Other
13 stars 10 forks source link

Feature pack generated modules do not include dependency classifiers #34

Open jamesnetherton opened 8 years ago

jamesnetherton commented 8 years ago

The generateFeaturePackDefinition option does not take dependency classifiers into consideration.

When a classifier is detected, the generated module XML output should look something like this (note the '::' prefix to the classifier):

<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="org.foo.mymodule">
  <resources>
    <artifact name="${org.foo:some-dependency::my-classifier}" />
  </resources>
</module>

Currently the plugin ignores the classifier and only outputs the group & artifact id.