Author: julien_viet
Date: 2011-09-21 13:34:23 -0400 (Wed, 21 Sep 2011)
New Revision: 7477
Modified:
portal/trunk/component/web/controller/pom.xml
Log:
for now put the japex on the japex profile until a fixed version of the japex plugin works
with maven 3
Modified: portal/trunk/component/web/controller/pom.xml
===================================================================
--- portal/trunk/component/web/controller/pom.xml 2011-09-21 16:57:54 UTC (rev 7476)
+++ portal/trunk/component/web/controller/pom.xml 2011-09-21 17:34:23 UTC (rev 7477)
@@ -93,66 +93,66 @@
</exclusions>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>com.sun.japex</groupId>
- <artifactId>japex-maven-plugin</artifactId>
- <version>1.2.3</version>
- <executions>
- <execution>
- <id>japex</id>
- <goals>
- <goal>japex</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <japexConfig>
- <testSuite name="ParsingPerformance"
xmlns="http://www.sun.com/japex/testSuite">
- <param name="japex.namedClassPath"
value="maven.test.classpath"/>
- <param name="japex.resultUnit" value="ms"/>
- <param name="japex.warmupIterations"
value="10000"/>
- <param name="japex.runIterations"
value="${japex.runIterations}"/>
- <param name="japex.numberOfThreads"
value="${japex.numberOfThreads}"/>
- <driver name="JavaUtilRegex">
- <param name="japex.driverClass"
value="org.exoplatform.web.controller.performance.ControllerRendererDriver"/>
- <param name="description" value="Controller performance
with the java.util.regex package"/>
- <param name="regex" value="java"/>
- </driver>
- <driver name="JRegex">
- <param name="japex.driverClass"
value="org.exoplatform.web.controller.performance.ControllerRendererDriver"/>
- <param name="description" value="Controller performance
with the jregex package"/>
- <param name="regex" value="jregex"/>
- </driver>
- <testCase name="classic">
- <param name="parameters" value="{ 'gtn:handler'
: 'portal', 'gtn:sitetype' : 'portal' , 'gtn:sitename' :
'classic', 'gtn:path' : 'page' }"/>
- </testCase>
- <testCase name="fr/classic">
- <param name="parameters" value="{ 'gtn:handler'
: 'portal', 'gtn:lang' : 'fr', 'gtn:sitetype' :
'portal' , 'gtn:sitename' : 'classic', 'gtn:path' :
'page' }"/>
- </testCase>
- <testCase name="group">
- <param name="parameters" value="{ 'gtn:handler'
: 'portal', 'gtn:sitetype' : 'group' , 'gtn:sitename' :
'/platform/administrator', 'gtn:path' : 'page' }"/>
- </testCase>
- <testCase name="user">
- <param name="parameters" value="{ 'gtn:handler'
: 'portal', 'gtn:sitetype' : 'user' , 'gtn:sitename' :
'root', 'gtn:path' : 'page' }"/>
- </testCase>
- </testSuite>
- </japexConfig>
- </configuration>
- </plugin>
- </plugins>
- </build>
<profiles>
-
<profile>
<id>japex</id>
<properties>
<japex.runIterations>1000000</japex.runIterations>
<japex.numberOfThreads>4</japex.numberOfThreads>
</properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.sun.japex</groupId>
+ <artifactId>japex-maven-plugin</artifactId>
+ <version>1.2.3</version>
+ <executions>
+ <execution>
+ <id>japex</id>
+ <goals>
+ <goal>japex</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <japexConfig>
+ <testSuite name="ParsingPerformance"
xmlns="http://www.sun.com/japex/testSuite">
+ <param name="japex.namedClassPath"
value="maven.test.classpath"/>
+ <param name="japex.resultUnit" value="ms"/>
+ <param name="japex.warmupIterations"
value="10000"/>
+ <param name="japex.runIterations"
value="${japex.runIterations}"/>
+ <param name="japex.numberOfThreads"
value="${japex.numberOfThreads}"/>
+ <driver name="JavaUtilRegex">
+ <param name="japex.driverClass"
value="org.exoplatform.web.controller.performance.ControllerRendererDriver"/>
+ <param name="description" value="Controller
performance with the java.util.regex package"/>
+ <param name="regex" value="java"/>
+ </driver>
+ <driver name="JRegex">
+ <param name="japex.driverClass"
value="org.exoplatform.web.controller.performance.ControllerRendererDriver"/>
+ <param name="description" value="Controller
performance with the jregex package"/>
+ <param name="regex" value="jregex"/>
+ </driver>
+ <testCase name="classic">
+ <param name="parameters" value="{
'gtn:handler' : 'portal', 'gtn:sitetype' : 'portal' ,
'gtn:sitename' : 'classic', 'gtn:path' : 'page'
}"/>
+ </testCase>
+ <testCase name="fr/classic">
+ <param name="parameters" value="{
'gtn:handler' : 'portal', 'gtn:lang' : 'fr',
'gtn:sitetype' : 'portal' , 'gtn:sitename' : 'classic',
'gtn:path' : 'page' }"/>
+ </testCase>
+ <testCase name="group">
+ <param name="parameters" value="{
'gtn:handler' : 'portal', 'gtn:sitetype' : 'group' ,
'gtn:sitename' : '/platform/administrator', 'gtn:path' :
'page' }"/>
+ </testCase>
+ <testCase name="user">
+ <param name="parameters" value="{
'gtn:handler' : 'portal', 'gtn:sitetype' : 'user' ,
'gtn:sitename' : 'root', 'gtn:path' : 'page' }"/>
+ </testCase>
+ </testSuite>
+ </japexConfig>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</profile>
+
<profile>
<!-- A never ending test used to profile the rendering execution -->
<id>standalone</id>