Narayan Kamath | c3f6f16 | 2012-08-09 11:57:05 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Narayan Kamath | c3f6f16 | 2012-08-09 11:57:05 +0100 | [diff] [blame] | 2 | |
Narayan Kamath | c3f6f16 | 2012-08-09 11:57:05 +0100 | [diff] [blame] | 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"> |
Narayan Kamath | 967c738 | 2013-06-14 15:26:38 +0100 | [diff] [blame] | 4 | <modelVersion>4.0.0</modelVersion> |
Narayan Kamath | c3f6f16 | 2012-08-09 11:57:05 +0100 | [diff] [blame] | 5 | |
Narayan Kamath | 967c738 | 2013-06-14 15:26:38 +0100 | [diff] [blame] | 6 | <parent> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 7 | <groupId>org.sonatype.oss</groupId> |
| 8 | <artifactId>oss-parent</artifactId> |
| 9 | <version>7</version> |
Narayan Kamath | 967c738 | 2013-06-14 15:26:38 +0100 | [diff] [blame] | 10 | </parent> |
Narayan Kamath | c3f6f16 | 2012-08-09 11:57:05 +0100 | [diff] [blame] | 11 | |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 12 | <groupId>com.squareup.okhttp</groupId> |
| 13 | <artifactId>parent</artifactId> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 14 | <version>2.0.0-SNAPSHOT</version> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 15 | <packaging>pom</packaging> |
Narayan Kamath | c3f6f16 | 2012-08-09 11:57:05 +0100 | [diff] [blame] | 16 | |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 17 | <name>OkHttp (Parent)</name> |
| 18 | <description>An HTTP+SPDY client for Android and Java applications</description> |
| 19 | <url>https://github.com/square/okhttp</url> |
Narayan Kamath | c3f6f16 | 2012-08-09 11:57:05 +0100 | [diff] [blame] | 20 | |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 21 | <modules> |
| 22 | <module>okhttp</module> |
| 23 | <module>okhttp-apache</module> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 24 | <module>okhttp-tests</module> |
| 25 | <module>okcurl</module> |
| 26 | <module>okio</module> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 27 | <module>mockwebserver</module> |
| 28 | <module>samples</module> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 29 | <module>benchmarks</module> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 30 | </modules> |
| 31 | |
| 32 | <properties> |
| 33 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 34 | |
| 35 | <!-- Compilation --> |
| 36 | <java.version>1.6</java.version> |
| 37 | <npn.version>8.1.2.v20120308</npn.version> |
| 38 | <bouncycastle.version>1.48</bouncycastle.version> |
| 39 | <gson.version>2.2.3</gson.version> |
| 40 | <apache.http.version>4.2.2</apache.http.version> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 41 | <airlift.version>0.6</airlift.version> |
| 42 | <guava.version>16.0</guava.version> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 43 | |
| 44 | <!-- Test Dependencies --> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 45 | <junit.version>4.11</junit.version> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 46 | </properties> |
| 47 | |
| 48 | <scm> |
| 49 | <url>https://github.com/square/okhttp/</url> |
| 50 | <connection>scm:git:https://github.com/square/okhttp.git</connection> |
| 51 | <developerConnection>scm:git:git@github.com:square/okhttp.git</developerConnection> |
| 52 | <tag>HEAD</tag> |
| 53 | </scm> |
| 54 | |
| 55 | <issueManagement> |
| 56 | <system>GitHub Issues</system> |
| 57 | <url>https://github.com/square/okhttp/issues</url> |
| 58 | </issueManagement> |
| 59 | |
| 60 | <licenses> |
| 61 | <license> |
| 62 | <name>Apache 2.0</name> |
| 63 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 64 | </license> |
| 65 | </licenses> |
| 66 | |
| 67 | <dependencyManagement> |
| 68 | <dependencies> |
| 69 | <dependency> |
| 70 | <groupId>org.mortbay.jetty.npn</groupId> |
| 71 | <artifactId>npn-boot</artifactId> |
| 72 | <version>${npn.version}</version> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>junit</groupId> |
| 76 | <artifactId>junit</artifactId> |
| 77 | <version>${junit.version}</version> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.bouncycastle</groupId> |
| 81 | <artifactId>bcprov-jdk15on</artifactId> |
| 82 | <version>${bouncycastle.version}</version> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>com.google.code.gson</groupId> |
| 86 | <artifactId>gson</artifactId> |
| 87 | <version>${gson.version}</version> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.apache.httpcomponents</groupId> |
| 91 | <artifactId>httpclient</artifactId> |
| 92 | <version>${apache.http.version}</version> |
| 93 | </dependency> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 94 | <dependency> |
| 95 | <groupId>io.airlift</groupId> |
| 96 | <artifactId>airline</artifactId> |
| 97 | <version>${airlift.version}</version> |
| 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>com.google.guava</groupId> |
| 101 | <artifactId>guava</artifactId> |
| 102 | <version>${guava.version}</version> |
| 103 | </dependency> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 104 | </dependencies> |
| 105 | </dependencyManagement> |
| 106 | |
| 107 | <build> |
| 108 | <pluginManagement> |
| 109 | <plugins> |
| 110 | <plugin> |
| 111 | <groupId>org.apache.maven.plugins</groupId> |
| 112 | <artifactId>maven-compiler-plugin</artifactId> |
| 113 | <version>3.0</version> |
| 114 | <configuration> |
| 115 | <source>${java.version}</source> |
| 116 | <target>${java.version}</target> |
| 117 | </configuration> |
| 118 | </plugin> |
| 119 | |
| 120 | <plugin> |
| 121 | <groupId>org.apache.maven.plugins</groupId> |
| 122 | <artifactId>maven-surefire-plugin</artifactId> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 123 | <version>2.16</version> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 124 | <configuration> |
| 125 | <argLine>-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/npn/npn-boot/${npn.version}/npn-boot-${npn.version}.jar</argLine> |
| 126 | </configuration> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 127 | <dependencies> |
| 128 | <dependency> |
| 129 | <groupId>org.apache.maven.surefire</groupId> |
| 130 | <artifactId>surefire-junit47</artifactId> |
| 131 | <version>2.16</version> |
| 132 | </dependency> |
| 133 | </dependencies> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 134 | </plugin> |
| 135 | |
| 136 | <plugin> |
| 137 | <groupId>org.apache.maven.plugins</groupId> |
| 138 | <artifactId>maven-javadoc-plugin</artifactId> |
| 139 | <version>2.9</version> |
| 140 | </plugin> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 141 | </plugins> |
| 142 | </pluginManagement> |
| 143 | |
| 144 | <plugins> |
| 145 | <plugin> |
| 146 | <groupId>org.apache.maven.plugins</groupId> |
Neil Fuller | c6bd683 | 2014-03-14 16:02:10 +0000 | [diff] [blame] | 147 | <artifactId>maven-release-plugin</artifactId> |
| 148 | <version>2.4.2</version> |
| 149 | <dependencies> |
| 150 | <dependency> |
| 151 | <groupId>org.apache.maven.scm</groupId> |
| 152 | <artifactId>maven-scm-provider-gitexe</artifactId> |
| 153 | <version>1.9</version> |
| 154 | </dependency> |
| 155 | </dependencies> |
| 156 | <configuration> |
| 157 | <autoVersionSubmodules>true</autoVersionSubmodules> |
| 158 | </configuration> |
| 159 | </plugin> |
| 160 | |
| 161 | <plugin> |
| 162 | <groupId>org.apache.maven.plugins</groupId> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 163 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 164 | <version>2.10</version> |
| 165 | <configuration> |
| 166 | <failsOnError>true</failsOnError> |
| 167 | <configLocation>checkstyle.xml</configLocation> |
| 168 | <consoleOutput>true</consoleOutput> |
| 169 | </configuration> |
| 170 | <executions> |
| 171 | <execution> |
| 172 | <phase>verify</phase> |
| 173 | <goals> |
| 174 | <goal>checkstyle</goal> |
| 175 | </goals> |
| 176 | </execution> |
| 177 | </executions> |
| 178 | </plugin> |
| 179 | <plugin> |
| 180 | <groupId>org.codehaus.mojo</groupId> |
| 181 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 182 | <version>1.10</version> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 183 | <executions> |
| 184 | <execution> |
| 185 | <phase>test</phase> |
| 186 | <goals> |
| 187 | <goal>check</goal> |
| 188 | </goals> |
| 189 | </execution> |
| 190 | </executions> |
| 191 | <configuration> |
| 192 | <signature> |
| 193 | <groupId>org.codehaus.mojo.signature</groupId> |
Neil Fuller | 3c938a3 | 2014-02-19 09:40:26 +0000 | [diff] [blame] | 194 | <artifactId>java16</artifactId> |
| 195 | <version>1.1</version> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 196 | </signature> |
| 197 | </configuration> |
| 198 | </plugin> |
| 199 | </plugins> |
| 200 | </build> |
Narayan Kamath | c3f6f16 | 2012-08-09 11:57:05 +0100 | [diff] [blame] | 201 | </project> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame] | 202 | |