Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 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> |
Tobias Thierer | 6c251e2 | 2016-06-24 19:04:17 +0100 | [diff] [blame] | 9 | <version>2.7.5</version> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 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> |
Neil Fuller | e78f117 | 2015-01-20 09:39:41 +0000 | [diff] [blame] | 34 | <artifactId>okhttp-urlconnection</artifactId> |
| 35 | <version>${project.version}</version> |
| 36 | </dependency> |
| 37 | <dependency> |
| 38 | <groupId>com.squareup.okhttp</groupId> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 39 | <artifactId>mockwebserver</artifactId> |
| 40 | <version>${project.version}</version> |
| 41 | </dependency> |
| 42 | <dependency> |
| 43 | <groupId>org.bouncycastle</groupId> |
| 44 | <artifactId>bcprov-jdk15on</artifactId> |
| 45 | </dependency> |
| 46 | <dependency> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 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> |
Neil Fuller | e78f117 | 2015-01-20 09:39:41 +0000 | [diff] [blame] | 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:${bootclasspath}</commandlineArgs> |
| 90 | <argument>-classpath</argument> |
| 91 | <classpath /> |
| 92 | <argument>com.squareup.okhttp.benchmarks.Benchmark</argument> |
| 93 | </arguments> |
| 94 | </configuration> |
| 95 | </plugin> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 96 | </plugins> |
| 97 | </build> |
Neil Fuller | e78f117 | 2015-01-20 09:39:41 +0000 | [diff] [blame] | 98 | <profiles> |
| 99 | <profile> |
| 100 | <id>alpn-when-jdk7</id> |
| 101 | <activation> |
| 102 | <jdk>1.7</jdk> |
| 103 | </activation> |
| 104 | <dependencies> |
| 105 | <dependency> |
| 106 | <groupId>org.mortbay.jetty.alpn</groupId> |
| 107 | <artifactId>alpn-boot</artifactId> |
| 108 | <version>${alpn.jdk7.version}</version> |
| 109 | <scope>provided</scope> |
| 110 | </dependency> |
| 111 | </dependencies> |
| 112 | </profile> |
| 113 | <profile> |
| 114 | <id>alpn-when-jdk8</id> |
| 115 | <activation> |
| 116 | <jdk>1.8</jdk> |
| 117 | </activation> |
| 118 | <dependencies> |
| 119 | <dependency> |
| 120 | <groupId>org.mortbay.jetty.alpn</groupId> |
| 121 | <artifactId>alpn-boot</artifactId> |
| 122 | <version>${alpn.jdk8.version}</version> |
| 123 | <scope>provided</scope> |
| 124 | </dependency> |
| 125 | </dependencies> |
| 126 | <build> |
| 127 | <plugins> |
| 128 | <plugin> |
| 129 | <!-- Fails on caliper's ASM on OpenJDK 8. --> |
| 130 | <groupId>org.codehaus.mojo</groupId> |
| 131 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 132 | <executions> |
| 133 | <execution> |
| 134 | <phase>none</phase> |
| 135 | </execution> |
| 136 | </executions> |
| 137 | </plugin> |
| 138 | </plugins> |
| 139 | </build> |
| 140 | </profile> |
| 141 | </profiles> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 142 | </project> |