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> |
| 14 | <version>1.2.2-SNAPSHOT</version> |
| 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> |
| 24 | <module>okhttp-protocols</module> |
| 25 | <module>mockwebserver</module> |
| 26 | <module>samples</module> |
| 27 | </modules> |
| 28 | |
| 29 | <properties> |
| 30 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 31 | |
| 32 | <!-- Compilation --> |
| 33 | <java.version>1.6</java.version> |
| 34 | <npn.version>8.1.2.v20120308</npn.version> |
| 35 | <bouncycastle.version>1.48</bouncycastle.version> |
| 36 | <gson.version>2.2.3</gson.version> |
| 37 | <apache.http.version>4.2.2</apache.http.version> |
| 38 | |
| 39 | <!-- Test Dependencies --> |
| 40 | <junit.version>4.10</junit.version> |
| 41 | </properties> |
| 42 | |
| 43 | <scm> |
| 44 | <url>https://github.com/square/okhttp/</url> |
| 45 | <connection>scm:git:https://github.com/square/okhttp.git</connection> |
| 46 | <developerConnection>scm:git:git@github.com:square/okhttp.git</developerConnection> |
| 47 | <tag>HEAD</tag> |
| 48 | </scm> |
| 49 | |
| 50 | <issueManagement> |
| 51 | <system>GitHub Issues</system> |
| 52 | <url>https://github.com/square/okhttp/issues</url> |
| 53 | </issueManagement> |
| 54 | |
| 55 | <licenses> |
| 56 | <license> |
| 57 | <name>Apache 2.0</name> |
| 58 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 59 | </license> |
| 60 | </licenses> |
| 61 | |
| 62 | <dependencyManagement> |
| 63 | <dependencies> |
| 64 | <dependency> |
| 65 | <groupId>org.mortbay.jetty.npn</groupId> |
| 66 | <artifactId>npn-boot</artifactId> |
| 67 | <version>${npn.version}</version> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>junit</groupId> |
| 71 | <artifactId>junit</artifactId> |
| 72 | <version>${junit.version}</version> |
| 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>org.bouncycastle</groupId> |
| 76 | <artifactId>bcprov-jdk15on</artifactId> |
| 77 | <version>${bouncycastle.version}</version> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>com.google.code.gson</groupId> |
| 81 | <artifactId>gson</artifactId> |
| 82 | <version>${gson.version}</version> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>org.apache.httpcomponents</groupId> |
| 86 | <artifactId>httpclient</artifactId> |
| 87 | <version>${apache.http.version}</version> |
| 88 | </dependency> |
| 89 | </dependencies> |
| 90 | </dependencyManagement> |
| 91 | |
| 92 | <build> |
| 93 | <pluginManagement> |
| 94 | <plugins> |
| 95 | <plugin> |
| 96 | <groupId>org.apache.maven.plugins</groupId> |
| 97 | <artifactId>maven-compiler-plugin</artifactId> |
| 98 | <version>3.0</version> |
| 99 | <configuration> |
| 100 | <source>${java.version}</source> |
| 101 | <target>${java.version}</target> |
| 102 | </configuration> |
| 103 | </plugin> |
| 104 | |
| 105 | <plugin> |
| 106 | <groupId>org.apache.maven.plugins</groupId> |
| 107 | <artifactId>maven-surefire-plugin</artifactId> |
| 108 | <version>2.9</version> |
| 109 | <configuration> |
| 110 | <argLine>-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/npn/npn-boot/${npn.version}/npn-boot-${npn.version}.jar</argLine> |
| 111 | </configuration> |
| 112 | </plugin> |
| 113 | |
| 114 | <plugin> |
| 115 | <groupId>org.apache.maven.plugins</groupId> |
| 116 | <artifactId>maven-javadoc-plugin</artifactId> |
| 117 | <version>2.9</version> |
| 118 | </plugin> |
| 119 | |
| 120 | <plugin> |
| 121 | <groupId>org.apache.maven.plugins</groupId> |
| 122 | <artifactId>maven-release-plugin</artifactId> |
| 123 | <version>2.3.2</version> |
| 124 | <configuration> |
| 125 | <autoVersionSubmodules>true</autoVersionSubmodules> |
| 126 | </configuration> |
| 127 | </plugin> |
| 128 | </plugins> |
| 129 | </pluginManagement> |
| 130 | |
| 131 | <plugins> |
| 132 | <plugin> |
| 133 | <groupId>org.apache.maven.plugins</groupId> |
| 134 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 135 | <version>2.10</version> |
| 136 | <configuration> |
| 137 | <failsOnError>true</failsOnError> |
| 138 | <configLocation>checkstyle.xml</configLocation> |
| 139 | <consoleOutput>true</consoleOutput> |
| 140 | </configuration> |
| 141 | <executions> |
| 142 | <execution> |
| 143 | <phase>verify</phase> |
| 144 | <goals> |
| 145 | <goal>checkstyle</goal> |
| 146 | </goals> |
| 147 | </execution> |
| 148 | </executions> |
| 149 | </plugin> |
| 150 | <plugin> |
| 151 | <groupId>org.codehaus.mojo</groupId> |
| 152 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 153 | <version>1.9</version> |
| 154 | <executions> |
| 155 | <execution> |
| 156 | <phase>test</phase> |
| 157 | <goals> |
| 158 | <goal>check</goal> |
| 159 | </goals> |
| 160 | </execution> |
| 161 | </executions> |
| 162 | <configuration> |
| 163 | <signature> |
| 164 | <groupId>org.codehaus.mojo.signature</groupId> |
| 165 | <artifactId>java15</artifactId> |
| 166 | <version>1.0</version> |
| 167 | </signature> |
| 168 | </configuration> |
| 169 | </plugin> |
| 170 | </plugins> |
| 171 | </build> |
Narayan Kamath | c3f6f16 | 2012-08-09 11:57:05 +0100 | [diff] [blame] | 172 | </project> |
Narayan Kamath | 166772b | 2013-11-04 16:04:55 +0000 | [diff] [blame^] | 173 | |