1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright 2012 Google LLC 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" 18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 19 <modelVersion>4.0.0</modelVersion> 20 21 <groupId>com.google.auto.value</groupId> 22 <artifactId>auto-value-parent</artifactId> 23 <version>HEAD-SNAPSHOT</version> 24 <name>AutoValue Parent</name> 25 <description> 26 Immutable value-type code generation for Java 7+. 27 </description> 28 <packaging>pom</packaging> 29 <url>https://github.com/google/auto/tree/main/value</url> 30 31 <properties> 32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 33 <java.version>1.8</java.version> 34 <guava.version>32.1.2-jre</guava.version> 35 <truth.version>1.1.5</truth.version> 36 </properties> 37 38 <scm> 39 <url>http://github.com/google/auto</url> 40 <connection>scm:git:git://github.com/google/auto.git</connection> 41 <developerConnection>scm:git:ssh://git@github.com/google/auto.git</developerConnection> 42 <tag>HEAD</tag> 43 </scm> 44 45 <issueManagement> 46 <system>GitHub Issues</system> 47 <url>http://github.com/google/auto/issues</url> 48 </issueManagement> 49 50 <licenses> 51 <license> 52 <name>Apache 2.0</name> 53 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 54 </license> 55 </licenses> 56 57 <organization> 58 <name>Google LLC</name> 59 <url>http://www.google.com</url> 60 </organization> 61 62 <developers> 63 <developer> 64 <id>eamonnmcmanus</id> 65 <name>Éamonn McManus</name> 66 <email>emcmanus@google.com</email> 67 <organization>Google</organization> 68 <organizationUrl>http://www.google.com</organizationUrl> 69 <roles> 70 <role>owner</role> 71 <role>developer</role> 72 </roles> 73 <timezone>-8</timezone> 74 </developer> 75 </developers> 76 77 <modules> 78 <module>annotations</module> 79 <module>processor</module> 80 <module>src/it/functional</module> 81 <module>src/it/gwtserializer</module> 82 </modules> 83 84 <distributionManagement> 85 <snapshotRepository> 86 <id>sonatype-nexus-snapshots</id> 87 <name>Sonatype Nexus Snapshots</name> 88 <url>https://oss.sonatype.org/content/repositories/snapshots/</url> 89 </snapshotRepository> 90 <repository> 91 <id>sonatype-nexus-staging</id> 92 <name>Nexus Release Repository</name> 93 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> 94 </repository> 95 </distributionManagement> 96 97 <dependencyManagement> 98 <dependencies> 99 <!-- main dependencies --> 100 101 <dependency> 102 <groupId>com.google.guava</groupId> 103 <artifactId>guava</artifactId> 104 <version>${guava.version}</version> 105 </dependency> 106 <dependency> 107 <groupId>com.google.guava</groupId> 108 <artifactId>guava-gwt</artifactId> 109 <version>${guava.version}</version> 110 </dependency> 111 <dependency> 112 <groupId>com.squareup</groupId> 113 <artifactId>javapoet</artifactId> 114 <version>1.13.0</version> 115 </dependency> 116 117 <!-- test dependencies --> 118 119 <dependency> 120 <groupId>com.google.code.findbugs</groupId> 121 <artifactId>jsr305</artifactId> 122 <version>3.0.2</version> 123 </dependency> 124 <dependency> 125 <groupId>com.google.guava</groupId> 126 <artifactId>guava-testlib</artifactId> 127 <version>${guava.version}</version> 128 </dependency> 129 <dependency> 130 <groupId>com.google.testing.compile</groupId> 131 <artifactId>compile-testing</artifactId> 132 <version>0.21.0</version> 133 </dependency> 134 <dependency> 135 <groupId>com.google.truth</groupId> 136 <artifactId>truth</artifactId> 137 <version>${truth.version}</version> 138 </dependency> 139 <dependency> 140 <groupId>com.google.truth.extensions</groupId> 141 <artifactId>truth-java8-extension</artifactId> 142 <version>${truth.version}</version> 143 </dependency> 144 <dependency> 145 <groupId>junit</groupId> 146 <artifactId>junit</artifactId> 147 <version>4.13.2</version> 148 </dependency> 149 </dependencies> 150 </dependencyManagement> 151 152 <build> 153 <pluginManagement> 154 <plugins> 155 <plugin> 156 <groupId>org.apache.maven.plugins</groupId> 157 <artifactId>maven-compiler-plugin</artifactId> 158 <version>3.11.0</version> 159 <configuration> 160 <source>${java.version}</source> 161 <target>${java.version}</target> 162 <compilerArgument>-Xlint:all</compilerArgument> 163 <showWarnings>true</showWarnings> 164 <showDeprecation>true</showDeprecation> 165 </configuration> 166 <dependencies> 167 <dependency> 168 <groupId>org.codehaus.plexus</groupId> 169 <artifactId>plexus-java</artifactId> 170 <version>1.1.2</version> 171 </dependency> 172 </dependencies> 173 </plugin> 174 <plugin> 175 <groupId>org.apache.maven.plugins</groupId> 176 <artifactId>maven-jar-plugin</artifactId> 177 <version>3.3.0</version> 178 </plugin> 179 <plugin> 180 <groupId>org.apache.maven.plugins</groupId> 181 <artifactId>maven-invoker-plugin</artifactId> 182 <version>3.6.0</version> 183 <configuration> 184 <addTestClassPath>true</addTestClassPath> 185 <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> 186 <localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath> 187 <pomIncludes> 188 <pomInclude>*/pom.xml</pomInclude> 189 </pomIncludes> 190 <streamLogs>true</streamLogs> 191 </configuration> 192 <executions> 193 <execution> 194 <id>integration-test</id> 195 <goals> 196 <goal>install</goal> 197 <goal>run</goal> 198 </goals> 199 </execution> 200 </executions> 201 </plugin> 202 <plugin> 203 <groupId>org.immutables.tools</groupId> 204 <artifactId>maven-shade-plugin</artifactId> 205 <version>4</version> 206 </plugin> 207 </plugins> 208 </pluginManagement> 209 </build> 210 <profiles> 211 <profile> 212 <id>sonatype-oss-release</id> 213 <build> 214 <plugins> 215 <plugin> 216 <groupId>org.apache.maven.plugins</groupId> 217 <artifactId>maven-source-plugin</artifactId> 218 <version>3.3.0</version> 219 <executions> 220 <execution> 221 <id>attach-sources</id> 222 <goals> 223 <goal>jar-no-fork</goal> 224 </goals> 225 </execution> 226 </executions> 227 </plugin> 228 <plugin> 229 <groupId>org.apache.maven.plugins</groupId> 230 <artifactId>maven-javadoc-plugin</artifactId> 231 <version>3.5.0</version> 232 <configuration> 233 <failOnError>false</failOnError> 234 </configuration> 235 <executions> 236 <execution> 237 <id>attach-javadocs</id> 238 <goals> 239 <goal>jar</goal> 240 </goals> 241 </execution> 242 </executions> 243 </plugin> 244 <plugin> 245 <groupId>org.apache.maven.plugins</groupId> 246 <artifactId>maven-gpg-plugin</artifactId> 247 <version>3.1.0</version> 248 <executions> 249 <execution> 250 <id>sign-artifacts</id> 251 <phase>verify</phase> 252 <goals> 253 <goal>sign</goal> 254 </goals> 255 </execution> 256 </executions> 257 </plugin> 258 </plugins> 259 </build> 260 </profile> 261 </profiles> 262</project> 263