From f90deb4bf3db57e36232c9c94ae3b07dfd7c2331 Mon Sep 17 00:00:00 2001
From: 1ambda <1amb4a@gmail.com>
Date: Tue, 11 Jul 2017 01:53:11 +0900
Subject: [PATCH] chore: Move web e2e into zeppelin-web
---
.travis.yml | 2 +-
zeppelin-server/pom.xml | 37 ---------------------
zeppelin-web/pom.xml | 72 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 73 insertions(+), 38 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index fe6adb3755..7f200b0567 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -48,7 +48,7 @@ matrix:
# Run e2e tests (in zeppelin-web)
- jdk: "oraclejdk7"
- env: WEB_E2E="true" SCALA_VER="2.11" SPARK_VER="2.1.0" HADOOP_VER="2.6" PROFILE="-Pweb-ci -Pweb-e2e -Pscala-2.11" BUILD_FLAG="package -DskipTests -Pbuild-distr -DskipRat" TEST_FLAG="verify -Pusing-packaged-distr -DskipRat" MODULES="-pl ${INTERPRETERS}" TEST_MODULES="-pl !spark,!spark-dependencies,!zeppelin-web,!zeppelin-jupyter,!zeppelin-distribution" TEST_PROJECTS="-Dtests.to.exclude=**/org/apache/zeppelin/**/*.java -DtagsToInclude=None -DfailIfNoTests=false"
+ env: WEB_E2E="true" SCALA_VER="2.11" SPARK_VER="2.1.0" HADOOP_VER="2.6" PROFILE="-Pweb-ci -Pweb-e2e -Pscala-2.11" BUILD_FLAG="package -DskipTests -Pbuild-distr -DskipRat" TEST_FLAG="verify -Pusing-packaged-distr -DskipRat" MODULES="-pl ${INTERPRETERS}" TEST_MODULES="-pl zeppelin-web" TEST_PROJECTS=""
# Test core modules
# Several tests were excluded from this configuration due to the following issues:
diff --git a/zeppelin-server/pom.xml b/zeppelin-server/pom.xml
index e57b176442..121278d57b 100644
--- a/zeppelin-server/pom.xml
+++ b/zeppelin-server/pom.xml
@@ -38,7 +38,6 @@
- true
4.3.6
@@ -434,35 +433,6 @@
-
-
- com.github.eirslett
- frontend-maven-plugin
- ${plugin.frontned.version}
-
-
-
- yarn e2e
-
- yarn
-
- integration-test
-
- run e2e
-
-
-
-
-
- ${web.e2e.disabled}
-
- ${project.parent.basedir}/zeppelin-web
-
-
-
-
org.apache.maven.plugins
maven-antrun-plugin
@@ -526,13 +496,6 @@
-
- web-e2e
-
- false
-
-
-
using-packaged-distr
diff --git a/zeppelin-web/pom.xml b/zeppelin-web/pom.xml
index ab00faadfd..c2f91f7da9 100644
--- a/zeppelin-web/pom.xml
+++ b/zeppelin-web/pom.xml
@@ -38,6 +38,8 @@
+ true
+ ../bin
UTF-8
@@ -102,6 +104,56 @@
+
+ yarn e2e
+
+ yarn
+
+ integration-test
+
+ ${web.e2e.disabled}
+ run e2e
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+
+
+ start-zeppelin
+ pre-integration-test
+
+ ${web.e2e.disabled}
+
+
+
+
+
+
+
+ run
+
+
+
+
+ stop-zeppelin
+ post-integration-test
+
+ ${web.e2e.disabled}
+
+
+
+
+
+
+
+ run
+
+
@@ -164,6 +216,26 @@
run build:ci
+
+
+ web-e2e
+
+ false
+
+
+
+
+ using-packaged-distr
+
+ false
+
+
+
+ ../zeppelin-distribution/target/zeppelin-${project.version}/zeppelin-${project.version}/bin
+
+
+
+