Author: ozizka(a)redhat.com
Date: 2010-04-08 13:35:37 -0400 (Thu, 08 Apr 2010)
New Revision: 916
Modified:
branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml
Log:
* POM: Message counters enabling moved from a profile to the <build>
Modified: branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml
===================================================================
--- branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml 2010-04-08 15:21:57 UTC (rev 915)
+++ branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml 2010-04-08 17:35:37 UTC (rev 916)
@@ -466,7 +466,7 @@
<build><plugins>
<plugin> <artifactId>maven-antrun-plugin</artifactId>
- <executions> <execution>
<phase>pre-integration-test</phase>
<goals><goal>run</goal></goals> <configuration>
<tasks>
+ <executions> <execution>
<id>enable-msg-cnt-ant</id> <phase>pre-integration-test</phase>
<goals><goal>run</goal></goals> <configuration>
<tasks>
<echo> *** Enabling message counters... *** </echo>
<replace
file="${JBOSS_HOME}/server/default/deploy/messaging/messaging-service.xml"
token="attribute name="EnableMessageCounters">false"
value="attribute
name="EnableMessageCounters">true"/>
<replace
file="${JBOSS_HOME}/server/standard/deploy/messaging/messaging-service.xml"
token="attribute name="EnableMessageCounters">false"
value="attribute
name="EnableMessageCounters">true"/>
@@ -755,7 +755,7 @@
<build>
<plugins>
<plugin> <artifactId>maven-antrun-plugin</artifactId>
- <executions> <execution>
<phase>pre-integration-test</phase>
<goals><goal>run</goal></goals> <configuration>
<tasks>
+ <executions> <execution> <id>debug-wait</id>
<phase>pre-integration-test</phase>
<goals><goal>run</goal></goals> <configuration>
<tasks>
<echo> *** Waiting for debugger connection at port :4000 ... ***
</echo>
</tasks> </configuration> </execution>
</executions>
</plugin>
@@ -1124,9 +1124,17 @@
</tasks></configuration>
<goals><goal>run</goal></goals>
</execution>
+
+ <execution> <id>enable-msg-cnt-ant</id>
<phase>pre-integration-test</phase>
<goals><goal>run</goal></goals> <configuration>
<tasks>
+ <echo> *** Enabling message counters... *** </echo>
+ <replace
file="${JBOSS_HOME}/server/default/deploy/messaging/messaging-service.xml"
token="attribute name="EnableMessageCounters">false"
value="attribute
name="EnableMessageCounters">true"/>
+ <replace
file="${JBOSS_HOME}/server/standard/deploy/messaging/messaging-service.xml"
token="attribute name="EnableMessageCounters">false"
value="attribute
name="EnableMessageCounters">true"/>
+ <replace
file="${JBOSS_HOME}/server/all/deploy/messaging/messaging-service.xml"
token="attribute name="EnableMessageCounters">false"
value="attribute
name="EnableMessageCounters">true"/>
+ </tasks> </configuration> </execution>
+
</executions>
</plugin>
- <plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
@@ -1134,7 +1142,7 @@
<source>1.6</source>
<target>1.6</target>
</configuration>
- </plugin>
+ </plugin>
</plugins>
</build>
Show replies by date