1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright 2012 Google LLC 4 Copyright (C) 2012 Square, Inc. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17--> 18<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 20 <modelVersion>4.0.0</modelVersion> 21 22 <parent> 23 <groupId>org.sonatype.oss</groupId> 24 <artifactId>oss-parent</artifactId> 25 <version>7</version> 26 </parent> 27 28 <groupId>com.google.auto.factory</groupId> 29 <artifactId>auto-factory</artifactId> 30 <version>HEAD-SNAPSHOT</version> 31 <name>AutoFactory</name> 32 <description> 33 JSR-330-compatible factories. 34 </description> 35 <url>https://github.com/google/auto/tree/master/factory</url> 36 37 <properties> 38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 39 <java.version>1.8</java.version> 40 <guava.version>28.2-jre</guava.version> 41 <truth.version>1.0.1</truth.version> 42 </properties> 43 44 <scm> 45 <url>http://github.com/google/auto</url> 46 <connection>scm:git:git://github.com/google/auto.git</connection> 47 <developerConnection>scm:git:ssh://git@github.com/google/auto.git</developerConnection> 48 <tag>HEAD</tag> 49 </scm> 50 51 <issueManagement> 52 <system>GitHub Issues</system> 53 <url>http://github.com/google/auto/issues</url> 54 </issueManagement> 55 56 <licenses> 57 <license> 58 <name>Apache 2.0</name> 59 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 60 </license> 61 </licenses> 62 63 <organization> 64 <name>Google LLC</name> 65 <url>http://www.google.com</url> 66 </organization> 67 68 <dependencies> 69 <dependency> 70 <groupId>com.google.auto</groupId> 71 <artifactId>auto-common</artifactId> 72 <version>0.10</version> 73 </dependency> 74 <dependency> 75 <groupId>com.google.auto.value</groupId> 76 <artifactId>auto-value-annotations</artifactId> 77 <version>1.7</version> 78 </dependency> 79 <dependency> 80 <groupId>com.google.auto.value</groupId> 81 <artifactId>auto-value</artifactId> 82 <version>1.7</version> 83 <scope>provided</scope> 84 </dependency> 85 <dependency> 86 <groupId>com.google.auto.service</groupId> 87 <artifactId>auto-service</artifactId> 88 <version>1.0-rc6</version> 89 <scope>provided</scope> 90 </dependency> 91 <dependency> 92 <groupId>net.ltgt.gradle.incap</groupId> 93 <artifactId>incap</artifactId> 94 <version>0.2</version> 95 <scope>provided</scope> 96 </dependency> 97 <dependency> 98 <groupId>net.ltgt.gradle.incap</groupId> 99 <artifactId>incap-processor</artifactId> 100 <version>0.2</version> 101 <scope>provided</scope> 102 </dependency> 103 <dependency> 104 <groupId>com.google.googlejavaformat</groupId> 105 <artifactId>google-java-format</artifactId> 106 <version>1.7</version> 107 </dependency> 108 <dependency> 109 <groupId>com.google.guava</groupId> 110 <artifactId>guava</artifactId> 111 <version>${guava.version}</version> 112 </dependency> 113 <dependency> 114 <groupId>com.squareup</groupId> 115 <artifactId>javapoet</artifactId> 116 <version>1.12.1</version> 117 </dependency> 118 <dependency> 119 <groupId>javax.inject</groupId> 120 <artifactId>javax.inject</artifactId> 121 <version>1</version> 122 </dependency> 123 <!-- test dependencies --> 124 <dependency> 125 <groupId>com.google.testing.compile</groupId> 126 <artifactId>compile-testing</artifactId> 127 <version>0.18</version> 128 <scope>test</scope> 129 </dependency> 130 <dependency> 131 <groupId>junit</groupId> 132 <artifactId>junit</artifactId> 133 <version>4.13</version> 134 <scope>test</scope> 135 </dependency> 136 <dependency> 137 <groupId>com.google.truth</groupId> 138 <artifactId>truth</artifactId> 139 <version>${truth.version}</version> 140 <scope>test</scope> 141 </dependency> 142 <dependency> 143 <groupId>com.google.code.findbugs</groupId> 144 <artifactId>jsr305</artifactId> 145 <version>3.0.2</version> 146 <scope>test</scope> 147 </dependency> 148 <dependency> 149 <groupId>org.checkerframework</groupId> 150 <artifactId>checker-compat-qual</artifactId> 151 <version>2.5.5</version> 152 <scope>test</scope> 153 </dependency> 154 </dependencies> 155 156 <build> 157 <plugins> 158 <plugin> 159 <artifactId>maven-compiler-plugin</artifactId> 160 <version>3.7.0</version> 161 <configuration> 162 <source>${java.version}</source> 163 <target>${java.version}</target> 164 <compilerArgument>-Xlint:all</compilerArgument> 165 <showWarnings>true</showWarnings> 166 <showDeprecation>true</showDeprecation> 167 </configuration> 168 <dependencies> 169 <dependency> 170 <groupId>org.codehaus.plexus</groupId> 171 <artifactId>plexus-java</artifactId> 172 <version>0.9.4</version> 173 </dependency> 174 </dependencies> 175 </plugin> 176 <plugin> 177 <artifactId>maven-jar-plugin</artifactId> 178 <version>3.0.2</version> 179 </plugin> 180 <plugin> 181 <artifactId>maven-invoker-plugin</artifactId> 182 <version>3.0.1</version> 183 <configuration> 184 <addTestClassPath>true</addTestClassPath> 185 <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> 186 <pomIncludes> 187 <pomInclude>*/pom.xml</pomInclude> 188 </pomIncludes> 189 <streamLogs>true</streamLogs> 190 </configuration> 191 <executions> 192 <execution> 193 <id>integration-test</id> 194 <goals> 195 <goal>install</goal> 196 <goal>run</goal> 197 </goals> 198 </execution> 199 </executions> 200 </plugin> 201 <plugin> 202 <groupId>org.immutables.tools</groupId> 203 <artifactId>maven-shade-plugin</artifactId> 204 <version>4</version> 205 </plugin> 206 </plugins> 207 </build> 208</project> 209