blob: 44450c996246bb0e7608c58a0f74b51523d56bf5 [file] [log] [blame]
cushonc5ee8762016-08-23 14:17:08 -07001<?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
cushon42a8f882016-12-07 11:54:56 -080017 <properties>
18 <javac.version>9-dev-r3297-1</javac.version>
19 </properties>
20
cushonc5ee8762016-08-23 14:17:08 -070021 <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>
cushonf0e97442016-09-14 10:48:35 -070033 <groupId>com.google.errorprone</groupId>
34 <artifactId>error_prone_annotations</artifactId>
35 <version>2.0.12</version>
36 </dependency>
37 <dependency>
cushon667facf2016-10-20 14:07:39 -070038 <groupId>com.google.protobuf</groupId>
39 <artifactId>protobuf-java</artifactId>
cushone75cc322016-10-21 11:49:46 -070040 <version>3.1.0</version>
cushon667facf2016-10-20 14:07:39 -070041 </dependency>
42 <dependency>
cushonc5ee8762016-08-23 14:17:08 -070043 <groupId>org.ow2.asm</groupId>
cushonf3df8fd2016-10-21 11:56:46 -070044 <artifactId>asm-debug-all</artifactId>
45 <version>5.1</version>
cushon783f80f2016-09-19 14:52:44 -070046 <scope>test</scope>
47 </dependency>
48 <dependency>
cushonc5ee8762016-08-23 14:17:08 -070049 <groupId>com.google.errorprone</groupId>
50 <artifactId>javac</artifactId>
cushon42a8f882016-12-07 11:54:56 -080051 <version>${javac.version}</version>
cushonc5ee8762016-08-23 14:17:08 -070052 <scope>test</scope>
53 </dependency>
cushon42a8f882016-12-07 11:54:56 -080054 <!-- required for javap task -->
cushonc5ee8762016-08-23 14:17:08 -070055 <dependency>
cushon4b692772016-10-24 17:30:38 -070056 <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>
cushonc5ee8762016-08-23 14:17:08 -070064 <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>
cushon667facf2016-10-20 14:07:39 -070094 <extensions>
95 <extension>
96 <groupId>kr.motd.maven</groupId>
97 <artifactId>os-maven-plugin</artifactId>
cushone75cc322016-10-21 11:49:46 -070098 <version>1.4.0.Final</version>
cushon667facf2016-10-20 14:07:39 -070099 </extension>
100 </extensions>
cushonc5ee8762016-08-23 14:17:08 -0700101 <plugins>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-compiler-plugin</artifactId>
105 <version>3.1</version>
106 <configuration>
cushon7cc90d32016-09-15 17:11:01 -0700107 <source>1.8</source>
108 <target>1.8</target>
cushonc5ee8762016-08-23 14:17:08 -0700109 <encoding>UTF-8</encoding>
110 </configuration>
111 </plugin>
cushon667facf2016-10-20 14:07:39 -0700112 <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>
cushone75cc322016-10-21 11:49:46 -0700118 <protocArtifact>com.google.protobuf:protoc:3.1.0:exe:${os.detected.classifier}</protocArtifact>
cushon667facf2016-10-20 14:07:39 -0700119 <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>
cushon42a8f882016-12-07 11:54:56 -0800131 <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>
cushonc5ee8762016-08-23 14:17:08 -0700140 </plugins>
141 </build>
142</project>