blob: b007e741b5851b1334bcb3fb3a2cf66a10a7b2fd [file] [log] [blame]
cushonc5ee8762016-08-23 14:17:08 -07001<?xml version="1.0" encoding="UTF-8"?>
Eddie Aftandilian078b0d52020-07-13 17:43:46 -07002<!--
3 Copyright 2020 Google Inc.
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
cushonc5ee8762016-08-23 14:17:08 -070018<project
19 xmlns="http://maven.apache.org/POM/4.0.0"
20 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
23
24 <groupId>com.google.turbine</groupId>
25 <artifactId>turbine</artifactId>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -080026 <version>HEAD-SNAPSHOT</version>
cushonc5ee8762016-08-23 14:17:08 -070027
28 <name>turbine</name>
Liam Miller-Cushondd5dfec2021-07-21 19:11:11 -070029 <description>turbine is a header compiler for Java</description>
30 <url>https://github.com/google/turbine</url>
cushonc5ee8762016-08-23 14:17:08 -070031
cushon42a8f882016-12-07 11:54:56 -080032 <properties>
Liam Miller-Cushondd6d5542021-09-27 16:16:15 -070033 <asm.version>9.2</asm.version>
Chris Povirkb51780c2022-01-25 08:07:13 -080034 <guava.version>31.0.1-jre</guava.version>
Liam Miller-Cushon2e513672022-02-02 16:52:08 -080035 <errorprone.version>2.11.0</errorprone.version>
36 <maven-javadoc-plugin.version>3.3.1</maven-javadoc-plugin.version>
Liam Miller-Cushon3d2be5e2021-06-21 17:16:23 -070037 <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
Liam Miller-Cushon7a5c4162020-12-10 21:41:59 -080038 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Liam Miller-Cushone72ca422022-01-25 11:08:19 -080039 <protobuf.version>3.19.2</protobuf.version>
40 <grpc.version>1.43.2</grpc.version>
cushon42a8f882016-12-07 11:54:56 -080041 </properties>
42
Liam Miller-Cushondd5dfec2021-07-21 19:11:11 -070043 <organization>
44 <name>Google Inc.</name>
45 <url>http://www.google.com/</url>
46 </organization>
47
48 <developers>
49 <developer>
50 <name>Liam Miller-Cushon</name>
51 </developer>
52 </developers>
53
cushonc5ee8762016-08-23 14:17:08 -070054 <dependencies>
55 <dependency>
56 <groupId>com.google.guava</groupId>
57 <artifactId>guava</artifactId>
cushon78670132018-10-21 15:10:51 -070058 <version>${guava.version}</version>
cushonc5ee8762016-08-23 14:17:08 -070059 </dependency>
60 <dependency>
cushonf0e97442016-09-14 10:48:35 -070061 <groupId>com.google.errorprone</groupId>
62 <artifactId>error_prone_annotations</artifactId>
Liam Miller-Cushona1dcaa62021-05-14 16:36:17 -070063 <version>${errorprone.version}</version>
cushond0fcced2018-04-09 22:38:11 -070064 </dependency>
65 <dependency>
Liam Miller-Cushon7903a852021-09-16 17:53:37 -070066 <groupId>org.jspecify</groupId>
67 <artifactId>jspecify</artifactId>
68 <version>0.2.0</version>
cushond0fcced2018-04-09 22:38:11 -070069 <optional>true</optional>
cushonf0e97442016-09-14 10:48:35 -070070 </dependency>
71 <dependency>
cushon667facf2016-10-20 14:07:39 -070072 <groupId>com.google.protobuf</groupId>
73 <artifactId>protobuf-java</artifactId>
Liam Miller-Cushone72ca422022-01-25 11:08:19 -080074 <version>${protobuf.version}</version>
cushon667facf2016-10-20 14:07:39 -070075 </dependency>
76 <dependency>
cushonc5ee8762016-08-23 14:17:08 -070077 <groupId>org.ow2.asm</groupId>
cushon3d542b82017-11-29 22:26:07 -080078 <artifactId>asm</artifactId>
79 <version>${asm.version}</version>
80 <scope>test</scope>
81 </dependency>
82 <dependency>
83 <groupId>org.ow2.asm</groupId>
84 <artifactId>asm-tree</artifactId>
85 <version>${asm.version}</version>
86 <scope>test</scope>
87 </dependency>
88 <dependency>
89 <groupId>org.ow2.asm</groupId>
90 <artifactId>asm-util</artifactId>
91 <version>${asm.version}</version>
cushon783f80f2016-09-19 14:52:44 -070092 <scope>test</scope>
93 </dependency>
94 <dependency>
cushonc5ee8762016-08-23 14:17:08 -070095 <groupId>junit</groupId>
96 <artifactId>junit</artifactId>
dependabot[bot]df4d4742022-01-12 12:53:50 -080097 <version>4.13.2</version>
cushonc5ee8762016-08-23 14:17:08 -070098 <scope>test</scope>
99 </dependency>
100 <dependency>
101 <groupId>com.google.truth</groupId>
102 <artifactId>truth</artifactId>
dependabot[bot]9065e742022-01-12 13:37:20 -0800103 <version>1.1.3</version>
cushon0db7a282019-08-12 10:37:45 -0700104 <scope>test</scope>
105 </dependency>
106 <dependency>
107 <groupId>com.google.truth.extensions</groupId>
108 <artifactId>truth-proto-extension</artifactId>
Liam Miller-Cushonfe9cf7f2022-01-22 00:00:17 -0800109 <version>1.1.3</version>
cushon8eab64c2018-08-24 09:56:22 -0700110 <scope>test</scope>
111 </dependency>
112 <dependency>
113 <groupId>com.google.truth.extensions</groupId>
114 <artifactId>truth-java8-extension</artifactId>
Liam Miller-Cushonfe9cf7f2022-01-22 00:00:17 -0800115 <version>1.1.3</version>
cushonc5ee8762016-08-23 14:17:08 -0700116 <scope>test</scope>
117 </dependency>
118 <dependency>
119 <groupId>com.google.jimfs</groupId>
120 <artifactId>jimfs</artifactId>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800121 <version>1.2</version>
cushonc5ee8762016-08-23 14:17:08 -0700122 <scope>test</scope>
123 </dependency>
cushon78670132018-10-21 15:10:51 -0700124 <dependency>
125 <groupId>com.google.guava</groupId>
126 <artifactId>guava-testlib</artifactId>
127 <version>${guava.version}</version>
128 <scope>test</scope>
129 </dependency>
cushon39454052018-10-23 13:45:50 -0700130 <dependency>
131 <groupId>com.google.auto.value</groupId>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800132 <artifactId>auto-value-annotations</artifactId>
Liam Miller-Cushonfe9cf7f2022-01-22 00:00:17 -0800133 <version>1.9</version>
cushon39454052018-10-23 13:45:50 -0700134 <scope>provided</scope>
135 </dependency>
Liam Miller-Cushonb02c9b72021-08-19 17:08:08 -0700136 <dependency>
137 <groupId>com.google.auto</groupId>
138 <artifactId>auto-common</artifactId>
Liam Miller-Cushonfe9cf7f2022-01-22 00:00:17 -0800139 <version>1.2.1</version>
Liam Miller-Cushonb02c9b72021-08-19 17:08:08 -0700140 <scope>test</scope>
141 </dependency>
cushonc5ee8762016-08-23 14:17:08 -0700142 </dependencies>
143
144 <build>
145 <sourceDirectory>java</sourceDirectory>
146 <testSourceDirectory>javatests</testSourceDirectory>
147 <testResources>
148 <testResource>
149 <directory>javatests</directory>
150 <includes>
151 <include>**/testdata/**</include>
cushon97f83722018-08-02 10:19:44 -0700152 <include>**/moduletestdata/**</include>
cushonc5ee8762016-08-23 14:17:08 -0700153 </includes>
154 </testResource>
155 </testResources>
cushon667facf2016-10-20 14:07:39 -0700156 <extensions>
157 <extension>
158 <groupId>kr.motd.maven</groupId>
159 <artifactId>os-maven-plugin</artifactId>
Liam Miller-Cushon2e513672022-02-02 16:52:08 -0800160 <version>1.7.0</version>
cushon667facf2016-10-20 14:07:39 -0700161 </extension>
162 </extensions>
cushonc5ee8762016-08-23 14:17:08 -0700163 <plugins>
164 <plugin>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]2e516922022-01-14 11:22:40 -0800167 <version>3.9.0</version>
cushonc5ee8762016-08-23 14:17:08 -0700168 <configuration>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800169 <source>8</source>
170 <target>8</target>
cushonc5ee8762016-08-23 14:17:08 -0700171 <encoding>UTF-8</encoding>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800172 <compilerArgs>
173 <arg>-parameters</arg>
174 <arg>-XDcompilePolicy=simple</arg>
175 <arg>-Xplugin:ErrorProne</arg>
176 </compilerArgs>
177 <annotationProcessorPaths>
178 <path>
179 <groupId>com.google.errorprone</groupId>
180 <artifactId>error_prone_core</artifactId>
Liam Miller-Cushona1dcaa62021-05-14 16:36:17 -0700181 <version>${errorprone.version}</version>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800182 </path>
183 <path>
184 <groupId>com.google.auto.value</groupId>
185 <artifactId>auto-value</artifactId>
186 <version>1.7.4</version>
187 </path>
188 </annotationProcessorPaths>
cushonc5ee8762016-08-23 14:17:08 -0700189 </configuration>
190 </plugin>
cushon667facf2016-10-20 14:07:39 -0700191 <plugin>
192 <groupId>org.xolstice.maven.plugins</groupId>
193 <artifactId>protobuf-maven-plugin</artifactId>
dependabot[bot]4ede66c2022-01-14 11:20:33 -0800194 <version>0.6.1</version>
cushon667facf2016-10-20 14:07:39 -0700195 <configuration>
196 <protoSourceRoot>proto</protoSourceRoot>
Liam Miller-Cushone72ca422022-01-25 11:08:19 -0800197 <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
cushon667facf2016-10-20 14:07:39 -0700198 <pluginId>grpc-java</pluginId>
Liam Miller-Cushone72ca422022-01-25 11:08:19 -0800199 <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
cushon667facf2016-10-20 14:07:39 -0700200 </configuration>
201 <executions>
202 <execution>
203 <goals>
204 <goal>compile</goal>
205 <goal>compile-custom</goal>
206 </goals>
207 </execution>
208 </executions>
209 </plugin>
cushon42a8f882016-12-07 11:54:56 -0800210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-surefire-plugin</artifactId>
Liam Miller-Cushon2e513672022-02-02 16:52:08 -0800213 <version>2.22.2</version>
cushon42a8f882016-12-07 11:54:56 -0800214 <configuration>
Liam Miller-Cushon6067ffe2017-01-21 01:01:11 -0800215 <!-- set heap size to work around http://github.com/travis-ci/travis-ci/issues/3396 -->
Liam Miller-Cushon5973e512021-06-15 18:02:41 -0700216 <argLine>
217 -Xmx2g
218 --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
219 --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
220 --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
221 --add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
222 --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
223 --add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
224 --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
225 --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
226 --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
227 --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
228 </argLine>
cushon42a8f882016-12-07 11:54:56 -0800229 </configuration>
230 </plugin>
Liam Miller-Cushone098b2a2018-09-09 17:14:19 -0700231 <plugin>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-shade-plugin</artifactId>
Liam Miller-Cushon2e513672022-02-02 16:52:08 -0800234 <version>3.2.4</version>
Liam Miller-Cushone098b2a2018-09-09 17:14:19 -0700235 <executions>
236 <execution>
237 <id>shade-all-deps</id>
238 <phase>package</phase>
239 <goals>
240 <goal>shade</goal>
241 </goals>
242 <configuration>
243 <shadedArtifactAttached>true</shadedArtifactAttached>
244 <shadedClassifierName>all-deps</shadedClassifierName>
245 <createDependencyReducedPom>false</createDependencyReducedPom>
246 <!-- http://stackoverflow.com/a/6743609 -->
247 <filters>
248 <filter>
249 <artifact>*:*</artifact>
250 <excludes>
251 <exclude>META-INF/*.SF</exclude>
252 <exclude>META-INF/*.DSA</exclude>
253 <exclude>META-INF/*.RSA</exclude>
254 </excludes>
255 </filter>
256 </filters>
257 </configuration>
258 </execution>
259 </executions>
260 </plugin>
Liam Miller-Cushonf4d084a2021-06-15 19:16:54 -0700261 <plugin>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-javadoc-plugin</artifactId>
Liam Miller-Cushon2e513672022-02-02 16:52:08 -0800264 <version>3.3.1</version>
Liam Miller-Cushonf4d084a2021-06-15 19:16:54 -0700265 <configuration>
266 <source>8</source>
267 <detectJavaApiLink>false</detectJavaApiLink>
268 <notimestamp>true</notimestamp>
269 <doctitle>turbine ${project.version} API</doctitle>
270 </configuration>
271 </plugin>
cushonc5ee8762016-08-23 14:17:08 -0700272 </plugins>
273 </build>
Liam Miller-Cushon3d2be5e2021-06-21 17:16:23 -0700274
275 <distributionManagement>
276 <snapshotRepository>
277 <id>sonatype-nexus-snapshots</id>
278 <name>Sonatype Nexus Snapshots</name>
279 <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
280 </snapshotRepository>
281 <repository>
282 <id>sonatype-nexus-staging</id>
283 <name>Nexus Release Repository</name>
284 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
285 </repository>
286 </distributionManagement>
287
Liam Miller-Cushonb594e4b2018-09-09 16:56:59 -0700288 <profiles>
289 <profile>
Liam Miller-Cushon3d2be5e2021-06-21 17:16:23 -0700290 <id>sonatype-oss-release</id>
291 <build>
292 <plugins>
293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-source-plugin</artifactId>
296 <version>${maven-source-plugin.version}</version>
297 <executions>
298 <execution>
299 <id>attach-sources</id>
300 <goals>
301 <goal>jar-no-fork</goal>
302 </goals>
303 </execution>
304 </executions>
305 </plugin>
306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-javadoc-plugin</artifactId>
309 <version>${maven-javadoc-plugin.version}</version>
310 <executions>
311 <execution>
312 <id>attach-javadocs</id>
313 <goals>
314 <goal>jar</goal>
315 </goals>
316 </execution>
317 </executions>
318 </plugin>
319 <plugin>
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-gpg-plugin</artifactId>
dependabot[bot]658b7b32022-01-27 14:36:45 -0800322 <version>3.0.1</version>
Liam Miller-Cushon3d2be5e2021-06-21 17:16:23 -0700323 <executions>
324 <execution>
325 <id>sign-artifacts</id>
326 <phase>verify</phase>
327 <goals>
328 <goal>sign</goal>
329 </goals>
330 </execution>
331 </executions>
332 </plugin>
333 </plugins>
334 </build>
335 </profile>
Liam Miller-Cushonb594e4b2018-09-09 16:56:59 -0700336 </profiles>
cushonc5ee8762016-08-23 14:17:08 -0700337</project>