We started a project of the archetype of jboss 7 to create a CDI application. We have added some seam modules to it.
When we packaged the seam modules into our war, it works fine.
However, we want to make the seam stuff available to all our deployments in the future. So we tried to create a jboss module and make it accessible to the application.
For the moment we define the seam solder as provided in maven and tried out one of the three methods to make the module available to the deployment (global modules, manifest entry, jboss-deployment-structure), it does not pick seam solder as a dependency. @Veto is not processed for instance. This annotation is processed when we deploy the seam solder within our war.
Is there any stuff we need to change to make the deployment pick up seam solder as jboss module?