commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1188323 - /commons/proper/ognl/trunk/pom.xml
Date Mon, 24 Oct 2011 19:33:13 GMT
Author: simonetripodi
Date: Mon Oct 24 19:33:13 2011
New Revision: 1188323

URL: http://svn.apache.org/viewvc?rev=1188323&view=rev
Log:
benchmarks now integrated in the current pom
there are some failures, so the profile is not active by default (and doesn't break the build)

Modified:
    commons/proper/ognl/trunk/pom.xml

Modified: commons/proper/ognl/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/pom.xml?rev=1188323&r1=1188322&r2=1188323&view=diff
==============================================================================
--- commons/proper/ognl/trunk/pom.xml (original)
+++ commons/proper/ognl/trunk/pom.xml Mon Oct 24 19:33:13 2011
@@ -393,5 +393,91 @@ limitations under the License.
         </plugins>
       </reporting>
     </profile>
+
+    <profile>
+      <id>benchmarks</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <!-- there are failures :/ activation>
+        <property>
+          <name>skipBenchmarks</name>
+          <value>!true</value>
+        </property>
+      </activation -->
+
+      <dependencies>
+        <dependency>
+          <groupId>ognl</groupId>
+          <artifactId>ognl</artifactId>
+          <version>3.0.2</version>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+          <version>1.6.1</version>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>com.h2database</groupId>
+          <artifactId>h2</artifactId>
+          <version>1.3.158</version>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>com.carrotsearch</groupId>
+          <artifactId>junit-benchmarks</artifactId>
+          <version>0.3.0-SNAPSHOT</version>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+
+      <build>
+        <testResources>
+          <testResource>
+            <directory>${basedir}/benchmarks/src/main/resources</directory>
+          </testResource>
+        </testResources>
+
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>build-helper-maven-plugin</artifactId>
+            <version>1.7</version>
+            <executions>
+              <execution>
+                <id>add-test-source</id>
+                <phase>generate-test-sources</phase>
+                <goals>
+                  <goal>add-test-source</goal>
+                </goals>
+                <configuration>
+                  <sources>
+                    <source>${basedir}/benchmarks/src/main/java</source>
+                    <source>${basedir}/benchmarks/src/test/java</source>
+                  </sources>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <systemPropertyVariables>
+                <jub.customkey>TODO</jub.customkey>
+                <jub.consumers>CONSOLE,XML,H2</jub.consumers>
+                <jub.db.file>${project.build.directory}/benchmarks/database</jub.db.file>
+                <jub.xml.file>${project.build.directory}/logs/benchmarks.xml</jub.xml.file>
+                <jub.charts.dir>${project.build.directory}/data/benchmarks/graphs</jub.charts.dir>
+              </systemPropertyVariables>
+              <argLine>-Xmx512m -Xms512m -XX:MaxDirectMemorySize=512m</argLine>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>



Mime
View raw message