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> |
Liam Miller-Cushon | 2e51367 | 2022-02-02 16:52:08 -0800 | [diff] [blame] | 35 | <errorprone.version>2.11.0</errorprone.version> |
| 36 | <maven-javadoc-plugin.version>3.3.1</maven-javadoc-plugin.version> |
Liam Miller-Cushon | 3d2be5e | 2021-06-21 17:16:23 -0700 | [diff] [blame] | 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> |
Liam Miller-Cushon | e72ca42 | 2022-01-25 11:08:19 -0800 | [diff] [blame] | 39 | <protobuf.version>3.19.2</protobuf.version> |
| 40 | <grpc.version>1.43.2</grpc.version> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 41 | </properties> |
| 42 | |
Liam Miller-Cushon | dd5dfec | 2021-07-21 19:11:11 -0700 | [diff] [blame] | 43 | <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 | |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 54 | <dependencies> |
| 55 | <dependency> |
| 56 | <groupId>com.google.guava</groupId> |
| 57 | <artifactId>guava</artifactId> |
cushon | 7867013 | 2018-10-21 15:10:51 -0700 | [diff] [blame] | 58 | <version>${guava.version}</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 59 | </dependency> |
| 60 | <dependency> |
cushon | f0e9744 | 2016-09-14 10:48:35 -0700 | [diff] [blame] | 61 | <groupId>com.google.errorprone</groupId> |
| 62 | <artifactId>error_prone_annotations</artifactId> |
Liam Miller-Cushon | a1dcaa6 | 2021-05-14 16:36:17 -0700 | [diff] [blame] | 63 | <version>${errorprone.version}</version> |
cushon | d0fcced | 2018-04-09 22:38:11 -0700 | [diff] [blame] | 64 | </dependency> |
| 65 | <dependency> |
Liam Miller-Cushon | 7903a85 | 2021-09-16 17:53:37 -0700 | [diff] [blame] | 66 | <groupId>org.jspecify</groupId> |
| 67 | <artifactId>jspecify</artifactId> |
| 68 | <version>0.2.0</version> |
cushon | d0fcced | 2018-04-09 22:38:11 -0700 | [diff] [blame] | 69 | <optional>true</optional> |
cushon | f0e9744 | 2016-09-14 10:48:35 -0700 | [diff] [blame] | 70 | </dependency> |
| 71 | <dependency> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 72 | <groupId>com.google.protobuf</groupId> |
| 73 | <artifactId>protobuf-java</artifactId> |
Liam Miller-Cushon | e72ca42 | 2022-01-25 11:08:19 -0800 | [diff] [blame] | 74 | <version>${protobuf.version}</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 75 | </dependency> |
| 76 | <dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 77 | <groupId>org.ow2.asm</groupId> |
cushon | 3d542b8 | 2017-11-29 22:26:07 -0800 | [diff] [blame] | 78 | <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> |
cushon | 783f80f | 2016-09-19 14:52:44 -0700 | [diff] [blame] | 92 | <scope>test</scope> |
| 93 | </dependency> |
| 94 | <dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 95 | <groupId>junit</groupId> |
| 96 | <artifactId>junit</artifactId> |
dependabot[bot] | df4d474 | 2022-01-12 12:53:50 -0800 | [diff] [blame] | 97 | <version>4.13.2</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 98 | <scope>test</scope> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>com.google.truth</groupId> |
| 102 | <artifactId>truth</artifactId> |
dependabot[bot] | 9065e74 | 2022-01-12 13:37:20 -0800 | [diff] [blame] | 103 | <version>1.1.3</version> |
cushon | 0db7a28 | 2019-08-12 10:37:45 -0700 | [diff] [blame] | 104 | <scope>test</scope> |
| 105 | </dependency> |
| 106 | <dependency> |
| 107 | <groupId>com.google.truth.extensions</groupId> |
| 108 | <artifactId>truth-proto-extension</artifactId> |
Liam Miller-Cushon | fe9cf7f | 2022-01-22 00:00:17 -0800 | [diff] [blame] | 109 | <version>1.1.3</version> |
cushon | 8eab64c | 2018-08-24 09:56:22 -0700 | [diff] [blame] | 110 | <scope>test</scope> |
| 111 | </dependency> |
| 112 | <dependency> |
| 113 | <groupId>com.google.truth.extensions</groupId> |
| 114 | <artifactId>truth-java8-extension</artifactId> |
Liam Miller-Cushon | fe9cf7f | 2022-01-22 00:00:17 -0800 | [diff] [blame] | 115 | <version>1.1.3</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 116 | <scope>test</scope> |
| 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>com.google.jimfs</groupId> |
| 120 | <artifactId>jimfs</artifactId> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 121 | <version>1.2</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 122 | <scope>test</scope> |
| 123 | </dependency> |
cushon | 7867013 | 2018-10-21 15:10:51 -0700 | [diff] [blame] | 124 | <dependency> |
| 125 | <groupId>com.google.guava</groupId> |
| 126 | <artifactId>guava-testlib</artifactId> |
| 127 | <version>${guava.version}</version> |
| 128 | <scope>test</scope> |
| 129 | </dependency> |
cushon | 3945405 | 2018-10-23 13:45:50 -0700 | [diff] [blame] | 130 | <dependency> |
| 131 | <groupId>com.google.auto.value</groupId> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 132 | <artifactId>auto-value-annotations</artifactId> |
Liam Miller-Cushon | fe9cf7f | 2022-01-22 00:00:17 -0800 | [diff] [blame] | 133 | <version>1.9</version> |
cushon | 3945405 | 2018-10-23 13:45:50 -0700 | [diff] [blame] | 134 | <scope>provided</scope> |
| 135 | </dependency> |
Liam Miller-Cushon | b02c9b7 | 2021-08-19 17:08:08 -0700 | [diff] [blame] | 136 | <dependency> |
| 137 | <groupId>com.google.auto</groupId> |
| 138 | <artifactId>auto-common</artifactId> |
Liam Miller-Cushon | fe9cf7f | 2022-01-22 00:00:17 -0800 | [diff] [blame] | 139 | <version>1.2.1</version> |
Liam Miller-Cushon | b02c9b7 | 2021-08-19 17:08:08 -0700 | [diff] [blame] | 140 | <scope>test</scope> |
| 141 | </dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 142 | </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> |
cushon | 97f8372 | 2018-08-02 10:19:44 -0700 | [diff] [blame] | 152 | <include>**/moduletestdata/**</include> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 153 | </includes> |
| 154 | </testResource> |
| 155 | </testResources> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 156 | <extensions> |
| 157 | <extension> |
| 158 | <groupId>kr.motd.maven</groupId> |
| 159 | <artifactId>os-maven-plugin</artifactId> |
Liam Miller-Cushon | 2e51367 | 2022-02-02 16:52:08 -0800 | [diff] [blame] | 160 | <version>1.7.0</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 161 | </extension> |
| 162 | </extensions> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 163 | <plugins> |
| 164 | <plugin> |
| 165 | <groupId>org.apache.maven.plugins</groupId> |
| 166 | <artifactId>maven-compiler-plugin</artifactId> |
dependabot[bot] | 2e51692 | 2022-01-14 11:22:40 -0800 | [diff] [blame] | 167 | <version>3.9.0</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 168 | <configuration> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 169 | <source>8</source> |
| 170 | <target>8</target> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 171 | <encoding>UTF-8</encoding> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 172 | <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-Cushon | a1dcaa6 | 2021-05-14 16:36:17 -0700 | [diff] [blame] | 181 | <version>${errorprone.version}</version> |
Liam Miller-Cushon | b470d53 | 2021-01-15 17:19:20 -0800 | [diff] [blame] | 182 | </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> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 189 | </configuration> |
| 190 | </plugin> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 191 | <plugin> |
| 192 | <groupId>org.xolstice.maven.plugins</groupId> |
| 193 | <artifactId>protobuf-maven-plugin</artifactId> |
dependabot[bot] | 4ede66c | 2022-01-14 11:20:33 -0800 | [diff] [blame] | 194 | <version>0.6.1</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 195 | <configuration> |
| 196 | <protoSourceRoot>proto</protoSourceRoot> |
Liam Miller-Cushon | e72ca42 | 2022-01-25 11:08:19 -0800 | [diff] [blame] | 197 | <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 198 | <pluginId>grpc-java</pluginId> |
Liam Miller-Cushon | e72ca42 | 2022-01-25 11:08:19 -0800 | [diff] [blame] | 199 | <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 200 | </configuration> |
| 201 | <executions> |
| 202 | <execution> |
| 203 | <goals> |
| 204 | <goal>compile</goal> |
| 205 | <goal>compile-custom</goal> |
| 206 | </goals> |
| 207 | </execution> |
| 208 | </executions> |
| 209 | </plugin> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 210 | <plugin> |
| 211 | <groupId>org.apache.maven.plugins</groupId> |
| 212 | <artifactId>maven-surefire-plugin</artifactId> |
Liam Miller-Cushon | 2e51367 | 2022-02-02 16:52:08 -0800 | [diff] [blame] | 213 | <version>2.22.2</version> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 214 | <configuration> |
Liam Miller-Cushon | 6067ffe | 2017-01-21 01:01:11 -0800 | [diff] [blame] | 215 | <!-- 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] | 216 | <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> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 229 | </configuration> |
| 230 | </plugin> |
Liam Miller-Cushon | e098b2a | 2018-09-09 17:14:19 -0700 | [diff] [blame] | 231 | <plugin> |
| 232 | <groupId>org.apache.maven.plugins</groupId> |
| 233 | <artifactId>maven-shade-plugin</artifactId> |
Liam Miller-Cushon | 2e51367 | 2022-02-02 16:52:08 -0800 | [diff] [blame] | 234 | <version>3.2.4</version> |
Liam Miller-Cushon | e098b2a | 2018-09-09 17:14:19 -0700 | [diff] [blame] | 235 | <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-Cushon | f4d084a | 2021-06-15 19:16:54 -0700 | [diff] [blame] | 261 | <plugin> |
| 262 | <groupId>org.apache.maven.plugins</groupId> |
| 263 | <artifactId>maven-javadoc-plugin</artifactId> |
Liam Miller-Cushon | 2e51367 | 2022-02-02 16:52:08 -0800 | [diff] [blame] | 264 | <version>3.3.1</version> |
Liam Miller-Cushon | f4d084a | 2021-06-15 19:16:54 -0700 | [diff] [blame] | 265 | <configuration> |
| 266 | <source>8</source> |
| 267 | <detectJavaApiLink>false</detectJavaApiLink> |
| 268 | <notimestamp>true</notimestamp> |
| 269 | <doctitle>turbine ${project.version} API</doctitle> |
| 270 | </configuration> |
| 271 | </plugin> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 272 | </plugins> |
| 273 | </build> |
Liam Miller-Cushon | 3d2be5e | 2021-06-21 17:16:23 -0700 | [diff] [blame] | 274 | |
| 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-Cushon | b594e4b | 2018-09-09 16:56:59 -0700 | [diff] [blame] | 288 | <profiles> |
| 289 | <profile> |
Liam Miller-Cushon | 3d2be5e | 2021-06-21 17:16:23 -0700 | [diff] [blame] | 290 | <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] | 658b7b3 | 2022-01-27 14:36:45 -0800 | [diff] [blame] | 322 | <version>3.0.1</version> |
Liam Miller-Cushon | 3d2be5e | 2021-06-21 17:16:23 -0700 | [diff] [blame] | 323 | <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-Cushon | b594e4b | 2018-09-09 16:56:59 -0700 | [diff] [blame] | 336 | </profiles> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 337 | </project> |