cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project |
| 3 | xmlns="http://maven.apache.org/POM/4.0.0" |
| 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 6 | <modelVersion>4.0.0</modelVersion> |
| 7 | |
| 8 | <groupId>com.google.turbine</groupId> |
| 9 | <artifactId>turbine</artifactId> |
| 10 | <version>0.1-SNAPSHOT</version> |
| 11 | |
| 12 | <name>turbine</name> |
| 13 | <description> |
| 14 | turbine is a header compiler for Java |
| 15 | </description> |
| 16 | |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 17 | <properties> |
cushon | 04ebb17 | 2018-08-08 10:53:04 -0700 | [diff] [blame] | 18 | <asm.version>6.2.1</asm.version> |
Liam Miller-Cushon | b594e4b | 2018-09-09 16:56:59 -0700 | [diff] [blame] | 19 | <javac.version>9+181-r4173-1</javac.version> |
cushon | 7867013 | 2018-10-21 15:10:51 -0700 | [diff] [blame] | 20 | <guava.version>25.1-jre</guava.version> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 21 | </properties> |
| 22 | |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 23 | <dependencies> |
| 24 | <dependency> |
| 25 | <groupId>com.google.guava</groupId> |
| 26 | <artifactId>guava</artifactId> |
cushon | 7867013 | 2018-10-21 15:10:51 -0700 | [diff] [blame] | 27 | <version>${guava.version}</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 28 | </dependency> |
| 29 | <dependency> |
cushon | f0e9744 | 2016-09-14 10:48:35 -0700 | [diff] [blame] | 30 | <groupId>com.google.errorprone</groupId> |
| 31 | <artifactId>error_prone_annotations</artifactId> |
cushon | d0fcced | 2018-04-09 22:38:11 -0700 | [diff] [blame] | 32 | <version>2.2.0</version> |
| 33 | </dependency> |
| 34 | <dependency> |
| 35 | <groupId>org.checkerframework</groupId> |
| 36 | <artifactId>checker-qual</artifactId> |
| 37 | <version>2.0.0</version> |
| 38 | <optional>true</optional> |
cushon | f0e9744 | 2016-09-14 10:48:35 -0700 | [diff] [blame] | 39 | </dependency> |
| 40 | <dependency> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 41 | <groupId>com.google.protobuf</groupId> |
| 42 | <artifactId>protobuf-java</artifactId> |
cushon | e75cc32 | 2016-10-21 11:49:46 -0700 | [diff] [blame] | 43 | <version>3.1.0</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 44 | </dependency> |
| 45 | <dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 46 | <groupId>org.ow2.asm</groupId> |
cushon | 3d542b8 | 2017-11-29 22:26:07 -0800 | [diff] [blame] | 47 | <artifactId>asm</artifactId> |
| 48 | <version>${asm.version}</version> |
| 49 | <scope>test</scope> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.ow2.asm</groupId> |
| 53 | <artifactId>asm-tree</artifactId> |
| 54 | <version>${asm.version}</version> |
| 55 | <scope>test</scope> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.ow2.asm</groupId> |
| 59 | <artifactId>asm-util</artifactId> |
| 60 | <version>${asm.version}</version> |
cushon | 783f80f | 2016-09-19 14:52:44 -0700 | [diff] [blame] | 61 | <scope>test</scope> |
| 62 | </dependency> |
| 63 | <dependency> |
Liam Miller-Cushon | b594e4b | 2018-09-09 16:56:59 -0700 | [diff] [blame] | 64 | <groupId>com.google.errorprone</groupId> |
| 65 | <artifactId>javac</artifactId> |
| 66 | <version>${javac.version}</version> |
| 67 | <scope>test</scope> |
| 68 | </dependency> |
| 69 | <dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 70 | <groupId>junit</groupId> |
| 71 | <artifactId>junit</artifactId> |
| 72 | <version>4.12</version> |
| 73 | <scope>test</scope> |
| 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>com.google.truth</groupId> |
| 77 | <artifactId>truth</artifactId> |
cushon | 8eab64c | 2018-08-24 09:56:22 -0700 | [diff] [blame] | 78 | <version>0.42</version> |
| 79 | <scope>test</scope> |
| 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>com.google.truth.extensions</groupId> |
| 83 | <artifactId>truth-java8-extension</artifactId> |
| 84 | <version>0.42</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 85 | <scope>test</scope> |
| 86 | </dependency> |
| 87 | <dependency> |
| 88 | <groupId>com.google.jimfs</groupId> |
| 89 | <artifactId>jimfs</artifactId> |
| 90 | <version>1.0</version> |
| 91 | <scope>test</scope> |
| 92 | </dependency> |
cushon | 7867013 | 2018-10-21 15:10:51 -0700 | [diff] [blame] | 93 | <dependency> |
| 94 | <groupId>com.google.guava</groupId> |
| 95 | <artifactId>guava-testlib</artifactId> |
| 96 | <version>${guava.version}</version> |
| 97 | <scope>test</scope> |
| 98 | </dependency> |
cushon | 3945405 | 2018-10-23 13:45:50 -0700 | [diff] [blame] | 99 | <dependency> |
| 100 | <groupId>com.google.auto.value</groupId> |
| 101 | <artifactId>auto-value</artifactId> |
| 102 | <version>1.5.3</version> |
| 103 | <scope>provided</scope> |
| 104 | </dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 105 | </dependencies> |
| 106 | |
| 107 | <build> |
| 108 | <sourceDirectory>java</sourceDirectory> |
| 109 | <testSourceDirectory>javatests</testSourceDirectory> |
| 110 | <testResources> |
| 111 | <testResource> |
| 112 | <directory>javatests</directory> |
| 113 | <includes> |
| 114 | <include>**/testdata/**</include> |
cushon | 97f8372 | 2018-08-02 10:19:44 -0700 | [diff] [blame] | 115 | <include>**/moduletestdata/**</include> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 116 | </includes> |
| 117 | </testResource> |
| 118 | </testResources> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 119 | <extensions> |
| 120 | <extension> |
| 121 | <groupId>kr.motd.maven</groupId> |
| 122 | <artifactId>os-maven-plugin</artifactId> |
cushon | e75cc32 | 2016-10-21 11:49:46 -0700 | [diff] [blame] | 123 | <version>1.4.0.Final</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 124 | </extension> |
| 125 | </extensions> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 126 | <plugins> |
| 127 | <plugin> |
| 128 | <groupId>org.apache.maven.plugins</groupId> |
| 129 | <artifactId>maven-compiler-plugin</artifactId> |
Liam Miller-Cushon | db60838 | 2018-10-17 21:33:39 -0700 | [diff] [blame] | 130 | <version>3.6.2</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 131 | <configuration> |
Liam Miller-Cushon | db60838 | 2018-10-17 21:33:39 -0700 | [diff] [blame] | 132 | <fork>true</fork> |
cushon | 7cc90d3 | 2016-09-15 17:11:01 -0700 | [diff] [blame] | 133 | <source>1.8</source> |
| 134 | <target>1.8</target> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 135 | <encoding>UTF-8</encoding> |
Liam Miller-Cushon | db60838 | 2018-10-17 21:33:39 -0700 | [diff] [blame] | 136 | <compilerArgument>-parameters</compilerArgument> |
| 137 | <testCompilerArgument>-parameters</testCompilerArgument> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 138 | </configuration> |
| 139 | </plugin> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 140 | <plugin> |
| 141 | <groupId>org.xolstice.maven.plugins</groupId> |
| 142 | <artifactId>protobuf-maven-plugin</artifactId> |
| 143 | <version>0.5.0</version> |
| 144 | <configuration> |
| 145 | <protoSourceRoot>proto</protoSourceRoot> |
cushon | e75cc32 | 2016-10-21 11:49:46 -0700 | [diff] [blame] | 146 | <protocArtifact>com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}</protocArtifact> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 147 | <pluginId>grpc-java</pluginId> |
| 148 | <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.0.1:exe:${os.detected.classifier}</pluginArtifact> |
| 149 | </configuration> |
| 150 | <executions> |
| 151 | <execution> |
| 152 | <goals> |
| 153 | <goal>compile</goal> |
| 154 | <goal>compile-custom</goal> |
| 155 | </goals> |
| 156 | </execution> |
| 157 | </executions> |
| 158 | </plugin> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 159 | <plugin> |
| 160 | <groupId>org.apache.maven.plugins</groupId> |
| 161 | <artifactId>maven-surefire-plugin</artifactId> |
| 162 | <version>2.19.1</version> |
| 163 | <configuration> |
Liam Miller-Cushon | 6067ffe | 2017-01-21 01:01:11 -0800 | [diff] [blame] | 164 | <!-- set heap size to work around http://github.com/travis-ci/travis-ci/issues/3396 --> |
cushon | 97f8372 | 2018-08-02 10:19:44 -0700 | [diff] [blame] | 165 | <argLine>-Xmx2g</argLine> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame] | 166 | </configuration> |
| 167 | </plugin> |
Liam Miller-Cushon | e098b2a | 2018-09-09 17:14:19 -0700 | [diff] [blame] | 168 | <plugin> |
| 169 | <groupId>org.apache.maven.plugins</groupId> |
| 170 | <artifactId>maven-shade-plugin</artifactId> |
| 171 | <version>2.4.3</version> |
| 172 | <executions> |
| 173 | <execution> |
| 174 | <id>shade-all-deps</id> |
| 175 | <phase>package</phase> |
| 176 | <goals> |
| 177 | <goal>shade</goal> |
| 178 | </goals> |
| 179 | <configuration> |
| 180 | <shadedArtifactAttached>true</shadedArtifactAttached> |
| 181 | <shadedClassifierName>all-deps</shadedClassifierName> |
| 182 | <createDependencyReducedPom>false</createDependencyReducedPom> |
| 183 | <!-- http://stackoverflow.com/a/6743609 --> |
| 184 | <filters> |
| 185 | <filter> |
| 186 | <artifact>*:*</artifact> |
| 187 | <excludes> |
| 188 | <exclude>META-INF/*.SF</exclude> |
| 189 | <exclude>META-INF/*.DSA</exclude> |
| 190 | <exclude>META-INF/*.RSA</exclude> |
| 191 | </excludes> |
| 192 | </filter> |
| 193 | </filters> |
| 194 | </configuration> |
| 195 | </execution> |
| 196 | </executions> |
| 197 | </plugin> |
| 198 | |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 199 | </plugins> |
| 200 | </build> |
Liam Miller-Cushon | b594e4b | 2018-09-09 16:56:59 -0700 | [diff] [blame] | 201 | <profiles> |
| 202 | <profile> |
| 203 | <id>java-8</id> |
| 204 | <activation> |
| 205 | <jdk>1.8</jdk> |
| 206 | </activation> |
| 207 | <build> |
| 208 | <plugins> |
| 209 | <plugin> |
| 210 | <groupId>org.apache.maven.plugins</groupId> |
| 211 | <artifactId>maven-surefire-plugin</artifactId> |
| 212 | <configuration> |
| 213 | <!-- put javac.jar on bootclasspath when executing tests --> |
| 214 | <argLine>-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</argLine> |
| 215 | </configuration> |
| 216 | </plugin> |
| 217 | </plugins> |
| 218 | </build> |
| 219 | </profile> |
| 220 | </profiles> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 221 | </project> |