blob: c534a1d3ff5087364e7a416b3ffc60ff1ed7062a [file] [log] [blame]
Narayan Kamathc3f6f162012-08-09 11:57:05 +01001<?xml version="1.0" encoding="UTF-8"?>
Narayan Kamathc3f6f162012-08-09 11:57:05 +01002
Narayan Kamathc3f6f162012-08-09 11:57:05 +01003<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 Kamath967c7382013-06-14 15:26:38 +01004 <modelVersion>4.0.0</modelVersion>
Narayan Kamathc3f6f162012-08-09 11:57:05 +01005
Narayan Kamath967c7382013-06-14 15:26:38 +01006 <parent>
Narayan Kamath166772b2013-11-04 16:04:55 +00007 <groupId>org.sonatype.oss</groupId>
8 <artifactId>oss-parent</artifactId>
9 <version>7</version>
Narayan Kamath967c7382013-06-14 15:26:38 +010010 </parent>
Narayan Kamathc3f6f162012-08-09 11:57:05 +010011
Narayan Kamath166772b2013-11-04 16:04:55 +000012 <groupId>com.squareup.okhttp</groupId>
13 <artifactId>parent</artifactId>
Neil Fuller3c938a32014-02-19 09:40:26 +000014 <version>2.0.0-SNAPSHOT</version>
Narayan Kamath166772b2013-11-04 16:04:55 +000015 <packaging>pom</packaging>
Narayan Kamathc3f6f162012-08-09 11:57:05 +010016
Narayan Kamath166772b2013-11-04 16:04:55 +000017 <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 Kamathc3f6f162012-08-09 11:57:05 +010020
Narayan Kamath166772b2013-11-04 16:04:55 +000021 <modules>
22 <module>okhttp</module>
23 <module>okhttp-apache</module>
Neil Fuller3c938a32014-02-19 09:40:26 +000024 <module>okhttp-tests</module>
25 <module>okcurl</module>
26 <module>okio</module>
Narayan Kamath166772b2013-11-04 16:04:55 +000027 <module>mockwebserver</module>
28 <module>samples</module>
Neil Fuller3c938a32014-02-19 09:40:26 +000029 <module>benchmarks</module>
Narayan Kamath166772b2013-11-04 16:04:55 +000030 </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 Fuller3c938a32014-02-19 09:40:26 +000041 <airlift.version>0.6</airlift.version>
42 <guava.version>16.0</guava.version>
Narayan Kamath166772b2013-11-04 16:04:55 +000043
44 <!-- Test Dependencies -->
Neil Fuller3c938a32014-02-19 09:40:26 +000045 <junit.version>4.11</junit.version>
Narayan Kamath166772b2013-11-04 16:04:55 +000046 </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 Fuller3c938a32014-02-19 09:40:26 +000094 <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 Kamath166772b2013-11-04 16:04:55 +0000104 </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 Fuller3c938a32014-02-19 09:40:26 +0000123 <version>2.16</version>
Narayan Kamath166772b2013-11-04 16:04:55 +0000124 <configuration>
125 <argLine>-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/npn/npn-boot/${npn.version}/npn-boot-${npn.version}.jar</argLine>
126 </configuration>
Neil Fuller3c938a32014-02-19 09:40:26 +0000127 <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 Kamath166772b2013-11-04 16:04:55 +0000134 </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 Kamath166772b2013-11-04 16:04:55 +0000141 </plugins>
142 </pluginManagement>
143
144 <plugins>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
Neil Fullerc6bd6832014-03-14 16:02:10 +0000147 <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 Kamath166772b2013-11-04 16:04:55 +0000163 <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 Fuller3c938a32014-02-19 09:40:26 +0000182 <version>1.10</version>
Narayan Kamath166772b2013-11-04 16:04:55 +0000183 <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 Fuller3c938a32014-02-19 09:40:26 +0000194 <artifactId>java16</artifactId>
195 <version>1.1</version>
Narayan Kamath166772b2013-11-04 16:04:55 +0000196 </signature>
197 </configuration>
198 </plugin>
199 </plugins>
200 </build>
Narayan Kamathc3f6f162012-08-09 11:57:05 +0100201</project>
Narayan Kamath166772b2013-11-04 16:04:55 +0000202