Advertisement
Guest User

Untitled

a guest
Mar 7th, 2018
657
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 12.07 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2012 Square, Inc.
  4.  
  5.  Licensed under the Apache License, Version 2.0 (the "License");
  6.  you may not use this file except in compliance with the License.
  7.  You may obtain a copy of the License at
  8.  
  9.       http://www.apache.org/licenses/LICENSE-2.0
  10.  
  11.  Unless required by applicable law or agreed to in writing, software
  12.  distributed under the License is distributed on an "AS IS" BASIS,
  13.  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.  See the License for the specific language governing permissions and
  15.  limitations under the License.
  16. -->
  17. <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">
  18.   <modelVersion>4.0.0</modelVersion>
  19.  
  20.   <parent>
  21.     <groupId>org.sonatype.oss</groupId>
  22.     <artifactId>oss-parent</artifactId>
  23.     <version>7</version>
  24.   </parent>
  25.  
  26.   <groupId>com.squareup.retrofit2</groupId>
  27.   <artifactId>parent</artifactId>
  28.   <version>2.4.0-SNAPSHOT</version>
  29.   <packaging>pom</packaging>
  30.  
  31.   <name>Retrofit (Parent)</name>
  32.   <description>Type-safe HTTP client for Android and Java by Square, Inc.</description>
  33.   <url>https://github.com/square/retrofit/</url>
  34.  
  35.   <modules>
  36.     <module>retrofit</module>
  37.     <module>retrofit-adapters</module>
  38.     <module>retrofit-converters</module>
  39.     <module>retrofit-mock</module>
  40.     <module>samples</module>
  41.   </modules>
  42.  
  43.   <properties>
  44.     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  45.     <project.reporting.sourceEncoding>UTF-8</project.reporting.sourceEncoding>
  46.  
  47.     <!-- Compilation -->
  48.     <java.version>1.7</java.version>
  49.  
  50.     <!-- Dependencies -->
  51.     <android.version>4.1.1.4</android.version>
  52.     <okhttp.version>3.10.0</okhttp.version>
  53.     <animal.sniffer.version>1.14</animal.sniffer.version>
  54.  
  55.     <!-- Adapter Dependencies -->
  56.     <rxjava.version>1.3.0</rxjava.version>
  57.     <rxjava2.version>2.0.0</rxjava2.version>
  58.     <guava.version>19.0</guava.version>
  59.     <scala.version>2.12.4</scala.version>
  60.  
  61.     <!-- Converter Dependencies -->
  62.     <gson.version>2.8.2</gson.version>
  63.     <protobuf.version>3.0.0</protobuf.version>
  64.     <jackson.version>2.9.4</jackson.version>
  65.     <wire.version>2.2.0</wire.version>
  66.     <simplexml.version>2.7.1</simplexml.version>
  67.     <moshi.version>1.5.0</moshi.version>
  68.     <jaxb.version>2.2.12</jaxb.version><!-- 2.3.0 breaks due to https://github.com/mojohaus/animal-sniffer/issues/29 -->
  69.  
  70.     <!-- Sample Dependencies -->
  71.     <jsoup.version>1.7.3</jsoup.version>
  72.  
  73.     <!-- Test Dependencies -->
  74.     <junit.version>4.12</junit.version>
  75.     <assertj.version>1.7.0</assertj.version>
  76.     <mockito.version>1.9.5</mockito.version>
  77.     <robolectric.version>3.0</robolectric.version>
  78.   </properties>
  79.  
  80.   <scm>
  81.     <url>https://github.com/square/retrofit</url>
  82.     <connection>scm:git:git://github.com/square/retrofit.git</connection>
  83.     <developerConnection>scm:git:ssh://git@github.com/square/retrofit.git</developerConnection>
  84.     <tag>HEAD</tag>
  85.   </scm>
  86.  
  87.   <issueManagement>
  88.     <system>GitHub Issues</system>
  89.     <url>https://github.com/square/retrofit/issues</url>
  90.   </issueManagement>
  91.  
  92.   <licenses>
  93.     <license>
  94.       <name>Apache 2.0</name>
  95.       <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
  96.     </license>
  97.   </licenses>
  98.  
  99.   <organization>
  100.     <name>Square, Inc.</name>
  101.     <url>https://squareup.com</url>
  102.   </organization>
  103.  
  104.   <dependencyManagement>
  105.     <dependencies>
  106.       <dependency>
  107.         <groupId>com.google.android</groupId>
  108.         <artifactId>android</artifactId>
  109.         <version>${android.version}</version>
  110.       </dependency>
  111.       <dependency>
  112.         <groupId>org.codehaus.mojo</groupId>
  113.         <artifactId>animal-sniffer-annotations</artifactId>
  114.         <version>${animal.sniffer.version}</version>
  115.       </dependency>
  116.       <dependency>
  117.         <groupId>com.squareup.okhttp3</groupId>
  118.         <artifactId>okhttp</artifactId>
  119.         <version>${okhttp.version}</version>
  120.       </dependency>
  121.       <dependency>
  122.         <groupId>com.google.code.gson</groupId>
  123.         <artifactId>gson</artifactId>
  124.         <version>${gson.version}</version>
  125.       </dependency>
  126.       <dependency>
  127.         <groupId>io.reactivex</groupId>
  128.         <artifactId>rxjava</artifactId>
  129.         <version>${rxjava.version}</version>
  130.       </dependency>
  131.       <dependency>
  132.         <groupId>io.reactivex.rxjava2</groupId>
  133.         <artifactId>rxjava</artifactId>
  134.         <version>${rxjava2.version}</version>
  135.       </dependency>
  136.       <dependency>
  137.         <groupId>com.google.protobuf</groupId>
  138.         <artifactId>protobuf-java</artifactId>
  139.         <version>${protobuf.version}</version>
  140.       </dependency>
  141.       <dependency>
  142.         <groupId>com.fasterxml.jackson.core</groupId>
  143.         <artifactId>jackson-databind</artifactId>
  144.         <version>${jackson.version}</version>
  145.      </dependency>
  146.       <dependency>
  147.         <groupId>com.squareup.wire</groupId>
  148.         <artifactId>wire-runtime</artifactId>
  149.         <version>${wire.version}</version>
  150.       </dependency>
  151.       <dependency>
  152.         <groupId>org.simpleframework</groupId>
  153.         <artifactId>simple-xml</artifactId>
  154.         <version>${simplexml.version}</version>
  155.       </dependency>
  156.       <dependency>
  157.         <groupId>com.squareup.moshi</groupId>
  158.         <artifactId>moshi</artifactId>
  159.         <version>${moshi.version}</version>
  160.       </dependency>
  161.       <dependency>
  162.         <groupId>javax.xml.bind</groupId>
  163.         <artifactId>jaxb-api</artifactId>
  164.         <version>${jaxb.version}</version>
  165.       </dependency>
  166.       <dependency>
  167.         <groupId>org.scala-lang</groupId>
  168.         <artifactId>scala-library</artifactId>
  169.         <version>${scala.version}</version>
  170.       </dependency>
  171.       <dependency>
  172.         <groupId>com.google.code.findbugs</groupId>
  173.         <artifactId>jsr305</artifactId>
  174.         <version>3.0.2</version>
  175.       </dependency>
  176.       <dependency>
  177.         <groupId>junit</groupId>
  178.         <artifactId>junit</artifactId>
  179.         <version>${junit.version}</version>
  180.       </dependency>
  181.       <dependency>
  182.         <groupId>org.assertj</groupId>
  183.         <artifactId>assertj-core</artifactId>
  184.         <version>${assertj.version}</version>
  185.       </dependency>
  186.       <dependency>
  187.         <groupId>org.mockito</groupId>
  188.         <artifactId>mockito-core</artifactId>
  189.         <version>${mockito.version}</version>
  190.       </dependency>
  191.       <dependency>
  192.         <groupId>com.google.guava</groupId>
  193.         <artifactId>guava</artifactId>
  194.         <version>${guava.version}</version>
  195.       </dependency>
  196.       <dependency>
  197.         <groupId>com.squareup.okhttp3</groupId>
  198.         <artifactId>mockwebserver</artifactId>
  199.         <version>${okhttp.version}</version>
  200.       </dependency>
  201.       <dependency>
  202.         <groupId>org.robolectric</groupId>
  203.         <artifactId>robolectric</artifactId>
  204.         <version>${robolectric.version}</version>
  205.       </dependency>
  206.     </dependencies>
  207.   </dependencyManagement>
  208.  
  209.   <build>
  210.     <pluginManagement>
  211.       <plugins>
  212.         <plugin>
  213.           <groupId>org.apache.maven.plugins</groupId>
  214.           <artifactId>maven-compiler-plugin</artifactId>
  215.           <version>3.6.1</version>
  216.           <configuration>
  217.             <compilerId>javac-with-errorprone</compilerId>
  218.             <forceJavacCompilerUse>true</forceJavacCompilerUse>
  219.             <source>${java.version}</source>
  220.             <target>${java.version}</target>
  221.           </configuration>
  222.           <dependencies>
  223.             <dependency>
  224.               <groupId>org.codehaus.plexus</groupId>
  225.               <artifactId>plexus-compiler-javac-errorprone</artifactId>
  226.               <version>2.8.1</version>
  227.             </dependency>
  228.             <dependency>
  229.               <groupId>com.google.errorprone</groupId>
  230.               <artifactId>error_prone_core</artifactId>
  231.               <version>2.0.16</version>
  232.             </dependency>
  233.           </dependencies>
  234.         </plugin>
  235.       </plugins>
  236.     </pluginManagement>
  237.  
  238.     <plugins>
  239.       <plugin>
  240.         <groupId>org.apache.maven.plugins</groupId>
  241.         <artifactId>maven-release-plugin</artifactId>
  242.         <version>2.5</version>
  243.         <configuration>
  244.           <autoVersionSubmodules>true</autoVersionSubmodules>
  245.         </configuration>
  246.       </plugin>
  247.  
  248.       <plugin>
  249.         <groupId>org.apache.maven.plugins</groupId>
  250.         <artifactId>maven-checkstyle-plugin</artifactId>
  251.         <version>2.17</version>
  252.         <dependencies>
  253.           <dependency>
  254.             <groupId>com.puppycrawl.tools</groupId>
  255.             <artifactId>checkstyle</artifactId>
  256.             <version>7.7</version>
  257.           </dependency>
  258.         </dependencies>
  259.         <configuration>
  260.           <failsOnError>true</failsOnError>
  261.           <configLocation>checkstyle.xml</configLocation>
  262.           <consoleOutput>true</consoleOutput>
  263.         </configuration>
  264.         <executions>
  265.           <execution>
  266.             <phase>verify</phase>
  267.             <goals>
  268.               <goal>checkstyle</goal>
  269.             </goals>
  270.           </execution>
  271.         </executions>
  272.       </plugin>
  273.  
  274.       <plugin>
  275.         <groupId>org.apache.maven.plugins</groupId>
  276.         <artifactId>maven-javadoc-plugin</artifactId>
  277.         <version>2.10.3</version>
  278.         <executions>
  279.           <execution>
  280.             <id>attach-javadocs</id>
  281.             <phase>package</phase>
  282.             <goals>
  283.               <goal>jar</goal>
  284.             </goals>
  285.           </execution>
  286.         </executions>
  287.       </plugin>
  288.  
  289.       <plugin>
  290.         <groupId>org.codehaus.mojo</groupId>
  291.         <artifactId>animal-sniffer-maven-plugin</artifactId>
  292.         <version>${animal.sniffer.version}</version>
  293.         <executions>
  294.           <execution>
  295.             <phase>test</phase>
  296.             <goals>
  297.               <goal>check</goal>
  298.             </goals>
  299.           </execution>
  300.         </executions>
  301.         <configuration>
  302.           <signature>
  303.             <groupId>org.codehaus.mojo.signature</groupId>
  304.             <artifactId>java16</artifactId>
  305.             <version>1.1</version>
  306.           </signature>
  307.         </configuration>
  308.       </plugin>
  309.  
  310.  
  311.    <plugin>
  312.           <artifactId>maven-surefire-plugin</artifactId>
  313.           <version>2.17</version>
  314.           <executions>
  315.             <execution>
  316.               <id>default-test</id>
  317.               <phase>test</phase>
  318.               <goals>
  319.                 <goal>test</goal>
  320.               </goals>
  321.             </execution>
  322.           </executions>
  323. <configuration>
  324.         <!-- Sets the VM argument line used when unit tests are run. -->
  325.         <argLine>${surefireArgLine}</argLine>
  326.     </configuration>
  327.         </plugin>
  328.  
  329.  
  330. <plugin>
  331.     <groupId>org.pitest</groupId>
  332.     <artifactId>pitest-maven</artifactId>
  333.     <version>1.3.2</version>
  334.  </plugin>
  335.  
  336.       <plugin>
  337.       <groupId>org.jacoco</groupId>
  338.       <artifactId>jacoco-maven-plugin</artifactId>
  339.       <version>0.8.0</version>
  340.       <executions>
  341.         <!--
  342.            Prepares the property pointing to the JaCoCo runtime agent which
  343.            is passed as VM argument when Maven the Surefire plugin is executed.
  344.        -->
  345.         <execution>
  346.             <id>pre-unit-test</id>
  347.             <goals>
  348.                 <goal>prepare-agent</goal>
  349.             </goals>
  350.             <configuration>
  351.                 <!--
  352.                    Sets the name of the property containing the settings
  353.                    for JaCoCo runtime agent.
  354.                -->
  355.                 <propertyName>surefireArgLine</propertyName>
  356.             </configuration>
  357.         </execution>
  358.         <!--
  359.            Ensures that the code coverage report for unit tests is created after
  360.            unit tests have been run.
  361.        -->
  362.         <execution>
  363.             <id>post-unit-test</id>
  364.             <phase>test</phase>
  365.             <goals>
  366.                 <goal>report</goal>
  367.             </goals>
  368.         </execution>
  369.     </executions>
  370.     </plugin>
  371.  
  372.  
  373.  
  374.  
  375.     </plugins>
  376.   </build>
  377.  
  378.  
  379.  
  380. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement