Skip to content

Commit ca88f94

Browse files
committed
edit pom file and .travis.yml
1 parent 3d65427 commit ca88f94

File tree

2 files changed

+49
-14
lines changed

2 files changed

+49
-14
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ matrix:
4040

4141
# Test all modules with spark 2.0.0 and scala 2.11
4242
- jdk: "oraclejdk7"
43-
env: SCALA_VER="2.11" SPARK_VER="2.0.0" HADOOP_VER="2.3" PROFILE="-Pspark-2.0 -Phadoop-2.3 -Ppyspark -Psparkr -Pscalding -Pexamples -Pscala-2.11" BUILD_FLAG="package -pl \!beam -Pbuild-distr -DskipRat" TEST_FLAG="verify -Pusing-packaged-distr -DskipRat" TEST_PROJECTS=""
43+
env: SCALA_VER="2.11" SPARK_VER="2.0.0" HADOOP_VER="2.3" PROFILE="-Pspark-2.0 -Phadoop-2.3 -Ppyspark -Psparkr -Pscalding -Pexamples -Pscala-2.11" BUILD_FLAG="package -pl !beam -Pbuild-distr -DskipRat" TEST_FLAG="verify -Pusing-packaged-distr -DskipRat" TEST_PROJECTS=""
4444

4545
# Test all modules with scala 2.10
4646
- jdk: "oraclejdk7"
4747
env: SCALA_VER="2.10" SPARK_VER="1.6.1" HADOOP_VER="2.3" PROFILE="-Pspark-1.6 -Pr -Phadoop-2.3 -Ppyspark -Psparkr -Pscalding -Pexamples -Pscala-2.10" BUILD_FLAG="package -Pbuild-distr -DskipRat" TEST_FLAG="verify -Pusing-packaged-distr -DskipRat" TEST_PROJECTS=""
4848

4949
# Test all modules with scala 2.11
5050
- jdk: "oraclejdk7"
51-
env: SCALA_VER="2.11" SPARK_VER="1.6.1" HADOOP_VER="2.3" PROFILE="-Pspark-1.6 -Pr -Phadoop-2.3 -Ppyspark -Psparkr -Pscalding -Pexamples -Pscala-2.11" BUILD_FLAG="package -pl \!beam -Pbuild-distr -DskipRat" TEST_FLAG="verify -Pusing-packaged-distr -DskipRat" TEST_PROJECTS=""
51+
env: SCALA_VER="2.11" SPARK_VER="1.6.1" HADOOP_VER="2.3" PROFILE="-Pspark-1.6 -Pr -Phadoop-2.3 -Ppyspark -Psparkr -Pscalding -Pexamples -Pscala-2.11" BUILD_FLAG="package -pl !beam -Pbuild-distr -DskipRat" TEST_FLAG="verify -Pusing-packaged-distr -DskipRat" TEST_PROJECTS=""
5252

5353
# Test spark module for 1.5.2
5454
- jdk: "oraclejdk7"

beam/pom.xml

