"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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...