| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2012 Square, Inc. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.sonatype.oss</groupId> |
| <artifactId>oss-parent</artifactId> |
| <version>7</version> |
| </parent> |
| |
| <groupId>com.squareup.retrofit2</groupId> |
| <artifactId>parent</artifactId> |
| <version>2.1.0</version> |
| <packaging>pom</packaging> |
| |
| <name>Retrofit (Parent)</name> |
| <description>Type-safe HTTP client for Android and Java by Square, Inc.</description> |
| <url>http://github.com/square/retrofit/</url> |
| |
| <modules> |
| <module>retrofit</module> |
| <module>retrofit-adapters</module> |
| <module>retrofit-converters</module> |
| <module>retrofit-mock</module> |
| <module>samples</module> |
| </modules> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.sourceEncoding>UTF-8</project.reporting.sourceEncoding> |
| |
| <!-- Compilation --> |
| <java.version>1.7</java.version> |
| |
| <!-- Dependencies --> |
| <android.version>4.1.1.4</android.version> |
| <okhttp.version>3.3.0</okhttp.version> |
| <animal.sniffer.version>1.14</animal.sniffer.version> |
| |
| <!-- Adapter Dependencies --> |
| <rxjava.version>1.1.5</rxjava.version> |
| |
| <!-- Converter Dependencies --> |
| <gson.version>2.7</gson.version> |
| <protobuf.version>2.6.1</protobuf.version> |
| <jackson.version>2.7.2</jackson.version> |
| <wire.version>2.2.0</wire.version> |
| <simplexml.version>2.7.1</simplexml.version> |
| <moshi.version>1.2.0</moshi.version> |
| |
| <!-- Sample Dependencies --> |
| <jsoup.version>1.7.3</jsoup.version> |
| |
| <!-- Test Dependencies --> |
| <junit.version>4.12</junit.version> |
| <assertj.version>1.7.0</assertj.version> |
| <mockito.version>1.9.5</mockito.version> |
| <guava.version>19.0</guava.version> |
| <robolectric.version>3.0</robolectric.version> |
| </properties> |
| |
| <scm> |
| <url>http://github.com/square/retrofit</url> |
| <connection>scm:git:git://github.com/square/retrofit.git</connection> |
| <developerConnection>scm:git:ssh://git@github.com/square/retrofit.git</developerConnection> |
| <tag>parent-2.1.0</tag> |
| </scm> |
| |
| <issueManagement> |
| <system>GitHub Issues</system> |
| <url>http://github.com/square/retrofit/issues</url> |
| </issueManagement> |
| |
| <licenses> |
| <license> |
| <name>Apache 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| </licenses> |
| |
| <organization> |
| <name>Square, Inc.</name> |
| <url>http://squareup.com</url> |
| </organization> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>com.google.android</groupId> |
| <artifactId>android</artifactId> |
| <version>${android.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>animal-sniffer-annotations</artifactId> |
| <version>${animal.sniffer.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.okhttp3</groupId> |
| <artifactId>okhttp</artifactId> |
| <version>${okhttp.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.reactivex</groupId> |
| <artifactId>rxjava</artifactId> |
| <version>${rxjava.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| <version>${protobuf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.wire</groupId> |
| <artifactId>wire-runtime</artifactId> |
| <version>${wire.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.simpleframework</groupId> |
| <artifactId>simple-xml</artifactId> |
| <version>${simplexml.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.moshi</groupId> |
| <artifactId>moshi</artifactId> |
| <version>${moshi.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.okhttp3</groupId> |
| <artifactId>mockwebserver</artifactId> |
| <version>${okhttp.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.robolectric</groupId> |
| <artifactId>robolectric</artifactId> |
| <version>${robolectric.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.0</version> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.15</version> |
| <configuration> |
| <failsOnError>true</failsOnError> |
| <configLocation>checkstyle.xml</configLocation> |
| <consoleOutput>true</consoleOutput> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>checkstyle</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.10.3</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>animal-sniffer-maven-plugin</artifactId> |
| <version>${animal.sniffer.version}</version> |
| <executions> |
| <execution> |
| <phase>test</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <signature> |
| <groupId>org.codehaus.mojo.signature</groupId> |
| <artifactId>java16</artifactId> |
| <version>1.1</version> |
| </signature> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |