benchmarks/matrix-multiplication/pom.xml
author Martin Soch <Martin.Soch@oracle.com>
Wed, 12 Dec 2012 12:37:41 +0100
branchbenchmarks
changeset 308 bf7dc9e8586c
parent 295 0342e4c7f5ea
child 311 84c05018e079
permissions -rw-r--r--
Benchmarks are triggered by bck2brwsr.runBenchmarks.browsers property, it should contain list of browsers to run benchmarks in.
     1 <?xml version="1.0"?>
     2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     4   <modelVersion>4.0.0</modelVersion>
     5 
     6   <groupId>org.apidesign.bck2brwsr</groupId>
     7   <artifactId>matrix.multiplication</artifactId>
     8   <version>0.3-SNAPSHOT</version>
     9   <packaging>jar</packaging>
    10 
    11   <name>Matrix multiplication</name>
    12 
    13   <properties>
    14     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    15   </properties>
    16 
    17   <build>
    18       <resources>
    19         <resource>
    20           <directory>src/main/resources</directory>
    21           <excludes>
    22             <exclude>**/*.js</exclude>
    23           </excludes>
    24         </resource>
    25       </resources>
    26   
    27       <plugins>
    28           <plugin>
    29             <groupId>org.apache.maven.plugins</groupId>
    30             <artifactId>maven-compiler-plugin</artifactId>
    31             <version>2.3.2</version>
    32             <configuration>
    33                <source>1.7</source>
    34                <target>1.7</target>
    35             </configuration>
    36           </plugin>
    37           
    38           <plugin>
    39               <groupId>org.apidesign.bck2brwsr</groupId>
    40               <artifactId>mojo</artifactId>
    41               <version>0.3-SNAPSHOT</version>
    42               <executions>
    43                   <execution>
    44                       <goals>
    45                           <goal>j2js</goal>
    46                       </goals>
    47                   </execution>
    48               </executions>
    49           </plugin>
    50           
    51       </plugins>
    52   </build>
    53   
    54   <profiles>
    55     <profile>
    56       <id>run-benchmarks</id>
    57       <activation>
    58         <property><name>bck2brwsr.runBenchmarks.browsers</name></property>
    59       </activation>
    60 
    61       <build>
    62         <plugins>
    63 
    64           <plugin>
    65             <groupId>com.googlecode.jstd-maven-plugin</groupId>
    66             <artifactId>jstd-maven-plugin</artifactId>
    67             <version>1.3.2.5</version>
    68             <configuration>
    69                 <port>9876</port>
    70                 <browser>${bck2brwsr.runBenchmarks.browsers}</browser>
    71                 <browserTimeout>720</browserTimeout>
    72                 <tests>all</tests>
    73                 <config>jsTestDriver.conf</config>
    74                 <reset>true</reset>
    75                 <testOutput>${basedir}/target/testOutput</testOutput>
    76                 <!-- runnerMode>DEBUG</runnerMode -->
    77             </configuration>
    78             <executions>
    79                 <execution>
    80                     <id>run-tests</id>
    81                     <goals>
    82                         <goal>test</goal>
    83                     </goals>
    84                 </execution>
    85             </executions>
    86           </plugin>
    87 
    88         </plugins>
    89       </build>
    90     </profile>
    91   </profiles>
    92 
    93   <dependencies>
    94     <dependency>
    95       <groupId>org.apidesign.bck2brwsr</groupId>
    96       <artifactId>emul</artifactId>
    97       <version>0.3-SNAPSHOT</version>
    98     </dependency>
    99     <dependency>
   100         <groupId>com.googlecode.jstd-maven-plugin</groupId>
   101         <artifactId>jstd-maven-plugin</artifactId>
   102         <version>1.3.2.5</version>
   103         <scope>test</scope>
   104     </dependency>
   105   </dependencies>
   106   
   107   <repositories>
   108         <repository>
   109             <id>jstd-maven-plugin google code repo</id>
   110             <url>http://jstd-maven-plugin.googlecode.com/svn/maven2</url>
   111         </repository>
   112   </repositories>
   113   <pluginRepositories>
   114         <pluginRepository>
   115             <id>jstd-maven-plugin google code repo</id>
   116             <url>http://jstd-maven-plugin.googlecode.com/svn/maven2</url>
   117         </pluginRepository>
   118   </pluginRepositories>
   119   
   120 </project>