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

start and stop targets #17

Closed ksilin closed 12 years ago

ksilin commented 12 years ago

Implement "start" and "stop" targets triggering the startup and the shutdown of a jboss instance. "start-domain" and "start-standalone" would be more precise naming options, but they may unnecessary tie the plugin to the current version/structure of jboss.

jamezp commented 12 years ago

Start and stop targets weren't added for remote servers, though with the new jboss-as:execute-commands goal you could shut a server down, but a new jboss-as:run goal was added to locally run your application.

VineetReynolds commented 12 years ago

Is it possible to reopen this issue? The jboss-as:run goal does not help when the deployment is to be used in the same Maven build, since the goal tends to block subsequent goals. For example, using this goal in the pre-integration-test phase, prevents the maven-failsafe-plugin from executing integration tests.

Is it possible to introduce goals atleast to start and stop standalone JBoss 7 instances, so that a Maven CI build could manage the lifecyle of the instance ?

jamezp commented 12 years ago

Sorry for the delay on this. We now have a JIRA for this project and I've created an issue for this there. https://issues.jboss.org/browse/JBASMP-25