[embjopr-commits] EMBJOPR SVN: r300 - trunk/jsfunit.
embjopr-commits at lists.jboss.org
embjopr-commits at lists.jboss.org
Fri Apr 17 10:53:08 EDT 2009
Author: ozizka at redhat.com
Date: 2009-04-17 10:53:08 -0400 (Fri, 17 Apr 2009)
New Revision: 300
Modified:
trunk/jsfunit/pom.xml
Log:
Added ${jboss.configuration} to Cargo's system props.
Added removal of bundled console WAR - ${JBOSS_HOME}/server/default/deploy/jopr-embedded-jbas5.war.
Added rewriting of EnableMessageCounters = true in messaging-service.xml.
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-04-17 14:48:59 UTC (rev 299)
+++ trunk/jsfunit/pom.xml 2009-04-17 14:53:08 UTC (rev 300)
@@ -267,6 +267,40 @@
<build>
<plugins>
+ <!-- Enable message counters in messaging-service.xml -->
+ <plugin>
+ <groupId>bakersoftware</groupId>
+ <artifactId>maven-replacer-plugin</artifactId>
+ <version>0.0.9</version>
+ <executions>
+ <execution><id>mrp1</id>
+ <phase>initialize</phase><goals><goal>replace</goal></goals>
+ <configuration>
+ <file>${JBOSS_HOME}/server/default/deploy/messaging/messaging-service.xml</file>
+ <token>attribute name="EnableMessageCounters">false</token>
+ <value>attribute name="EnableMessageCounters">true</value>
+ </configuration>
+ </execution>
+ <execution><id>mrp2</id>
+ <phase>initialize</phase><goals><goal>replace</goal></goals>
+ <configuration>
+ <file>${JBOSS_HOME}/server/standard/deploy/messaging/messaging-service.xml</file>
+ <token>attribute name="EnableMessageCounters">false</token>
+ <value>attribute name="EnableMessageCounters">true</value>
+ </configuration>
+ </execution>
+ <execution><id>mrp3</id>
+ <phase>initialize</phase><goals><goal>replace</goal></goals>
+ <configuration>
+ <file>${JBOSS_HOME}/server/all/deploy/messaging/messaging-service.xml</file>
+ <token>attribute name="EnableMessageCounters">false</token>
+ <value>attribute name="EnableMessageCounters">true</value>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+
<!-- Cargo plugin (for AS 5) -->
<plugin>
<groupId>org.codehaus.cargo</groupId>
@@ -287,6 +321,7 @@
<jsfunit.testdata>${basedir}/testdata</jsfunit.testdata>
<jsfunit.tempdir>${basedir}/target/jboss5x/tmp</jsfunit.tempdir>
<jsfunit.deploy.dir>${basedir}/target/jboss5x/deploy</jsfunit.deploy.dir>
+ <jboss.configuration>${cargo.jboss.configuration}</jboss.configuration>
</systemProperties>
</container>
@@ -447,6 +482,23 @@
<skip>true</skip>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <phase>initialize</phase>
+ <configuration><tasks>
+ <echo>Deleting ${JBOSS_HOME}/server/default/deploy/jopr-embedded-jbas5.war</echo>
+ <delete dir="${JBOSS_HOME}/server/default/deploy/jopr-embedded-jbas5.war"/>
+ </tasks></configuration>
+ <goals><goal>run</goal></goals>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
More information about the embjopr-commits
mailing list