For Community Contributor Guillaume Radde.
@see
https://jira.jboss.org/jira/browse/JBASMP-2
The JBossAS Maven Plugins[1] ease integration testing within a Maven environment. These
are powered by facilities located in server-manager[2].
I've just added support to server-manager to allow for generic invocations over the
JMX Bus[3] (ported from legacy code in the jboss-test[4] project).
This means that we can now access the MainDeployer to perform deployment. As you'll
see, I've already implemented the "deploy" Mojo.
What now needs to be done is a similar handling to create an "undeploy" Mojo,
centralizing common code with "deploy" along the way, and
self-documenting/testing by configuring "undeploy" in the
maven-jboss-as-control-example project.
The integration tests in maven-jboss-as-control-example will all run by using the
"it" profile:
$> mvn clean install -Pit
You'll need to configure Maven to include JBoss-specific repositories[5].
S,
ALR
References:
[1]
http://anonsvn.jboss.org/repos/maven/plugins/jboss/trunk/
[2]
http://anonsvn.jboss.org/repos/jbossas/projects/server-manager/trunk
[3]
https://jira.jboss.org/jira/browse/JBASM-13
[4]
http://anonsvn.jboss.org/repos/jbossas/projects/test/trunk/
[5]
http://wiki.jboss.org/wiki/MavenSettings
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179974#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...