EMBJOPR SVN: r675 - trunk/jsfunit.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-08-18 09:33:23 -0400 (Tue, 18 Aug 2009)
New Revision: 675
Modified:
trunk/jsfunit/pom.xml
Log:
* POM - added Ant task which explodes the final war.
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-08-17 21:47:24 UTC (rev 674)
+++ trunk/jsfunit/pom.xml 2009-08-18 13:33:23 UTC (rev 675)
@@ -329,7 +329,58 @@
</executions>
</plugin>
+ <!-- AntRun - Exctract the war to let Cargo plugin deploy it. -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>extract_war_for_cargo</id>
+ <phase>package</phase>
+ <goals><goal>run</goal></goals>
+ <configuration><tasks>
+ <echo>Exctracting war... ################################################</echo>
+ <move file="${project.build.directory}/${project.build.finalName}.${project.packaging}"
+ toFile="${project.build.directory}/${project.build.finalName}_archive.${project.packaging}"/>
+ <unzip src="${project.build.directory}/${project.build.finalName}_archive.${project.packaging}"
+ dest="${project.build.directory}/${project.build.finalName}.${project.packaging}"/>
+ </tasks></configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- Exctract the war to let Cargo plugin deploy it.
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>explode-war</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/${project.build.finalName}_for_cargo_EMBJOPR-235.${project.packaging}</outputDirectory>
+ <overWriteReleases>true</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ <includes>**\/*</includes>
+ <excludes></excludes>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.jopr</groupId>
+ <artifactId>jopr-embedded-jsfunit</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ -->
+
+
<!-- Cargo plugin (for AS 5) -->
<plugin>
<groupId>org.codehaus.cargo</groupId>
@@ -710,6 +761,7 @@
<version>1.1</version>
<executions>
<execution>
+ <id>delete_bundled_admin_console_war</id>
<phase>initialize</phase>
<configuration><tasks>
<echo>Deleting ${JBOSS_HOME}/server/default/deploy/admin-console.war</echo>