[embjopr-commits] EMBJOPR SVN: r915 - branches/EmbJopr-1.4.0-SN-EAP5/jsfunit.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Thu Apr 8 11:21:58 EDT 2010


Author: ozizka at redhat.com
Date: 2010-04-08 11:21:57 -0400 (Thu, 08 Apr 2010)
New Revision: 915

Modified:
   branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml
Log:
* POM: Replacer plugin replaced with replace Ant task.

Modified: branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml
===================================================================
--- branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml	2010-04-08 13:28:58 UTC (rev 914)
+++ branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml	2010-04-08 15:21:57 UTC (rev 915)
@@ -460,41 +460,20 @@
       <!-- Enable message counters in messaging-service.xml -->
       <profile>
          <id>enable-message-counters-as5</id>
-         <activation> <property><name>msgcnt</name></property> </activation>
+         <activation>
+           <activeByDefault>true</activeByDefault>
+         </activation>
          <build><plugins>
 
-              <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"&gt;false</token>
-                      <value>attribute name="EnableMessageCounters"&gt;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"&gt;false</token>
-                      <value>attribute name="EnableMessageCounters"&gt;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"&gt;false</token>
-                      <value>attribute name="EnableMessageCounters"&gt;true</value>
-                    </configuration>
-                  </execution>
-                </executions>
+              <plugin> <artifactId>maven-antrun-plugin</artifactId>
+                <executions> <execution> <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=&quot;EnableMessageCounters&quot;&gt;false" value="attribute name=&quot;EnableMessageCounters&quot;&gt;true"/>
+                  <replace file="${JBOSS_HOME}/server/standard/deploy/messaging/messaging-service.xml" token="attribute name=&quot;EnableMessageCounters&quot;&gt;false" value="attribute name=&quot;EnableMessageCounters&quot;&gt;true"/>
+                  <replace file="${JBOSS_HOME}/server/all/deploy/messaging/messaging-service.xml" token="attribute name=&quot;EnableMessageCounters&quot;&gt;false" value="attribute name=&quot;EnableMessageCounters&quot;&gt;true"/>
+                </tasks> </configuration> </execution> </executions>
               </plugin>
-
+              
          </plugins></build>
       </profile>
 



More information about the embjopr-commits mailing list