2014-08-09 16:13:20 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<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.moshi</groupId>
|
|
|
|
<artifactId>moshi-parent</artifactId>
|
2018-09-25 02:55:49 +00:00
|
|
|
<version>1.8.0-SNAPSHOT</version>
|
2014-08-09 16:13:20 +00:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>Moshi (Parent)</name>
|
|
|
|
<description>A modern JSON API for Android and Java</description>
|
|
|
|
<url>https://github.com/square/moshi</url>
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
<module>moshi</module>
|
2015-06-16 03:51:47 +00:00
|
|
|
<module>examples</module>
|
2015-09-26 22:25:01 +00:00
|
|
|
<module>adapters</module>
|
2018-05-14 16:25:25 +00:00
|
|
|
<module>kotlin/codegen</module>
|
2018-05-14 21:13:19 +00:00
|
|
|
<module>kotlin/reflect</module>
|
2018-05-14 16:25:25 +00:00
|
|
|
<module>kotlin/tests</module>
|
2014-08-09 16:13:20 +00:00
|
|
|
</modules>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2015-03-23 03:21:42 +00:00
|
|
|
<java.version>1.7</java.version>
|
2018-09-25 01:48:25 +00:00
|
|
|
<kotlin.version>1.2.71</kotlin.version>
|
|
|
|
<kotlin-metadata.version>1.4.0</kotlin-metadata.version>
|
2018-08-15 00:20:15 +00:00
|
|
|
<dokka.version>0.9.17</dokka.version>
|
|
|
|
<maven-assembly.version>3.1.0</maven-assembly.version>
|
2014-08-09 16:13:20 +00:00
|
|
|
|
|
|
|
<!-- Dependencies -->
|
2018-09-11 06:48:16 +00:00
|
|
|
<okio.version>1.15.0</okio.version>
|
2014-08-09 16:13:20 +00:00
|
|
|
|
|
|
|
<!-- Test Dependencies -->
|
2018-09-25 01:48:25 +00:00
|
|
|
<compile-testing.version>0.15</compile-testing.version>
|
2014-12-22 18:22:01 +00:00
|
|
|
<junit.version>4.12</junit.version>
|
2018-09-25 01:48:25 +00:00
|
|
|
<assertj.version>3.11.1</assertj.version>
|
2014-08-09 16:13:20 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<url>https://github.com/square/moshi/</url>
|
|
|
|
<connection>scm:git:https://github.com/square/moshi.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:square/moshi.git</developerConnection>
|
2018-09-25 02:55:49 +00:00
|
|
|
<tag>HEAD</tag>
|
2014-08-09 16:13:20 +00:00
|
|
|
</scm>
|
|
|
|
|
|
|
|
<issueManagement>
|
|
|
|
<system>GitHub Issues</system>
|
|
|
|
<url>https://github.com/square/moshi/issues</url>
|
|
|
|
</issueManagement>
|
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2017-05-07 00:31:24 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-08-09 16:13:20 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
</dependency>
|
2014-08-10 05:04:56 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okio</groupId>
|
|
|
|
<artifactId>okio</artifactId>
|
|
|
|
<version>${okio.version}</version>
|
|
|
|
</dependency>
|
2014-08-10 17:20:27 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj.version}</version>
|
|
|
|
</dependency>
|
2017-04-19 03:51:37 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-test</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-03-31 04:57:50 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-compiler-embeddable</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-annotation-processing-embeddable</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-04-25 23:40:20 +00:00
|
|
|
<groupId>me.eugeniomarletti.kotlin.metadata</groupId>
|
2018-03-31 04:57:50 +00:00
|
|
|
<artifactId>kotlin-metadata</artifactId>
|
|
|
|
<version>${kotlin-metadata.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.testing.compile</groupId>
|
|
|
|
<artifactId>compile-testing</artifactId>
|
|
|
|
<version>${compile-testing.version}</version>
|
|
|
|
</dependency>
|
2014-08-09 16:13:20 +00:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2018-08-15 00:20:15 +00:00
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>jcenter</id>
|
|
|
|
<name>JCenter</name>
|
|
|
|
<url>https://jcenter.bintray.com/</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
|
2014-08-09 16:13:20 +00:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2018-09-24 04:12:54 +00:00
|
|
|
<version>3.8.0</version>
|
2014-08-09 16:13:20 +00:00
|
|
|
<configuration>
|
2017-02-15 03:28:24 +00:00
|
|
|
<compilerId>javac-with-errorprone</compilerId>
|
|
|
|
<forceJavacCompilerUse>true</forceJavacCompilerUse>
|
2014-08-09 16:13:20 +00:00
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
</configuration>
|
2017-02-15 03:28:24 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-compiler-javac-errorprone</artifactId>
|
|
|
|
<version>2.8</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.errorprone</groupId>
|
|
|
|
<artifactId>error_prone_core</artifactId>
|
2018-04-25 23:37:46 +00:00
|
|
|
<version>2.3.1</version>
|
2017-02-15 03:28:24 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2014-08-09 16:13:20 +00:00
|
|
|
</plugin>
|
2017-04-19 03:51:37 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
</plugin>
|
2014-08-09 16:13:20 +00:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
|
|
|
|
<plugins>
|
2017-05-06 18:48:55 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>2.17</version>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
<artifactId>checkstyle</artifactId>
|
|
|
|
<version>7.7</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<configuration>
|
|
|
|
<failsOnError>true</failsOnError>
|
|
|
|
<configLocation>checkstyle.xml</configLocation>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<excludes>**/Iso8601Utils.java</excludes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>checkstyle</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-08-09 16:13:20 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<configuration>
|
|
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|