[jboss-dev-forums] [Design of JBoss ESB] - Re: Maven ESB plugin

Andre1001 do-not-reply at jboss.com
Sun May 4 22:33:59 EDT 2008


"Andre1001" wrote : 
  | 
  | - There seems to be two Maven plugins which package .esb files (jboss-maven-plugin and jboss-packaging-maven-plugin). Which one is the "official"?
  | 
  | 

Now I understand. Both are useful in some way:

jboss-maven-plugin - to start/stop/deploy applications
jboss-packaging-maven-plugin - to package applications


"Andre1001" wrote : 
  | 
  | - How do you guys automate deploy and undeploy by JMX? I've been trying with the following pom, but without sucess. Harddeploy works, but just copy the package to /deploy directory.
  | 
  | 

This is undeploying/deploying:

    
  |        <plugin>
  |           <groupId>org.codehaus.mojo</groupId>
  |           <artifactId>jboss-maven-plugin</artifactId>
  |           <version>1.3.1</version>
  |           <executions>
  |               <execution>
  |                <id>jboss-undeploy</id>
  |                <phase>clean</phase>
  |                <goals>
  |                  <goal>undeploy</goal>
  |                </goals>
  |              </execution>
  |              <execution>
  |                <id>jboss-deploy</id> 
  |                <phase>pre-integration-test</phase>
  |                <goals>
  |                  <goal>deploy</goal>
  |                </goals>
  |              </execution>
  |           </executions>
  |           <configuration>
  |               <jbossHome>${user.home}/java/jboss-4.2.0.GA</jbossHome>
  |               <fileName>${project.build.directory}/${project.build.finalName}.esb</fileName>
  |           </configuration>
  |        </plugin>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148563#4148563

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148563



More information about the jboss-dev-forums mailing list