From 88471237ad461090ab616e6d806ae55c06cc8fec Mon Sep 17 00:00:00 2001 From: judy0131 Date: Thu, 6 Sep 2018 17:09:35 +0800 Subject: [PATCH] fix bug: can not run flow when package code into piflow.jar --- piflow-bundle/pom.xml | 28 +++++++--------------------- readMe.txt | 2 ++ 2 files changed, 9 insertions(+), 21 deletions(-) create mode 100644 readMe.txt diff --git a/piflow-bundle/pom.xml b/piflow-bundle/pom.xml index b1f7ca9..ff10e6c 100644 --- a/piflow-bundle/pom.xml +++ b/piflow-bundle/pom.xml @@ -55,6 +55,12 @@ 2.6.1 + + com.databricks + spark-xml_2.11 + 0.4.2 + + @@ -83,27 +89,7 @@ - - org.apache.maven.plugins - maven-install-plugin - - - install-external-1 - package - - ${basedir}/lib/spark-xml_2.11-0.4.2.jar - com.databricks - spark-xml_2.11 - 0.4.2 - jar - true - - - install-file - - - - + diff --git a/readMe.txt b/readMe.txt new file mode 100644 index 0000000..28986e1 --- /dev/null +++ b/readMe.txt @@ -0,0 +1,2 @@ +apt-get install maven +mvn install:install-file -Dfile=/opt/project/piflow/piflow-bundle/lib/spark-xml_2.11-0.4.2.jar -DgroupId=com.databricks -DartifactId=spark-xml_2.11 -Dversion=0.4.2 -Dpackaging=jar \ No newline at end of file