Author: ozizka(a)redhat.com
Date: 2009-03-31 13:32:04 -0400 (Tue, 31 Mar 2009)
New Revision: 264
Modified:
trunk/jsfunit/pom.xml
Log:
POM: Added Maven's cargo.jboss.configuration property that's passed to Cargo
plugin cargo.jboss.configuration property. Default is "default". Usage:
mvn clean install -Pjboss5.x -Dcargo.jboss.configuration=all
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-03-30 23:43:03 UTC (rev 263)
+++ trunk/jsfunit/pom.xml 2009-03-31 17:32:04 UTC (rev 264)
@@ -5,7 +5,8 @@
<modelVersion>4.0.0</modelVersion>
<properties>
- <jopr.version>1.2.0-SNAPSHOT</jopr.version>
+ <jopr.version>1.2.0-SNAPSHOT</jopr.version>
+ <cargo.jboss.configuration>default</cargo.jboss.configuration>
</properties>
<parent>
@@ -179,6 +180,8 @@
<home>target/jboss4.2</home>
<properties>
<cargo.java.home>${JAVA_HOME}</cargo.java.home>
+ <!-- JBoss configuration - default, all, minimal, ... -->
+
<cargo.jboss.configuration>${cargo.jboss.configuration}</cargo.jboss.configuration>
</properties>
<!-- Override Cargo's default files (some taken from
cargo's .jar, some from 'default') -->
<configfiles>
@@ -294,9 +297,10 @@
<properties>
<cargo.java.home>${JAVA_HOME}</cargo.java.home>
<!-- Raise permgen size, allow classes unloading and permgen
sweep -->
- <cargo.jvmargs>-XX:PermSize=128m
-XX:MaxPermSize=128</cargo.jvmargs>
+ <cargo.jvmargs>-Dcom.sun.management.jmxremote
-XX:PermSize=128m -XX:MaxPermSize=256</cargo.jvmargs>
<!-- -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled -->
- <!--
<com.sun.management.jmxremote></com.sun.management.jmxremote> -->
+ <!-- JBoss configuration - default, all, minimal, ... -->
+
<cargo.jboss.configuration>${cargo.jboss.configuration}</cargo.jboss.configuration>
</properties>
<!-- Override Cargo's default files (some taken from
cargo's .jar, some from 'default') -->
<configfiles>