jbossas/jboss-as-maven-plugin — Issue #16: It is not allowed to deploy from a pom module
Author: flatstep
Created: 2012-02-22 15:33:05+00:00
State: open

We have a project with a separate war module and a separate deployment module. It is not needed to create a jar for the last one, because it only updates the datebase structure and redeploys the application. All we need is a pom deployment module and specify the depend module to deploy.

Sadly this is possible wihout workarounds.

[POM is not allowed.](https://github.com/jbossas/jboss-as-maven-plugin/blob/master/src/main/java/org/jboss/as/plugin/deployment/IgnoredPackageTypes.java).

It is also not possible to specify the dependend module directly. We need to copy the war artifact in the target folder. After that it is possible to specify wich artifact to deploy with the undocumented configuration [filename](https://github.com/jbossas/jboss-as-maven-plugin/issues/15).

In my point of view this is a convenient usecase which should be supported by the plugin.