There is a option to deploy EAR/WAR as exploded folder in JBoss using jboss-maven-plugin.
setting unpack "true" will do everything....
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<version>1.5.0</version>
<configuration>
<jbossHome>C:/jboss-6.1.0.Final</jbossHome>
<serverName>all</serverName>
<fileName>target/MyEar.ear</fileName>
<unpack>true</unpack>
</configuration>
<executions>
<execution>
<id>harddelpoy</id>
<phase>install</phase>
<goals>
<goal>harddeploy</goal>
</goals>
</execution>
</executions>
</plugin>
Comments
Post a Comment