jbossas / jboss-as-maven-plugin

Maven plugin to deploy applications to JBoss AS 7 (moved to https://github.com/wildfly/wildfly-maven-plugin)
74 stars 69 forks source link

Support --runtime-name for deployment on server groups #52

Closed shiruba closed 11 years ago

shiruba commented 11 years ago

The JBoss CLI provides a parameter called --runtime-name, which lets you set an additional runtime name for an deployment (complementing the already supported --name parameter).

It would be nice if the JBoss Maven plugin could add another configuration parameter for this.

ronaldocwb commented 11 years ago

Is this issue be fixed? Otherwise i´ll have to make some workaround.

As long as I saw, some work will have to be done on jboss-as-controller-client (now wildfly...) to accept the runtimeName when it's building the deploy plan. And then add this parameter to jboss-as-maven-plugin.

The interfaces that need to accept runtimeName:

Standalone

https://github.com/wildfly/wildfly/blob/master/controller-client/src/main/java/org/jboss/as/controller/client/helpers/standalone/DeploymentPlanBuilder.java

Domain

https://github.com/wildfly/wildfly/blob/master/controller-client/src/main/java/org/jboss/as/controller/client/helpers/domain/DeploymentPlanBuilder.java

jamezp commented 11 years ago

Moving to JIRA https://issues.jboss.org/browse/JBASMP-53