|
22 | 22 |
|
23 | 23 | <groupId>com.github.yuiskw</groupId> |
24 | 24 | <artifactId>bigquery-to-datastore</artifactId> |
25 | | - <version>0.5.2</version> |
| 25 | + <version>0.6.0</version> |
26 | 26 |
|
27 | 27 | <packaging>jar</packaging> |
28 | 28 |
|
29 | 29 | <properties> |
30 | | - <beam.version>2.1.0</beam.version> |
| 30 | + <beam.version>2.16.0</beam.version> |
31 | 31 |
|
32 | | - <bigquery.version>v2-rev295-1.22.0</bigquery.version> |
33 | | - <google-clients.version>1.22.0</google-clients.version> |
34 | | - <guava.version>20.0</guava.version> |
35 | | - <hamcrest.version>1.3</hamcrest.version> |
36 | | - <jackson.version>2.8.9</jackson.version> |
37 | | - <joda.version>2.4</joda.version> |
38 | | - <junit.version>4.12</junit.version> |
39 | | - <maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version> |
40 | | - <maven-exec-plugin.version>1.4.0</maven-exec-plugin.version> |
| 32 | + <bigquery.version>v2-rev20181104-1.27.0</bigquery.version> |
| 33 | + <google-clients.version>1.27.0</google-clients.version> |
| 34 | + <hamcrest.version>2.1</hamcrest.version> |
| 35 | + <jackson.version>2.9.10</jackson.version> |
| 36 | + <joda.version>2.10.3</joda.version> |
| 37 | + <junit.version>4.13-beta-3</junit.version> |
| 38 | + <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
| 39 | + <maven-exec-plugin.version>1.6.0</maven-exec-plugin.version> |
41 | 40 | <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version> |
42 | | - <maven-shade-plugin.version>3.0.0</maven-shade-plugin.version> |
43 | | - <pubsub.version>v1-rev10-1.22.0</pubsub.version> |
44 | | - <slf4j.version>1.7.14</slf4j.version> |
45 | | - <spark.version>1.6.3</spark.version> |
46 | | - <surefire-plugin.version>2.20</surefire-plugin.version> |
| 41 | + <maven-shade-plugin.version>3.1.0</maven-shade-plugin.version> |
| 42 | + <mockito.version>3.0.0</mockito.version> |
| 43 | + <pubsub.version>v1-rev20181105-1.27.0</pubsub.version> |
| 44 | + <slf4j.version>1.7.25</slf4j.version> |
| 45 | + <spark.version>2.4.4</spark.version> |
| 46 | + <hadoop.version>2.7.3</hadoop.version> |
| 47 | + <maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version> |
| 48 | + <nemo.version>0.1</nemo.version> |
| 49 | + <flink.artifact.name>beam-runners-flink-1.8</flink.artifact.name> |
47 | 50 | </properties> |
48 | 51 |
|
49 | 52 | <repositories> |
|
75 | 78 | <plugin> |
76 | 79 | <groupId>org.apache.maven.plugins</groupId> |
77 | 80 | <artifactId>maven-surefire-plugin</artifactId> |
78 | | - <version>${surefire-plugin.version}</version> |
| 81 | + <version>${maven-surefire-plugin.version}</version> |
79 | 82 | <configuration> |
80 | 83 | <parallel>all</parallel> |
81 | 84 | <threadCount>4</threadCount> |
|
85 | 88 | <dependency> |
86 | 89 | <groupId>org.apache.maven.surefire</groupId> |
87 | 90 | <artifactId>surefire-junit47</artifactId> |
88 | | - <version>${surefire-plugin.version}</version> |
| 91 | + <version>${maven-surefire-plugin.version}</version> |
89 | 92 | </dependency> |
90 | 93 | </dependencies> |
91 | 94 | </plugin> |
|
166 | 169 | </profile> |
167 | 170 |
|
168 | 171 | <profile> |
169 | | - <id>dataflow-runner</id> |
170 | | - <!-- Makes the DataflowRunner available when running a pipeline. --> |
| 172 | + <id>portable-runner</id> |
| 173 | + <activation> |
| 174 | + <activeByDefault>true</activeByDefault> |
| 175 | + </activation> |
| 176 | + <!-- Makes the PortableRunner available when running a pipeline. --> |
171 | 177 | <dependencies> |
172 | 178 | <dependency> |
173 | 179 | <groupId>org.apache.beam</groupId> |
174 | | - <artifactId>beam-runners-google-cloud-dataflow-java</artifactId> |
| 180 | + <artifactId>beam-runners-reference-java</artifactId> |
175 | 181 | <version>${beam.version}</version> |
| 182 | + <scope>runtime</scope> |
176 | 183 | </dependency> |
177 | 184 | </dependencies> |
178 | 185 | </profile> |
179 | 186 |
|
180 | 187 | <profile> |
181 | | - <id>spark-runner</id> |
182 | | - <!-- Makes the SparkRunner available when running a pipeline. Additionally, |
183 | | - overrides some Spark dependencies to Beam-compatible versions. --> |
| 188 | + <id>dataflow-runner</id> |
| 189 | + <!-- Makes the DataflowRunner available when running a pipeline. --> |
184 | 190 | <dependencies> |
185 | 191 | <dependency> |
186 | 192 | <groupId>org.apache.beam</groupId> |
187 | | - <artifactId>beam-runners-spark</artifactId> |
188 | | - <version>${beam.version}</version> |
189 | | - <scope>runtime</scope> |
190 | | - </dependency> |
191 | | - <dependency> |
192 | | - <groupId>org.apache.beam</groupId> |
193 | | - <artifactId>beam-sdks-java-io-hadoop-file-system</artifactId> |
| 193 | + <artifactId>beam-runners-google-cloud-dataflow-java</artifactId> |
194 | 194 | <version>${beam.version}</version> |
195 | 195 | <scope>runtime</scope> |
196 | 196 | </dependency> |
197 | | - <dependency> |
198 | | - <groupId>org.apache.spark</groupId> |
199 | | - <artifactId>spark-streaming_2.10</artifactId> |
200 | | - <version>${spark.version}</version> |
201 | | - <scope>runtime</scope> |
202 | | - <exclusions> |
203 | | - <exclusion> |
204 | | - <groupId>org.slf4j</groupId> |
205 | | - <artifactId>jul-to-slf4j</artifactId> |
206 | | - </exclusion> |
207 | | - </exclusions> |
208 | | - </dependency> |
209 | | - <dependency> |
210 | | - <groupId>com.fasterxml.jackson.module</groupId> |
211 | | - <artifactId>jackson-module-scala_2.10</artifactId> |
212 | | - <version>${jackson.version}</version> |
213 | | - <scope>runtime</scope> |
214 | | - </dependency> |
215 | 197 | </dependencies> |
216 | 198 | </profile> |
| 199 | + |
217 | 200 | </profiles> |
218 | 201 |
|
219 | 202 | <dependencies> |
|
300 | 283 | <version>${joda.version}</version> |
301 | 284 | </dependency> |
302 | 285 |
|
303 | | - <dependency> |
304 | | - <groupId>com.google.guava</groupId> |
305 | | - <artifactId>guava</artifactId> |
306 | | - <version>${guava.version}</version> |
307 | | - </dependency> |
308 | | - |
309 | 286 | <!-- Add slf4j API frontend binding with JUL backend --> |
310 | 287 | <dependency> |
311 | 288 | <groupId>org.slf4j</groupId> |
|
325 | 302 | which is used in the main code of DebuggingWordCount example. --> |
326 | 303 | <dependency> |
327 | 304 | <groupId>org.hamcrest</groupId> |
328 | | - <artifactId>hamcrest-all</artifactId> |
| 305 | + <artifactId>hamcrest-core</artifactId> |
| 306 | + <version>${hamcrest.version}</version> |
| 307 | + </dependency> |
| 308 | + |
| 309 | + <dependency> |
| 310 | + <groupId>org.hamcrest</groupId> |
| 311 | + <artifactId>hamcrest-library</artifactId> |
329 | 312 | <version>${hamcrest.version}</version> |
330 | 313 | </dependency> |
331 | 314 |
|
|
343 | 326 | <scope>test</scope> |
344 | 327 | </dependency> |
345 | 328 |
|
| 329 | + <dependency> |
| 330 | + <groupId>org.mockito</groupId> |
| 331 | + <artifactId>mockito-core</artifactId> |
| 332 | + <version>${mockito.version}</version> |
| 333 | + <scope>test</scope> |
| 334 | + </dependency> |
346 | 335 | </dependencies> |
347 | 336 | </project> |
0 commit comments