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> |
| 18 | <javac.version>9-dev-r3297-1</javac.version> |
| 19 | </properties> |
| 20 | |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 21 | <dependencies> |
| 22 | <dependency> |
| 23 | <groupId>com.google.guava</groupId> |
| 24 | <artifactId>guava</artifactId> |
| 25 | <version>19.0</version> |
| 26 | </dependency> |
| 27 | <dependency> |
| 28 | <groupId>com.google.code.findbugs</groupId> |
| 29 | <artifactId>jsr305</artifactId> |
| 30 | <version>2.0.1</version> |
| 31 | </dependency> |
| 32 | <dependency> |
cushon | f0e9744 | 2016-09-14 10:48:35 -0700 | [diff] [blame] | 33 | <groupId>com.google.errorprone</groupId> |
| 34 | <artifactId>error_prone_annotations</artifactId> |
| 35 | <version>2.0.12</version> |
| 36 | </dependency> |
| 37 | <dependency> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 38 | <groupId>com.google.protobuf</groupId> |
| 39 | <artifactId>protobuf-java</artifactId> |
cushon | e75cc32 | 2016-10-21 11:49:46 -0700 | [diff] [blame] | 40 | <version>3.1.0</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 41 | </dependency> |
| 42 | <dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 43 | <groupId>org.ow2.asm</groupId> |
cushon | f3df8fd | 2016-10-21 11:56:46 -0700 | [diff] [blame] | 44 | <artifactId>asm-debug-all</artifactId> |
| 45 | <version>5.1</version> |
cushon | 783f80f | 2016-09-19 14:52:44 -0700 | [diff] [blame] | 46 | <scope>test</scope> |
| 47 | </dependency> |
| 48 | <dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 49 | <groupId>com.google.errorprone</groupId> |
| 50 | <artifactId>javac</artifactId> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame^] | 51 | <version>${javac.version}</version> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 52 | <scope>test</scope> |
| 53 | </dependency> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame^] | 54 | <!-- required for javap task --> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 55 | <dependency> |
cushon | 4b69277 | 2016-10-24 17:30:38 -0700 | [diff] [blame] | 56 | <groupId>com.sun</groupId> |
| 57 | <artifactId>tools</artifactId> |
| 58 | <scope>system</scope> |
| 59 | <optional>true</optional> |
| 60 | <version>1.8</version> |
| 61 | <systemPath>${java.home}/../lib/tools.jar</systemPath> |
| 62 | </dependency> |
| 63 | <dependency> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 64 | <groupId>junit</groupId> |
| 65 | <artifactId>junit</artifactId> |
| 66 | <version>4.12</version> |
| 67 | <scope>test</scope> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>com.google.truth</groupId> |
| 71 | <artifactId>truth</artifactId> |
| 72 | <version>0.25</version> |
| 73 | <scope>test</scope> |
| 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>com.google.jimfs</groupId> |
| 77 | <artifactId>jimfs</artifactId> |
| 78 | <version>1.0</version> |
| 79 | <scope>test</scope> |
| 80 | </dependency> |
| 81 | </dependencies> |
| 82 | |
| 83 | <build> |
| 84 | <sourceDirectory>java</sourceDirectory> |
| 85 | <testSourceDirectory>javatests</testSourceDirectory> |
| 86 | <testResources> |
| 87 | <testResource> |
| 88 | <directory>javatests</directory> |
| 89 | <includes> |
| 90 | <include>**/testdata/**</include> |
| 91 | </includes> |
| 92 | </testResource> |
| 93 | </testResources> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 94 | <extensions> |
| 95 | <extension> |
| 96 | <groupId>kr.motd.maven</groupId> |
| 97 | <artifactId>os-maven-plugin</artifactId> |
cushon | e75cc32 | 2016-10-21 11:49:46 -0700 | [diff] [blame] | 98 | <version>1.4.0.Final</version> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 99 | </extension> |
| 100 | </extensions> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 101 | <plugins> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.maven.plugins</groupId> |
| 104 | <artifactId>maven-compiler-plugin</artifactId> |
| 105 | <version>3.1</version> |
| 106 | <configuration> |
cushon | 7cc90d3 | 2016-09-15 17:11:01 -0700 | [diff] [blame] | 107 | <source>1.8</source> |
| 108 | <target>1.8</target> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 109 | <encoding>UTF-8</encoding> |
| 110 | </configuration> |
| 111 | </plugin> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 112 | <plugin> |
| 113 | <groupId>org.xolstice.maven.plugins</groupId> |
| 114 | <artifactId>protobuf-maven-plugin</artifactId> |
| 115 | <version>0.5.0</version> |
| 116 | <configuration> |
| 117 | <protoSourceRoot>proto</protoSourceRoot> |
cushon | e75cc32 | 2016-10-21 11:49:46 -0700 | [diff] [blame] | 118 | <protocArtifact>com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}</protocArtifact> |
cushon | 667facf | 2016-10-20 14:07:39 -0700 | [diff] [blame] | 119 | <pluginId>grpc-java</pluginId> |
| 120 | <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.0.1:exe:${os.detected.classifier}</pluginArtifact> |
| 121 | </configuration> |
| 122 | <executions> |
| 123 | <execution> |
| 124 | <goals> |
| 125 | <goal>compile</goal> |
| 126 | <goal>compile-custom</goal> |
| 127 | </goals> |
| 128 | </execution> |
| 129 | </executions> |
| 130 | </plugin> |
cushon | 42a8f88 | 2016-12-07 11:54:56 -0800 | [diff] [blame^] | 131 | <plugin> |
| 132 | <groupId>org.apache.maven.plugins</groupId> |
| 133 | <artifactId>maven-surefire-plugin</artifactId> |
| 134 | <version>2.19.1</version> |
| 135 | <configuration> |
| 136 | <!-- put javac.jar on bootclasspath when executing tests --> |
| 137 | <argLine>-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</argLine> |
| 138 | </configuration> |
| 139 | </plugin> |
cushon | c5ee876 | 2016-08-23 14:17:08 -0700 | [diff] [blame] | 140 | </plugins> |
| 141 | </build> |
| 142 | </project> |