pom.xml 3.4 KB
Newer Older
J
Jake Wharton 已提交
1 2
<?xml version="1.0" encoding="UTF-8"?>

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">
J
Jake Wharton 已提交
4
  <modelVersion>4.0.0</modelVersion>
J
Jake Wharton 已提交
5

J
Jake Wharton 已提交
6
  <parent>
J
Jake Wharton 已提交
7
    <groupId>com.squareup.retrofit2</groupId>
8
    <artifactId>parent</artifactId>
J
Jake Wharton 已提交
9
    <version>2.7.2-SNAPSHOT</version>
J
Jake Wharton 已提交
10 11
    <relativePath>../pom.xml</relativePath>
  </parent>
J
Jake Wharton 已提交
12

13 14
  <artifactId>retrofit</artifactId>
  <name>Retrofit</name>
J
Jake Wharton 已提交
15

J
Jake Wharton 已提交
16 17
  <dependencies>
    <dependency>
J
Jake Wharton 已提交
18
      <groupId>com.squareup.okhttp3</groupId>
19
      <artifactId>okhttp</artifactId>
J
Jake Wharton 已提交
20
    </dependency>
21

J
Jake Wharton 已提交
22 23 24
    <dependency>
      <groupId>com.google.android</groupId>
      <artifactId>android</artifactId>
J
Jake Wharton 已提交
25
      <optional>true</optional>
J
Jake Wharton 已提交
26
    </dependency>
27 28 29 30 31
    <dependency>
      <groupId>org.jetbrains.kotlin</groupId>
      <artifactId>kotlin-stdlib</artifactId>
      <optional>true</optional>
    </dependency>
32 33 34 35 36
    <dependency>
      <groupId>org.jetbrains.kotlinx</groupId>
      <artifactId>kotlinx-coroutines-core</artifactId>
      <optional>true</optional>
    </dependency>
J
Jake Wharton 已提交
37

38 39 40 41 42
    <dependency>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>animal-sniffer-annotations</artifactId>
      <optional>true</optional>
    </dependency>
43 44 45 46 47
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>jsr305</artifactId>
      <scope>provided</scope>
    </dependency>
48

J
Jake Wharton 已提交
49 50 51 52 53 54
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
A
Adrian Cole 已提交
55 56
      <groupId>org.assertj</groupId>
      <artifactId>assertj-core</artifactId>
J
Jake Wharton 已提交
57 58
      <scope>test</scope>
    </dependency>
59 60 61 62 63
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <scope>test</scope>
    </dependency>
64
    <dependency>
J
Jake Wharton 已提交
65
      <groupId>com.squareup.okhttp3</groupId>
66 67 68
      <artifactId>mockwebserver</artifactId>
      <scope>test</scope>
    </dependency>
69 70 71 72 73
    <dependency>
      <groupId>org.robolectric</groupId>
      <artifactId>robolectric</artifactId>
      <scope>test</scope>
    </dependency>
J
Jake Wharton 已提交
74
  </dependencies>
75 76 77

  <build>
    <plugins>
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
      <plugin>
        <groupId>org.jetbrains.kotlin</groupId>
        <artifactId>kotlin-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>compile</id>
            <phase>process-sources</phase>
            <goals>
              <goal>compile</goal>
            </goals>
          </execution>
          <execution>
            <id>test-compile</id>
            <phase>test-compile</phase>
            <goals>
              <goal>test-compile</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
98 99 100 101 102 103 104 105 106 107 108
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifestEntries>
              <Automatic-Module-Name>retrofit2</Automatic-Module-Name>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
109 110 111 112 113 114 115 116
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.10.4</version>
        <configuration>
          <excludePackageNames>retrofit2.internal</excludePackageNames>
        </configuration>
      </plugin>
117 118
    </plugins>
  </build>
J
Jake Wharton 已提交
119
</project>