blob: e8d643b5689453900ed672539b349cbfbbfd16e0 [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>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -080034 <guava.version>30.0-jre</guava.version>
Liam Miller-Cushoncef7d152021-09-23 17:01:33 -070035 <errorprone.version>2.9.0</errorprone.version>
Liam Miller-Cushon3d2be5e2021-06-21 17:16:23 -070036 <maven-javadoc-plugin.version>3.1.0</maven-javadoc-plugin.version>
37 <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>
cushon42a8f882016-12-07 11:54:56 -080039 </properties>
40
Liam Miller-Cushondd5dfec2021-07-21 19:11:11 -070041 <organization>
42 <name>Google Inc.</name>
43 <url>http://www.google.com/</url>
44 </organization>
45
46 <developers>
47 <developer>
48 <name>Liam Miller-Cushon</name>
49 </developer>
50 </developers>
51
cushonc5ee8762016-08-23 14:17:08 -070052 <dependencies>
53 <dependency>
54 <groupId>com.google.guava</groupId>
55 <artifactId>guava</artifactId>
cushon78670132018-10-21 15:10:51 -070056 <version>${guava.version}</version>
cushonc5ee8762016-08-23 14:17:08 -070057 </dependency>
58 <dependency>
cushonf0e97442016-09-14 10:48:35 -070059 <groupId>com.google.errorprone</groupId>
60 <artifactId>error_prone_annotations</artifactId>
Liam Miller-Cushona1dcaa62021-05-14 16:36:17 -070061 <version>${errorprone.version}</version>
cushond0fcced2018-04-09 22:38:11 -070062 </dependency>
63 <dependency>
Liam Miller-Cushon7903a852021-09-16 17:53:37 -070064 <groupId>org.jspecify</groupId>
65 <artifactId>jspecify</artifactId>
66 <version>0.2.0</version>
cushond0fcced2018-04-09 22:38:11 -070067 <optional>true</optional>
cushonf0e97442016-09-14 10:48:35 -070068 </dependency>
69 <dependency>
cushon667facf2016-10-20 14:07:39 -070070 <groupId>com.google.protobuf</groupId>
71 <artifactId>protobuf-java</artifactId>
dependabot[bot]d5d12a22022-01-14 11:21:27 -080072 <version>3.19.3</version>
cushon667facf2016-10-20 14:07:39 -070073 </dependency>
74 <dependency>
cushonc5ee8762016-08-23 14:17:08 -070075 <groupId>org.ow2.asm</groupId>
cushon3d542b82017-11-29 22:26:07 -080076 <artifactId>asm</artifactId>
77 <version>${asm.version}</version>
78 <scope>test</scope>
79 </dependency>
80 <dependency>
81 <groupId>org.ow2.asm</groupId>
82 <artifactId>asm-tree</artifactId>
83 <version>${asm.version}</version>
84 <scope>test</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.ow2.asm</groupId>
88 <artifactId>asm-util</artifactId>
89 <version>${asm.version}</version>
cushon783f80f2016-09-19 14:52:44 -070090 <scope>test</scope>
91 </dependency>
92 <dependency>
cushonc5ee8762016-08-23 14:17:08 -070093 <groupId>junit</groupId>
94 <artifactId>junit</artifactId>
dependabot[bot]df4d4742022-01-12 12:53:50 -080095 <version>4.13.2</version>
cushonc5ee8762016-08-23 14:17:08 -070096 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>com.google.truth</groupId>
100 <artifactId>truth</artifactId>
dependabot[bot]9065e742022-01-12 13:37:20 -0800101 <version>1.1.3</version>
cushon0db7a282019-08-12 10:37:45 -0700102 <scope>test</scope>
103 </dependency>
104 <dependency>
105 <groupId>com.google.truth.extensions</groupId>
106 <artifactId>truth-proto-extension</artifactId>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800107 <version>1.1</version>
cushon8eab64c2018-08-24 09:56:22 -0700108 <scope>test</scope>
109 </dependency>
110 <dependency>
111 <groupId>com.google.truth.extensions</groupId>
112 <artifactId>truth-java8-extension</artifactId>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800113 <version>1.1</version>
cushonc5ee8762016-08-23 14:17:08 -0700114 <scope>test</scope>
115 </dependency>
116 <dependency>
117 <groupId>com.google.jimfs</groupId>
118 <artifactId>jimfs</artifactId>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800119 <version>1.2</version>
cushonc5ee8762016-08-23 14:17:08 -0700120 <scope>test</scope>
121 </dependency>
cushon78670132018-10-21 15:10:51 -0700122 <dependency>
123 <groupId>com.google.guava</groupId>
124 <artifactId>guava-testlib</artifactId>
125 <version>${guava.version}</version>
126 <scope>test</scope>
127 </dependency>
cushon39454052018-10-23 13:45:50 -0700128 <dependency>
129 <groupId>com.google.auto.value</groupId>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800130 <artifactId>auto-value-annotations</artifactId>
131 <version>1.7.4</version>
cushon39454052018-10-23 13:45:50 -0700132 <scope>provided</scope>
133 </dependency>
Liam Miller-Cushonb02c9b72021-08-19 17:08:08 -0700134 <dependency>
135 <groupId>com.google.auto</groupId>
136 <artifactId>auto-common</artifactId>
137 <version>1.1.2</version>
138 <scope>test</scope>
139 </dependency>
cushonc5ee8762016-08-23 14:17:08 -0700140 </dependencies>
141
142 <build>
143 <sourceDirectory>java</sourceDirectory>
144 <testSourceDirectory>javatests</testSourceDirectory>
145 <testResources>
146 <testResource>
147 <directory>javatests</directory>
148 <includes>
149 <include>**/testdata/**</include>
cushon97f83722018-08-02 10:19:44 -0700150 <include>**/moduletestdata/**</include>
cushonc5ee8762016-08-23 14:17:08 -0700151 </includes>
152 </testResource>
153 </testResources>
cushon667facf2016-10-20 14:07:39 -0700154 <extensions>
155 <extension>
156 <groupId>kr.motd.maven</groupId>
157 <artifactId>os-maven-plugin</artifactId>
cushone75cc322016-10-21 11:49:46 -0700158 <version>1.4.0.Final</version>
cushon667facf2016-10-20 14:07:39 -0700159 </extension>
160 </extensions>
cushonc5ee8762016-08-23 14:17:08 -0700161 <plugins>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-compiler-plugin</artifactId>
dependabot[bot]2e516922022-01-14 11:22:40 -0800165 <version>3.9.0</version>
cushonc5ee8762016-08-23 14:17:08 -0700166 <configuration>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800167 <source>8</source>
168 <target>8</target>
cushonc5ee8762016-08-23 14:17:08 -0700169 <encoding>UTF-8</encoding>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800170 <compilerArgs>
171 <arg>-parameters</arg>
172 <arg>-XDcompilePolicy=simple</arg>
173 <arg>-Xplugin:ErrorProne</arg>
174 </compilerArgs>
175 <annotationProcessorPaths>
176 <path>
177 <groupId>com.google.errorprone</groupId>
178 <artifactId>error_prone_core</artifactId>
Liam Miller-Cushona1dcaa62021-05-14 16:36:17 -0700179 <version>${errorprone.version}</version>
Liam Miller-Cushonb470d532021-01-15 17:19:20 -0800180 </path>
181 <path>
182 <groupId>com.google.auto.value</groupId>
183 <artifactId>auto-value</artifactId>
184 <version>1.7.4</version>
185 </path>
186 </annotationProcessorPaths>
cushonc5ee8762016-08-23 14:17:08 -0700187 </configuration>
188 </plugin>
cushon667facf2016-10-20 14:07:39 -0700189 <plugin>
190 <groupId>org.xolstice.maven.plugins</groupId>
191 <artifactId>protobuf-maven-plugin</artifactId>
dependabot[bot]4ede66c2022-01-14 11:20:33 -0800192 <version>0.6.1</version>
cushon667facf2016-10-20 14:07:39 -0700193 <configuration>
194 <protoSourceRoot>proto</protoSourceRoot>
cushone75cc322016-10-21 11:49:46 -0700195 <protocArtifact>com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}</protocArtifact>
cushon667facf2016-10-20 14:07:39 -0700196 <pluginId>grpc-java</pluginId>
197 <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.0.1:exe:${os.detected.classifier}</pluginArtifact>
198 </configuration>
199 <executions>
200 <execution>
201 <goals>
202 <goal>compile</goal>
203 <goal>compile-custom</goal>
204 </goals>
205 </execution>
206 </executions>
207 </plugin>
cushon42a8f882016-12-07 11:54:56 -0800208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-surefire-plugin</artifactId>
211 <version>2.19.1</version>
212 <configuration>
Liam Miller-Cushon6067ffe2017-01-21 01:01:11 -0800213 <!-- set heap size to work around http://github.com/travis-ci/travis-ci/issues/3396 -->
Liam Miller-Cushon5973e512021-06-15 18:02:41 -0700214 <argLine>
215 -Xmx2g
216 --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
217 --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
218 --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
219 --add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
220 --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
221 --add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
222 --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
223 --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
224 --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
225 --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
226 </argLine>
cushon42a8f882016-12-07 11:54:56 -0800227 </configuration>
228 </plugin>
Liam Miller-Cushone098b2a2018-09-09 17:14:19 -0700229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-shade-plugin</artifactId>
232 <version>2.4.3</version>
233 <executions>
234 <execution>
235 <id>shade-all-deps</id>
236 <phase>package</phase>
237 <goals>
238 <goal>shade</goal>
239 </goals>
240 <configuration>
241 <shadedArtifactAttached>true</shadedArtifactAttached>
242 <shadedClassifierName>all-deps</shadedClassifierName>
243 <createDependencyReducedPom>false</createDependencyReducedPom>
244 <!-- http://stackoverflow.com/a/6743609 -->
245 <filters>
246 <filter>
247 <artifact>*:*</artifact>
248 <excludes>
249 <exclude>META-INF/*.SF</exclude>
250 <exclude>META-INF/*.DSA</exclude>
251 <exclude>META-INF/*.RSA</exclude>
252 </excludes>
253 </filter>
254 </filters>
255 </configuration>
256 </execution>
257 </executions>
258 </plugin>
Liam Miller-Cushonf4d084a2021-06-15 19:16:54 -0700259 <plugin>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-javadoc-plugin</artifactId>
262 <version>3.1.1</version>
263 <configuration>
264 <source>8</source>
265 <detectJavaApiLink>false</detectJavaApiLink>
266 <notimestamp>true</notimestamp>
267 <doctitle>turbine ${project.version} API</doctitle>
268 </configuration>
269 </plugin>
cushonc5ee8762016-08-23 14:17:08 -0700270 </plugins>
271 </build>
Liam Miller-Cushon3d2be5e2021-06-21 17:16:23 -0700272
273 <distributionManagement>
274 <snapshotRepository>
275 <id>sonatype-nexus-snapshots</id>
276 <name>Sonatype Nexus Snapshots</name>
277 <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
278 </snapshotRepository>
279 <repository>
280 <id>sonatype-nexus-staging</id>
281 <name>Nexus Release Repository</name>
282 <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
283 </repository>
284 </distributionManagement>
285
Liam Miller-Cushonb594e4b2018-09-09 16:56:59 -0700286 <profiles>
287 <profile>
Liam Miller-Cushon3d2be5e2021-06-21 17:16:23 -0700288 <id>sonatype-oss-release</id>
289 <build>
290 <plugins>
291 <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-source-plugin</artifactId>
294 <version>${maven-source-plugin.version}</version>
295 <executions>
296 <execution>
297 <id>attach-sources</id>
298 <goals>
299 <goal>jar-no-fork</goal>
300 </goals>
301 </execution>
302 </executions>
303 </plugin>
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-javadoc-plugin</artifactId>
307 <version>${maven-javadoc-plugin.version}</version>
308 <executions>
309 <execution>
310 <id>attach-javadocs</id>
311 <goals>
312 <goal>jar</goal>
313 </goals>
314 </execution>
315 </executions>
316 </plugin>
317 <plugin>
318 <groupId>org.apache.maven.plugins</groupId>
319 <artifactId>maven-gpg-plugin</artifactId>
320 <version>1.6</version>
321 <executions>
322 <execution>
323 <id>sign-artifacts</id>
324 <phase>verify</phase>
325 <goals>
326 <goal>sign</goal>
327 </goals>
328 </execution>
329 </executions>
330 </plugin>
331 </plugins>
332 </build>
333 </profile>
Liam Miller-Cushonb594e4b2018-09-09 16:56:59 -0700334 </profiles>
cushonc5ee8762016-08-23 14:17:08 -0700335</project>