|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <!-- |
3 | | - ~ Copyright © 2017 Cask Data, Inc. |
| 3 | + ~ Copyright © 2017-2019 Cask Data, Inc. |
4 | 4 | ~ |
5 | 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); you may not |
6 | 6 | ~ use this file except in compliance with the License. You may obtain a copy of |
|
20 | 20 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
21 | 21 | <modelVersion>4.0.0</modelVersion> |
22 | 22 |
|
23 | | - <groupId>co.cask.hydrator</groupId> |
| 23 | + <groupId>io.cdap.plugin</groupId> |
24 | 24 | <artifactId>dynamic-spark</artifactId> |
25 | | - <version>2.2.0-SNAPSHOT</version> |
| 25 | + <version>2.2.0</version> |
26 | 26 |
|
27 | 27 | <properties> |
28 | 28 | <!-- properties for script build step that creates the config files for the artifacts --> |
29 | | - <widgets.dir>widgets</widgets.dir> |
30 | | - <docs.dir>docs</docs.dir> |
31 | | - <data.pipeline.parent>system:cdap-data-pipeline[4.3.0-SNAPSHOT,6.0.0-SNAPSHOT)</data.pipeline.parent> |
32 | | - <data.stream.parent>system:cdap-data-streams[4.3.0-SNAPSHOT,6.0.0-SNAPSHOT)</data.stream.parent> |
33 | | - <!-- this is here because project.basedir evaluates to null in the script build step --> |
34 | | - <main.basedir>${project.basedir}</main.basedir> |
| 29 | + <data.pipeline.parent>system:cdap-data-pipeline[6.0.0-SNAPSHOT,7.0.0-SNAPSHOT)</data.pipeline.parent> |
| 30 | + <data.stream.parent>system:cdap-data-streams[6.0.0-SNAPSHOT,7.0.0-SNAPSHOT)</data.stream.parent> |
35 | 31 |
|
36 | | - <cdap.version>4.3.0</cdap.version> |
37 | | - <spark.version>1.6.3</spark.version> |
| 32 | + <cdap.version>6.0.0-SNAPSHOT</cdap.version> |
| 33 | + <spark.version>2.1.3</spark.version> |
38 | 34 | <logback.version>1.0.9</logback.version> |
39 | 35 |
|
40 | 36 | <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> |
|
49 | 45 |
|
50 | 46 | <dependencies> |
51 | 47 | <dependency> |
52 | | - <groupId>co.cask.cdap</groupId> |
| 48 | + <groupId>io.cdap.cdap</groupId> |
53 | 49 | <artifactId>cdap-api</artifactId> |
54 | 50 | <version>${cdap.version}</version> |
55 | 51 | <scope>provided</scope> |
56 | 52 | </dependency> |
57 | 53 | <dependency> |
58 | | - <groupId>co.cask.cdap</groupId> |
59 | | - <artifactId>cdap-api-spark</artifactId> |
| 54 | + <groupId>io.cdap.cdap</groupId> |
| 55 | + <artifactId>cdap-api-spark2_2.11</artifactId> |
60 | 56 | <version>${cdap.version}</version> |
61 | 57 | <scope>provided</scope> |
62 | 58 | <exclusions> |
|
67 | 63 | </exclusions> |
68 | 64 | </dependency> |
69 | 65 | <dependency> |
70 | | - <groupId>co.cask.cdap</groupId> |
| 66 | + <groupId>io.cdap.cdap</groupId> |
71 | 67 | <artifactId>cdap-etl-api</artifactId> |
72 | 68 | <version>${cdap.version}</version> |
73 | 69 | <scope>provided</scope> |
74 | 70 | </dependency> |
75 | 71 | <dependency> |
76 | | - <groupId>co.cask.cdap</groupId> |
| 72 | + <groupId>io.cdap.cdap</groupId> |
77 | 73 | <artifactId>cdap-etl-api-spark</artifactId> |
78 | 74 | <version>${cdap.version}</version> |
79 | 75 | <scope>provided</scope> |
80 | 76 | </dependency> |
81 | 77 | <dependency> |
82 | 78 | <groupId>org.apache.spark</groupId> |
83 | | - <artifactId>spark-repl_2.10</artifactId> |
| 79 | + <artifactId>spark-repl_2.11</artifactId> |
84 | 80 | <version>${spark.version}</version> |
85 | 81 | <scope>provided</scope> |
86 | 82 | <exclusions> |
|
92 | 88 | <groupId>org.slf4j</groupId> |
93 | 89 | <artifactId>slf4j-log4j12</artifactId> |
94 | 90 | </exclusion> |
| 91 | + <exclusion> |
| 92 | + <groupId>io.netty</groupId> |
| 93 | + <artifactId>*</artifactId> |
| 94 | + </exclusion> |
95 | 95 | </exclusions> |
96 | 96 | </dependency> |
97 | 97 | <dependency> |
|
101 | 101 | <scope>test</scope> |
102 | 102 | </dependency> |
103 | 103 | <dependency> |
104 | | - <groupId>co.cask.cdap</groupId> |
| 104 | + <groupId>io.cdap.cdap</groupId> |
105 | 105 | <artifactId>hydrator-test</artifactId> |
106 | 106 | <version>${cdap.version}</version> |
107 | 107 | <scope>test</scope> |
108 | 108 | <exclusions> |
109 | 109 | <exclusion> |
110 | | - <groupId>co.cask.cdap</groupId> |
| 110 | + <groupId>io.cdap.cdap</groupId> |
| 111 | + <artifactId>cdap-unit-test</artifactId> |
| 112 | + </exclusion> |
| 113 | + </exclusions> |
| 114 | + </dependency> |
| 115 | + <dependency> |
| 116 | + <groupId>io.cdap.cdap</groupId> |
| 117 | + <artifactId>cdap-unit-test-spark2_2.11</artifactId> |
| 118 | + <version>${cdap.version}</version> |
| 119 | + <scope>test</scope> |
| 120 | + <exclusions> |
| 121 | + <exclusion> |
| 122 | + <groupId>asm</groupId> |
| 123 | + <artifactId>asm</artifactId> |
| 124 | + </exclusion> |
| 125 | + <exclusion> |
| 126 | + <groupId>io.cdap.cdap</groupId> |
111 | 127 | <artifactId>cdap-explore-jdbc</artifactId> |
112 | 128 | </exclusion> |
113 | 129 | </exclusions> |
114 | 130 | </dependency> |
115 | 131 | <dependency> |
116 | | - <groupId>co.cask.cdap</groupId> |
117 | | - <artifactId>cdap-data-pipeline</artifactId> |
| 132 | + <groupId>io.cdap.cdap</groupId> |
| 133 | + <artifactId>cdap-data-pipeline2_2.11</artifactId> |
118 | 134 | <version>${cdap.version}</version> |
119 | 135 | <scope>test</scope> |
120 | 136 | </dependency> |
|
206 | 222 | <artifactId>maven-compiler-plugin</artifactId> |
207 | 223 | <version>3.1</version> |
208 | 224 | <configuration> |
209 | | - <source>1.7</source> |
210 | | - <target>1.7</target> |
| 225 | + <source>1.8</source> |
| 226 | + <target>1.8</target> |
211 | 227 | </configuration> |
212 | 228 | </plugin> |
213 | 229 | <plugin> |
214 | 230 | <groupId>org.apache.maven.plugins</groupId> |
215 | 231 | <artifactId>maven-surefire-plugin</artifactId> |
216 | 232 | <version>2.14.1</version> |
217 | 233 | <configuration> |
218 | | - <argLine>-Xmx5000m -Djava.awt.headless=true -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC |
| 234 | + <argLine>-Xmx5000m -Djava.awt.headless=true -XX:+UseConcMarkSweepGC |
219 | 235 | -XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError |
220 | 236 | </argLine> |
221 | 237 | <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile> |
|
250 | 266 | <configuration> |
251 | 267 | <instructions> |
252 | 268 | <_exportcontents> |
253 | | - co.cask.hydrator.plugin.spark.*; |
| 269 | + io.cdap.plugin.spark.*; |
254 | 270 | </_exportcontents> |
255 | 271 | <Embed-Dependency>*;inline=false;scope=compile</Embed-Dependency> |
256 | 272 | <Embed-Transitive>true</Embed-Transitive> |
|
267 | 283 | </executions> |
268 | 284 | </plugin> |
269 | 285 | <plugin> |
270 | | - <groupId>co.cask</groupId> |
| 286 | + <groupId>io.cdap</groupId> |
271 | 287 | <artifactId>cdap-maven-plugin</artifactId> |
272 | | - <version>1.0.1-SNAPSHOT</version> |
| 288 | + <version>1.1.0</version> |
273 | 289 | <configuration> |
274 | 290 | <cdapArtifacts> |
275 | 291 | <parent>${data.pipeline.parent}</parent> |
|
303 | 319 | <configuration> |
304 | 320 | <nexusUrl>https://oss.sonatype.org</nexusUrl> |
305 | 321 | <serverId>sonatype.release</serverId> |
306 | | - <stagingProfileId>655dc88dc770c3</stagingProfileId> |
307 | 322 | </configuration> |
308 | 323 | </plugin> |
309 | 324 | <!-- Source JAR --> |
|
336 | 351 | </links> |
337 | 352 | <doctitle>${project.name} ${project.version}</doctitle> |
338 | 353 | <bottom> |
339 | | - <![CDATA[Copyright © {currentYear} <a href="http://cask.co" target="_blank">Cask Data, Inc.</a> Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License, Version 2.0</a>.]]> |
| 354 | + <![CDATA[Copyright © {currentYear} <a href="http://cdap.io" target="_blank">CDAP</a> Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License, Version 2.0</a>.]]> |
340 | 355 | </bottom> |
341 | 356 | </configuration> |
342 | 357 | <executions> |
|
0 commit comments