• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  <parent>
22    <groupId>org.sonatype.oss</groupId>
23    <artifactId>oss-parent</artifactId>
24    <version>7</version>
25  </parent>
26
27  <groupId>com.google.auto.value</groupId>
28  <artifactId>auto-value-parent</artifactId>
29  <version>1.7.4</version>
30  <name>AutoValue Parent</name>
31  <description>
32    Immutable value-type code generation for Java 7+.
33  </description>
34  <packaging>pom</packaging>
35  <url>https://github.com/google/auto/tree/master/value</url>
36
37  <properties>
38    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39    <java.version>1.8</java.version>
40    <guava.version>28.1-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  <modules>
69    <module>annotations</module>
70    <module>processor</module>
71    <module>src/it/functional</module>
72    <module>src/it/gwtserializer</module>
73  </modules>
74
75  <dependencyManagement>
76    <dependencies>
77      <!-- main dependencies -->
78
79      <dependency>
80        <groupId>com.google.guava</groupId>
81        <artifactId>guava</artifactId>
82        <version>${guava.version}</version>
83      </dependency>
84      <dependency>
85        <groupId>com.google.guava</groupId>
86        <artifactId>guava-gwt</artifactId>
87        <version>${guava.version}</version>
88      </dependency>
89      <dependency>
90        <groupId>com.squareup</groupId>
91        <artifactId>javapoet</artifactId>
92        <version>1.11.1</version>
93      </dependency>
94
95      <!-- test dependencies -->
96
97      <dependency>
98        <groupId>com.google.code.findbugs</groupId>
99        <artifactId>jsr305</artifactId>
100        <version>3.0.2</version>
101      </dependency>
102      <dependency>
103        <groupId>com.google.guava</groupId>
104        <artifactId>guava-testlib</artifactId>
105        <version>${guava.version}</version>
106      </dependency>
107      <dependency>
108        <groupId>com.google.testing.compile</groupId>
109        <artifactId>compile-testing</artifactId>
110        <version>0.18</version>
111      </dependency>
112      <dependency>
113        <groupId>com.google.truth</groupId>
114        <artifactId>truth</artifactId>
115        <version>${truth.version}</version>
116      </dependency>
117      <dependency>
118        <groupId>com.google.truth.extensions</groupId>
119        <artifactId>truth-java8-extension</artifactId>
120        <version>${truth.version}</version>
121      </dependency>
122      <dependency>
123        <groupId>junit</groupId>
124        <artifactId>junit</artifactId>
125        <version>4.13</version>
126      </dependency>
127      <dependency>
128        <groupId>org.apache.velocity</groupId>
129        <artifactId>velocity</artifactId>
130        <version>1.7</version>
131      </dependency>
132    </dependencies>
133  </dependencyManagement>
134
135  <build>
136    <pluginManagement>
137      <plugins>
138        <plugin>
139          <groupId>org.apache.maven.plugins</groupId>
140          <artifactId>maven-compiler-plugin</artifactId>
141          <version>3.7.0</version>
142          <configuration>
143            <source>${java.version}</source>
144            <target>${java.version}</target>
145            <compilerArgument>-Xlint:all</compilerArgument>
146            <showWarnings>true</showWarnings>
147            <showDeprecation>true</showDeprecation>
148          </configuration>
149          <dependencies>
150            <dependency>
151              <groupId>org.codehaus.plexus</groupId>
152              <artifactId>plexus-java</artifactId>
153              <version>0.9.4</version>
154            </dependency>
155          </dependencies>
156        </plugin>
157        <plugin>
158          <groupId>org.apache.maven.plugins</groupId>
159          <artifactId>maven-jar-plugin</artifactId>
160          <version>3.0.2</version>
161        </plugin>
162        <plugin>
163          <groupId>org.apache.maven.plugins</groupId>
164          <artifactId>maven-invoker-plugin</artifactId>
165          <version>3.0.1</version>
166          <configuration>
167            <addTestClassPath>true</addTestClassPath>
168            <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
169            <pomIncludes>
170              <pomInclude>*/pom.xml</pomInclude>
171            </pomIncludes>
172            <streamLogs>true</streamLogs>
173          </configuration>
174          <executions>
175            <execution>
176              <id>integration-test</id>
177              <goals>
178                <goal>install</goal>
179                <goal>run</goal>
180              </goals>
181            </execution>
182          </executions>
183        </plugin>
184        <plugin>
185          <groupId>org.immutables.tools</groupId>
186          <artifactId>maven-shade-plugin</artifactId>
187          <version>4</version>
188        </plugin>
189      </plugins>
190    </pluginManagement>
191  </build>
192</project>
193