Home | History | Annotate | Download | only in benchmarks
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 
      3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      4   <modelVersion>4.0.0</modelVersion>
      5 
      6   <parent>
      7     <groupId>com.squareup.okhttp</groupId>
      8     <artifactId>parent</artifactId>
      9     <version>2.0.0-SNAPSHOT</version>
     10   </parent>
     11 
     12   <artifactId>benchmarks</artifactId>
     13   <name>Benchmarks</name>
     14 
     15   <dependencies>
     16     <dependency>
     17       <groupId>com.google.caliper</groupId>
     18       <artifactId>caliper</artifactId>
     19       <version>1.0-beta-1</version>
     20     </dependency>
     21     <!-- caliper needs to be updated to be compatible with guava 16 -->
     22     <dependency>
     23       <groupId>com.google.guava</groupId>
     24       <artifactId>guava</artifactId>
     25       <version>14.0.1</version>
     26     </dependency>
     27     <dependency>
     28       <groupId>com.squareup.okhttp</groupId>
     29       <artifactId>okhttp</artifactId>
     30       <version>${project.version}</version>
     31     </dependency>
     32     <dependency>
     33       <groupId>com.squareup.okhttp</groupId>
     34       <artifactId>mockwebserver</artifactId>
     35       <version>${project.version}</version>
     36     </dependency>
     37     <dependency>
     38       <groupId>org.bouncycastle</groupId>
     39       <artifactId>bcprov-jdk15on</artifactId>
     40     </dependency>
     41     <dependency>
     42       <groupId>org.mortbay.jetty.npn</groupId>
     43       <artifactId>npn-boot</artifactId>
     44       <scope>provided</scope>
     45     </dependency>
     46     <dependency>
     47       <groupId>org.apache.httpcomponents</groupId>
     48       <artifactId>httpclient</artifactId>
     49     </dependency>
     50     <dependency>
     51       <groupId>io.netty</groupId>
     52       <artifactId>netty-transport</artifactId>
     53       <version>4.0.15.Final</version>
     54     </dependency>
     55     <dependency>
     56       <groupId>io.netty</groupId>
     57       <artifactId>netty-handler</artifactId>
     58       <version>4.0.15.Final</version>
     59     </dependency>
     60     <dependency>
     61       <groupId>io.netty</groupId>
     62       <artifactId>netty-codec-http</artifactId>
     63       <version>4.0.15.Final</version>
     64     </dependency>
     65     <!-- Netty needs this if gzip is enabled. -->
     66     <dependency>
     67       <groupId>com.jcraft</groupId>
     68       <artifactId>jzlib</artifactId>
     69       <version>1.1.2</version>
     70     </dependency>
     71   </dependencies>
     72   <build>
     73     <plugins>
     74     <plugin>
     75       <groupId>org.codehaus.mojo</groupId>
     76       <artifactId>exec-maven-plugin</artifactId>
     77       <executions>
     78         <execution>
     79           <goals>
     80             <goal>java</goal>
     81           </goals>
     82         </execution>
     83       </executions>
     84       <configuration>
     85         <executable>java</executable>
     86         <arguments>
     87           <argument>-Xms512m</argument>
     88           <argument>-Xmx512m</argument>
     89           <commandlineArgs>-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/npn/npn-boot/${npn.version}/npn-boot-${npn.version}.jar</commandlineArgs>
     90           <argument>-classpath</argument>
     91           <classpath/>
     92           <argument>com.squareup.okhttp.benchmarks.Benchmark</argument>
     93         </arguments>
     94       </configuration>
     95     </plugin>
     96     </plugins>
     97   </build>
     98 </project>
     99