• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <auto-service.version>1.0</auto-service.version>
40    <auto-value.version>1.8.1</auto-value.version>
41    <java.version>1.8</java.version>
42    <guava.version>30.1.1-jre</guava.version>
43    <truth.version>1.1.3</truth.version>
44  </properties>
45
46  <scm>
47    <url>http://github.com/google/auto</url>
48    <connection>scm:git:git://github.com/google/auto.git</connection>
49    <developerConnection>scm:git:ssh://git@github.com/google/auto.git</developerConnection>
50    <tag>HEAD</tag>
51  </scm>
52
53  <issueManagement>
54    <system>GitHub Issues</system>
55    <url>http://github.com/google/auto/issues</url>
56  </issueManagement>
57
58  <licenses>
59    <license>
60      <name>Apache 2.0</name>
61      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
62    </license>
63  </licenses>
64
65  <organization>
66    <name>Google LLC</name>
67    <url>http://www.google.com</url>
68  </organization>
69
70  <dependencies>
71    <dependency>
72      <groupId>com.google.auto</groupId>
73      <artifactId>auto-common</artifactId>
74      <version>1.1</version>
75    </dependency>
76    <dependency>
77      <groupId>com.google.auto.value</groupId>
78      <artifactId>auto-value-annotations</artifactId>
79      <version>${auto-value.version}</version>
80    </dependency>
81    <dependency>
82      <groupId>com.google.auto.service</groupId>
83      <artifactId>auto-service-annotations</artifactId>
84      <version>${auto-service.version}</version>
85    </dependency>
86    <dependency>
87      <groupId>net.ltgt.gradle.incap</groupId>
88      <artifactId>incap</artifactId>
89      <version>0.3</version>
90      <scope>provided</scope>
91    </dependency>
92    <dependency>
93      <groupId>com.google.guava</groupId>
94      <artifactId>guava</artifactId>
95      <version>${guava.version}</version>
96    </dependency>
97    <dependency>
98      <groupId>com.squareup</groupId>
99      <artifactId>javapoet</artifactId>
100      <version>1.13.0</version>
101    </dependency>
102    <dependency>
103      <groupId>javax.inject</groupId>
104      <artifactId>javax.inject</artifactId>
105      <version>1</version>
106    </dependency>
107    <!-- test dependencies -->
108    <dependency>
109      <groupId>com.google.testing.compile</groupId>
110      <artifactId>compile-testing</artifactId>
111      <version>0.19</version>
112      <scope>test</scope>
113    </dependency>
114    <dependency>
115      <groupId>junit</groupId>
116      <artifactId>junit</artifactId>
117      <version>4.13.2</version>
118      <scope>test</scope>
119    </dependency>
120    <dependency>
121      <groupId>com.google.truth</groupId>
122      <artifactId>truth</artifactId>
123      <version>${truth.version}</version>
124      <scope>test</scope>
125    </dependency>
126    <dependency>
127      <groupId>com.google.code.findbugs</groupId>
128      <artifactId>jsr305</artifactId>
129      <version>3.0.2</version>
130      <scope>test</scope>
131    </dependency>
132    <dependency>
133      <groupId>org.checkerframework</groupId>
134      <artifactId>checker-compat-qual</artifactId>
135      <version>2.5.5</version>
136      <scope>test</scope>
137    </dependency>
138  </dependencies>
139
140  <build>
141    <plugins>
142      <plugin>
143        <artifactId>maven-compiler-plugin</artifactId>
144        <version>3.8.1</version>
145        <configuration>
146          <source>${java.version}</source>
147          <target>${java.version}</target>
148          <compilerArgument>-Xlint:all</compilerArgument>
149          <showWarnings>true</showWarnings>
150          <showDeprecation>true</showDeprecation>
151          <annotationProcessorPaths>
152            <path>
153              <groupId>com.google.auto.service</groupId>
154              <artifactId>auto-service</artifactId>
155              <version>${auto-service.version}</version>
156            </path>
157            <path>
158              <groupId>com.google.auto.value</groupId>
159              <artifactId>auto-value</artifactId>
160              <version>${auto-value.version}</version>
161            </path>
162            <path>
163              <groupId>net.ltgt.gradle.incap</groupId>
164              <artifactId>incap-processor</artifactId>
165              <version>0.3</version>
166            </path>
167          </annotationProcessorPaths>
168        </configuration>
169        <dependencies>
170          <dependency>
171            <groupId>org.codehaus.plexus</groupId>
172            <artifactId>plexus-java</artifactId>
173            <version>1.0.7</version>
174          </dependency>
175        </dependencies>
176      </plugin>
177      <plugin>
178        <groupId>org.apache.maven.plugins</groupId>
179        <artifactId>maven-surefire-plugin</artifactId>
180        <version>2.22.2</version>
181        <configuration>
182          <argLine>${test.jvm.flags}</argLine>
183        </configuration>
184      </plugin>
185      <plugin>
186        <artifactId>maven-jar-plugin</artifactId>
187        <version>3.2.0</version>
188      </plugin>
189      <plugin>
190        <artifactId>maven-invoker-plugin</artifactId>
191        <version>3.2.2</version>
192        <configuration>
193          <addTestClassPath>true</addTestClassPath>
194          <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
195          <pomIncludes>
196            <pomInclude>*/pom.xml</pomInclude>
197          </pomIncludes>
198          <streamLogs>true</streamLogs>
199        </configuration>
200        <executions>
201          <execution>
202            <id>integration-test</id>
203            <goals>
204              <goal>install</goal>
205              <goal>run</goal>
206            </goals>
207          </execution>
208        </executions>
209      </plugin>
210      <plugin>
211        <groupId>org.immutables.tools</groupId>
212        <artifactId>maven-shade-plugin</artifactId>
213        <version>4</version>
214      </plugin>
215    </plugins>
216  </build>
217  <profiles>
218    <profile>
219      <id>open-modules</id>
220      <activation>
221        <jdk>[9,)</jdk>
222      </activation>
223      <properties>
224        <test.jvm.flags>--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</test.jvm.flags>
225      </properties>
226    </profile>
227  </profiles>
228</project>
229