cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Eddie Aftandilian | 078b0d5 | 2020-07-13 17:43:46 -0700 | [diff] [blame] | 2 | <!-- |
| 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 | |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 18 | <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-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 26 | <version>HEAD-SNAPSHOT</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 27 | |
| 28 | <name>turbine</name> |
Liam Miller-Cushon | dd5dfec | 2021-07-21 19:11:11 -0700 | [diff] [blame] | 29 | <description>turbine is a header compiler for Java</description> |
| 30 | <url>https://github.com/google/turbine</url> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 31 | |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 32 | <properties> |
Liam Miller-Cushon | dd6d554 | 2021-09-27 16:16:15 -0700 | [diff] [blame] | 33 | <asm.version>9.2</asm.version> |
Chris Povirk | b51780c | 2022-01-25 08:07:13 -0800 | [diff] [blame^] | 34 | <guava.version>31.0.1-jre</guava.version> |
dependabot[bot] | ceff7dc | 2022-01-14 11:22:49 -0800 | [diff] [blame] | 35 | <errorprone.version>2.10.0</errorprone.version> |
Liam Miller-Cushon | 3d2be5e | 2021-06-21 17:16:23 -0700 | [diff] [blame] | 36 | <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-Cushon | 7a5c416 | 2020-12-10 21:41:59 -0800 | [diff] [blame] | 38 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 39 | </properties> |
| 40 | |
Liam Miller-Cushon | dd5dfec | 2021-07-21 19:11:11 -0700 | [diff] [blame] | 41 | <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 | |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 52 | <dependencies> |
| 53 | <dependency> |
| 54 | <groupId>com.google.guava</groupId> |
| 55 | <artifactId>guava</artifactId> |
cushon | 7867013 | 2018-10-21 15:10:51 -0700 | [diff] [blame] | 56 | <version>${guava.version}</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 57 | </dependency> |
| 58 | <dependency> |
cushon | f0e9744 | 2016-09-14 10:48:35 -0700 | [diff] [blame] | 59 | <groupId>com.google.errorprone</groupId> |
| 60 | <artifactId>error_prone_annotations</artifactId> |
Liam Miller-Cushon | a1dcaa6 | 2021-05-14 16:36:17 -0700 | [diff] [blame] | 61 | <version>${errorprone.version}</version> |
cushon | d0fcced | 2018-04-09 22:38:11 -0700 | [diff] [blame] | 62 | </dependency> |
| 63 | <dependency> |
Liam Miller-Cushon | 7903a85 | 2021-09-16 17:53:37 -0700 | [diff] [blame] | 64 | <groupId>org.jspecify</groupId> |
| 65 | <artifactId>jspecify</artifactId> |
| 66 | <version>0.2.0</version> |
cushon | d0fcced | 2018-04-09 22:38:11 -0700 | [diff] [blame] | 67 | <optional>true</optional> |
cushon | f0e9744 | 2016-09-14 10:48:35 -0700 | [diff] [blame] | 68 | </dependency> |
| 69 | <dependency> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 70 | <groupId>com.google.protobuf</groupId> |
| 71 | <artifactId>protobuf-java</artifactId> |
Chris Povirk | b51780c | 2022-01-25 08:07:13 -0800 | [diff] [blame^] | 72 | <version>4.0.0-rc-2</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 73 | </dependency> |
| 74 | <dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 75 | <groupId>org.ow2.asm</groupId> |
cushon | 3d542b8 | 2017-11-29 22:26:07 -0800 | [diff] [blame] | 76 | <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> |
cushon | 783f80f | 2016-09-19 14:52:44 -0700 | [diff] [blame] | 90 | <scope>test</scope> |
| 91 | </dependency> |
| 92 | <dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 93 | <groupId>junit</groupId> |
| 94 | <artifactId>junit</artifactId> |
dependabot[bot] | df4d474 | 2022-01-12 12:53:50 -0800 | [diff] [blame] | 95 | <version>4.13.2</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 96 | <scope>test</scope> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>com.google.truth</groupId> |
| 100 | <artifactId>truth</artifactId> |
dependabot[bot] | 9065e74 | 2022-01-12 13:37:20 -0800 | [diff] [blame] | 101 | <version>1.1.3</version> |
cushon | 0db7a28 | 2019-08-12 10:37:45 -0700 | [diff] [blame] | 102 | <scope>test</scope> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>com.google.truth.extensions</groupId> |
| 106 | <artifactId>truth-proto-extension</artifactId> |
Liam Miller-Cushon | fe9cf7f | 2022-01-22 00:00:17 -0800 | [diff] [blame] | 107 | <version>1.1.3</version> |
cushon | 8eab64c | 2018-08-24 09:56:22 -0700 | [diff] [blame] | 108 | <scope>test</scope> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>com.google.truth.extensions</groupId> |
| 112 | <artifactId>truth-java8-extension</artifactId> |
Liam Miller-Cushon | fe9cf7f | 2022-01-22 00:00:17 -0800 | [diff] [blame] | 113 | <version>1.1.3</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 114 | <scope>test</scope> |
| 115 | </dependency> |
| 116 | <dependency> |
| 117 | <groupId>com.google.jimfs</groupId> |
| 118 | <artifactId>jimfs</artifactId> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 119 | <version>1.2</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 120 | <scope>test</scope> |
| 121 | </dependency> |
cushon | 7867013 | 2018-10-21 15:10:51 -0700 | [diff] [blame] | 122 | <dependency> |
| 123 | <groupId>com.google.guava</groupId> |
| 124 | <artifactId>guava-testlib</artifactId> |
| 125 | <version>${guava.version}</version> |
| 126 | <scope>test</scope> |
| 127 | </dependency> |
cushon | 3945405 | 2018-10-23 13:45:50 -0700 | [diff] [blame] | 128 | <dependency> |
| 129 | <groupId>com.google.auto.value</groupId> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 130 | <artifactId>auto-value-annotations</artifactId> |
Liam Miller-Cushon | fe9cf7f | 2022-01-22 00:00:17 -0800 | [diff] [blame] | 131 | <version>1.9</version> |
cushon | 3945405 | 2018-10-23 13:45:50 -0700 | [diff] [blame] | 132 | <scope>provided</scope> |
| 133 | </dependency> |
Liam Miller-Cushon | b02c9b7 | 2021-08-19 17:08:08 -0700 | [diff] [blame] | 134 | <dependency> |
| 135 | <groupId>com.google.auto</groupId> |
| 136 | <artifactId>auto-common</artifactId> |
Liam Miller-Cushon | fe9cf7f | 2022-01-22 00:00:17 -0800 | [diff] [blame] | 137 | <version>1.2.1</version> |
Liam Miller-Cushon | b02c9b7 | 2021-08-19 17:08:08 -0700 | [diff] [blame] | 138 | <scope>test</scope> |
| 139 | </dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 140 | </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> |
cushon | 97f8372 | 2018-08-02 10:19:44 -0700 | [diff] [blame] | 150 | <include>**/moduletestdata/**</include> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 151 | </includes> |
| 152 | </testResource> |
| 153 | </testResources> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 154 | <extensions> |
| 155 | <extension> |
| 156 | <groupId>kr.motd.maven</groupId> |
| 157 | <artifactId>os-maven-plugin</artifactId> |
cushon | e75cc32 | 2016-10-21 11:49:46 -0700 | [diff] [blame] | 158 | <version>1.4.0.Final</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 159 | </extension> |
| 160 | </extensions> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 161 | <plugins> |
| 162 | <plugin> |
| 163 | <groupId>org.apache.maven.plugins</groupId> |
| 164 | <artifactId>maven-compiler-plugin</artifactId> |
dependabot[bot] | 2e51692 | 2022-01-14 11:22:40 -0800 | [diff] [blame] | 165 | <version>3.9.0</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 166 | <configuration> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 167 | <source>8</source> |
| 168 | <target>8</target> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 169 | <encoding>UTF-8</encoding> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 170 | <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-Cushon | a1dcaa6 | 2021-05-14 16:36:17 -0700 | [diff] [blame] | 179 | <version>${errorprone.version}</version> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 180 | </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> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 187 | </configuration> |
| 188 | </plugin> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 189 | <plugin> |
| 190 | <groupId>org.xolstice.maven.plugins</groupId> |
| 191 | <artifactId>protobuf-maven-plugin</artifactId> |
dependabot[bot] | 4ede66c | 2022-01-14 11:20:33 -0800 | [diff] [blame] | 192 | <version>0.6.1</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 193 | <configuration> |
| 194 | <protoSourceRoot>proto</protoSourceRoot> |
cushon | e75cc32 | 2016-10-21 11:49:46 -0700 | [diff] [blame] | 195 | <protocArtifact>com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}</protocArtifact> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 196 | <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> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 208 | <plugin> |
| 209 | <groupId>org.apache.maven.plugins</groupId> |
| 210 | <artifactId>maven-surefire-plugin</artifactId> |
| 211 | <version>2.19.1</version> |
| 212 | <configuration> |
Liam Miller-Cushon | 6067ffe | 2017-01-21 01:01:11 -0800 | [diff] [blame] | 213 | <!-- set heap size to work around http://github.com/travis-ci/travis-ci/issues/3396 --> |
Liam Miller-Cushon | 5973e51 | 2021-06-15 18:02:41 -0700 | [diff] [blame] | 214 | <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> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 227 | </configuration> |
| 228 | </plugin> |
Liam Miller-Cushon | e098b2a | 2018-09-09 17:14:19 -0700 | [diff] [blame] | 229 | <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-Cushon | f4d084a | 2021-06-15 19:16:54 -0700 | [diff] [blame] | 259 | <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> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 270 | </plugins> |
| 271 | </build> |
Liam Miller-Cushon | 3d2be5e | 2021-06-21 17:16:23 -0700 | [diff] [blame] | 272 | |
| 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-Cushon | b594e4b | 2018-09-09 16:56:59 -0700 | [diff] [blame] | 286 | <profiles> |
| 287 | <profile> |
Liam Miller-Cushon | 3d2be5e | 2021-06-21 17:16:23 -0700 | [diff] [blame] | 288 | <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-Cushon | b594e4b | 2018-09-09 16:56:59 -0700 | [diff] [blame] | 334 | </profiles> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 335 | </project> |