Lines changed: 47 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,43 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- ~ Licensed to the Apache Software Foundation (ASF) under one or more
3-
~ contributor license agreements. See the NOTICE file distributed with ~
4-
this work for additional information regarding copyright ownership. ~ The
5-
ASF licenses this file to You under the Apache License, Version 2.0 ~ (the
6-
"License"); you may not use this file except in compliance with ~ the License.
7-
You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0
8-
~ ~ Unless required by applicable law or agreed to in writing, software ~
9-
distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT
10-
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the
11-
License for the specific language governing permissions and ~ limitations
12-
under the License. -->
2+
<!--
3+
~ Licensed to the Apache Software Foundation (ASF) under one or more
4+
~ contributor license agreements. See the NOTICE file distributed with
5+
~ this work for additional information regarding copyright ownership.
6+
~ The ASF licenses this file to You under the Apache License, Version 2.0
7+
~ (the "License"); you may not use this file except in compliance with
8+
~ the License. You may obtain a copy of the License at
9+
~
10+
~ http://www.apache.org/licenses/LICENSE-2.0
11+
~
12+
~ Unless required by applicable law or agreed to in writing, software
13+
~ distributed under the License is distributed on an "AS IS" BASIS,
14+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
~ See the License for the specific language governing permissions and
16+
~ limitations under the License.
17+
-->
18+
1319
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1420
<modelVersion>4.0.0</modelVersion>
21+
1522
<parent>
1623
<artifactId>zeppelin</artifactId>
1724
<groupId>org.apache.zeppelin</groupId>
1825
<version>0.7.0-SNAPSHOT</version>
1926
<relativePath>..</relativePath>
2027
</parent>
28+
2129
<groupId>org.apache.zeppelin</groupId>
2230
<artifactId>zeppelin-beam</artifactId>
2331
<packaging>jar</packaging>
2432
<version>0.7.0-SNAPSHOT</version>
2533
<name>Zeppelin: Beam interpreter</name>
34+
2635
<properties>
2736
<beam.hadoop.version>2.3.0</beam.hadoop.version>
2837
<beam.spark.version>1.4.1</beam.spark.version>
2938
<beam.beam.version>0.2.0-incubating</beam.beam.version>
3039
</properties>
40+
3141
<dependencies>
3242
<dependency>
3343
<groupId>org.apache.spark</groupId>
@@ -56,11 +66,13 @@
5666
</exclusion>
5767
</exclusions>
5868
</dependency>
69+
5970
<dependency>
6071
<groupId>org.apache.spark</groupId>
6172
<artifactId>spark-streaming_2.10</artifactId>
6273
<version>${beam.spark.version}</version>
6374
</dependency>
75+
6476
<dependency>
6577
<groupId>org.apache.hadoop</groupId>
6678
<artifactId>hadoop-mapreduce-client-core</artifactId>
@@ -72,6 +84,7 @@
7284
</exclusion>
7385
</exclusions>
7486
</dependency>
87+
7588
<dependency>
7689
<groupId>org.apache.hadoop</groupId>
7790
<artifactId>hadoop-common</artifactId>
@@ -83,11 +96,13 @@
8396
</exclusion>
8497
</exclusions>
8598
</dependency>
99+
86100
<dependency>
87101
<groupId>org.apache.hadoop</groupId>
88102
<artifactId>hadoop-hdfs</artifactId>
89103
<version>${beam.hadoop.version}</version>
90104
</dependency>
105+
91106
<dependency>
92107
<groupId>org.apache.hadoop</groupId>
93108
<artifactId>hadoop-client</artifactId>
@@ -99,16 +114,19 @@
99114
</exclusion>
100115
</exclusions>
101116
</dependency>
117+
102118
<dependency>
103119
<groupId>org.apache.hadoop</groupId>
104120
<artifactId>hadoop-annotations</artifactId>
105121
<version>${beam.hadoop.version}</version>
106122
</dependency>
123+
107124
<dependency>
108125
<groupId>org.apache.hadoop</groupId>
109126
<artifactId>hadoop-yarn-common</artifactId>
110127
<version>${beam.hadoop.version}</version>
111128
</dependency>
129+
112130
<dependency>
113131
<groupId>org.apache.hadoop</groupId>
114132
<artifactId>hadoop-mapreduce-client-common</artifactId>
@@ -120,17 +138,20 @@
120138
</exclusion>
121139
</exclusions>
122140
</dependency>
141+
123142
<dependency>
124143
<groupId>com.thoughtworks.qdox</groupId>
125144
<artifactId>qdox</artifactId>
126145
<version>2.0-M3</version>
127146
</dependency>
147+
128148
<dependency>
129149
<groupId>org.apache.beam</groupId>
130150
<artifactId>beam-runners-parent</artifactId>
131151
<version>${beam.beam.version}</version>
132152
<type>pom</type>
133153
</dependency>
154+
134155
<dependency>
135156
<groupId>org.apache.beam</groupId>
136157
<artifactId>beam-runners-core-java</artifactId>
@@ -142,11 +163,13 @@
142163
</exclusion>
143164
</exclusions>
144165
</dependency>
166+
145167
<dependency>
146168
<groupId>org.apache.beam</groupId>
147169
<artifactId>beam-runners-direct-java</artifactId>
148170
<version>${beam.beam.version}</version>
149171
</dependency>
172+
150173
<dependency>
151174
<groupId>org.apache.beam</groupId>
152175
<artifactId>beam-runners-flink_2.10</artifactId>
@@ -162,6 +185,7 @@
162185
</exclusion>
163186
</exclusions>
164187
</dependency>
188+
165189
<dependency>
166190
<groupId>org.apache.beam</groupId>
167191
<artifactId>beam-runners-flink_2.10-examples</artifactId>
@@ -173,11 +197,13 @@
173197
</exclusion>
174198
</exclusions>
175199
</dependency>
200+
176201
<dependency>
177202
<groupId>javax.servlet</groupId>
178203
<artifactId>javax.servlet-api</artifactId>
179204
<version>3.1.0</version>
180205
</dependency>
206+
181207
<dependency>
182208
<groupId>org.apache.beam</groupId>
183209
<artifactId>beam-runners-google-cloud-dataflow-java</artifactId>
@@ -189,31 +215,37 @@
189215
</exclusion>
190216
</exclusions>
191217
</dependency>
218+
192219
<dependency>
193220
<groupId>org.apache.beam</groupId>
194221
<artifactId>beam-runners-spark</artifactId>
195222
<version>${beam.beam.version}</version>
196223
<type>jar</type>
197224
</dependency>
225+
198226
<dependency>
199227
<groupId>${project.groupId}</groupId>
200228
<artifactId>zeppelin-interpreter</artifactId>
201229
<version>${project.version}</version>
202230
<scope>provided</scope>
203231
</dependency>
232+
204233
<dependency>
205234
<groupId>org.apache.commons</groupId>
206235
<artifactId>commons-exec</artifactId>
207236
<version>1.3</version>
208237
</dependency>
238+
209239
<dependency>
210240
<groupId>junit</groupId>
211241
<artifactId>junit</artifactId>
212242
<scope>test</scope>
213243
</dependency>
244+
214245
</dependencies>
215246
<build>
216247
<plugins>
248+
217249
<plugin>
218250
<groupId>org.apache.maven.plugins</groupId>
219251
<artifactId>maven-deploy-plugin</artifactId>
@@ -222,6 +254,7 @@
222254
<skip>true</skip>
223255
</configuration>
224256
</plugin>
257+
225258
<plugin>
226259
<artifactId>maven-enforcer-plugin</artifactId>
227260
<version>1.3.1</version>
@@ -232,6 +265,7 @@
232265
</execution>
233266
</executions>
234267
</plugin>
268+
235269
<plugin>
236270
<artifactId>maven-dependency-plugin</artifactId>
237271
<version>2.8</version>
@@ -274,6 +308,7 @@
274308
</execution>
275309
</executions>
276310
</plugin>
311+
277312
</plugins>
278313
</build>
279-
</project>
314+
</project>

0 commit comments

Comments
 (0)