Has anyone succeeded in using the
jboss-maven-plugin

to start JBoss ? It says starting...

but as far as I can tell it isn't started ? I put a pause in the
pom.xmlusing AntRun just to make sure it wasn't shutting down again.

I was hoping it would start JBoss the echo the console to the Maven2 console
window ?
I'd then run some JUnits that require the container started, then stop
jboss.


[INFO] [jboss:start {execution: jboss-maven-plugin start container}]

[INFO] Starting JBoss...

POM.XML is like this

<plugin>
 <groupId>org.codehaus.mojo</groupId>
 <artifactId>jboss-maven-plugin</artifactId>
 <executions>
  <execution>
   <id>jboss-maven-plugin start container </id>
   <phase>install</phase>
   <configuration>
    <!-- below is set in parent POM but can be overidden in user's
settings.xml  -->
    <jbossHome>${JBossHome}</jbossHome>
    <serverName>default</serverName>
   </configuration>
   <goals>
    <goal>start</goal>
   </goals>
  </execution>
 </executions>
</plugin>

Reply via email to