Author: ozizka(a)redhat.com
Date: 2010-03-31 17:57:29 -0400 (Wed, 31 Mar 2010)
New Revision: 908
Modified:
branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml
Log:
* POM: Enabling of msg counters moved to separate profile.
Modified: branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml
===================================================================
--- branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml 2010-03-31 18:56:46 UTC (rev 907)
+++ branches/EmbJopr-1.4.0-SN-EAP5/jsfunit/pom.xml 2010-03-31 21:57:29 UTC (rev 908)
@@ -5,6 +5,9 @@
<modelVersion>4.0.0</modelVersion>
<properties>
+ <as5></as5>
+ <as6></as6>
+
<!-- Does not work in Maven 2.2.1 -->
<mavenConflictResolvers>newest,nearest</mavenConflictResolvers>
@@ -446,30 +449,18 @@
</dependencies>
</profile>
+
+ <!-- Enable message counters in messaging-service.xml -->
<profile>
- <id>jboss5x</id>
- <properties>
- <jboss5x>true</jboss5x>
- </properties>
- <build>
- <plugins>
+ <id>enable-message-counters-as5</id>
+ <activation>
<property><name>msgcnt</name></property> </activation>
+ <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>disable-navtree-ajax</id>
-
<phase>prepare-package</phase><goals><goal>replace</goal></goals>
- <configuration>
- <file>${basedir}/</file>
- <token>attribute
name="EnableMessageCounters">false</token>
- <value>attribute
name="EnableMessageCounters">true</value>
- </configuration>
- </execution>
- -->
<execution><id>mrp1</id>
<phase>initialize</phase><goals><goal>replace</goal></goals>
<configuration>
@@ -497,6 +488,19 @@
</executions>
</plugin>
+ </plugins></build>
+ </profile>
+
+ <profile>
+ <id>jboss5x</id>
+
+ <properties>
+ <jboss5x>true</jboss5x>
+ </properties>
+ <build>
+ <plugins>
+
+
<!-- AntRun - Exctract the war to let Cargo plugin deploy it. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -507,7 +511,7 @@
<id>extract_war_for_cargo</id>
<phase>package</phase>
<goals><goal>run</goal></goals>
<configuration><tasks>
- <echo>Exctracting war...</echo>
+ <echo>Extracting 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}"
Show replies by date