]
James Perkins closed JBASMP-41.
-------------------------------
Resolution: Rejected
This isn't going to be done for the {{jboss-as-maven-plugin}}. New features will only
go into the [{{wildfly-maven-plugin}}|https://issues.jboss.org/browse/WFMP/].
Create goals to add modules do Jboss AS
---------------------------------------
Key: JBASMP-41
URL:
https://issues.jboss.org/browse/JBASMP-41
Project: JBoss AS Maven Plugins
Issue Type: Feature Request
Reporter: Gustavo Orair
A command to create modules using Jboss CLI was created
(refer to
https://issues.jboss.org/browse/AS7-4265).
It should be nice if one may create these modules on Jboss server referencing a maven
dependency similarly to deploy-artifact configuration section.
Maybe a possible workaround for now should be use execute-commands but it would need to
locate where the maven depencies are located:
<execution>
<id>create-modules</id>
<phase>install</phase>
<goals>
<goal>execute-commands</goal>
</goals>
<configuration>
<execute-commands>
<commands>
<command>module add --name=oracle.jdbc --resources=ojdbc6.jar
--dependencies=javax.api,javax.transaction.api</command>
</commands>
</execute-commands>
</configuration>
</execution>