Repository: incubator-zeppelin Updated Branches: refs/heads/master c7c28ccfd -> b6768c6de
[ZEPPELIN-20] HiveContext occurs error with NucleusUserException - Excluded org.datanucleus package from shade plugin - Added copy-dependencies org.data.nucleus Author: Jongyoul Lee <[email protected]> Closes #23 from jongyoul/ZEPPELIN-20 and squashes the following commits: 5a8c94a [Jongyoul Lee] [ZEPPELIN-20] HiveContext occurs error with NucleusUserException - Excluded org.datanucleus package from shade plugin - Added copy-dependencies org.data.nucleus Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/b6768c6d Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/b6768c6d Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/b6768c6d Branch: refs/heads/master Commit: b6768c6de75bef5e922b82107e5eb4b1897b01de Parents: c7c28cc Author: Jongyoul Lee <[email protected]> Authored: Wed Apr 1 16:29:23 2015 +0900 Committer: Lee moon soo <[email protected]> Committed: Thu Apr 2 08:42:06 2015 +0900 ---------------------------------------------------------------------- spark/pom.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/b6768c6d/spark/pom.xml ---------------------------------------------------------------------- diff --git a/spark/pom.xml b/spark/pom.xml index 97fd5e5..7741d2b 100644 --- a/spark/pom.xml +++ b/spark/pom.xml @@ -315,6 +315,7 @@ <filter> <artifact>*:*</artifact> <excludes> + <exclude>org/datanucleus/**</exclude> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> @@ -338,6 +339,29 @@ </executions> </plugin> + <!-- Deploy datanucleus jars to the interpreter/spark directory --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.4</version> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + <configuration> + <outputDirectory>${project.build.directory}/../../interpreter/spark</outputDirectory> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>false</overWriteSnapshots> + <overWriteIfNewer>true</overWriteIfNewer> + <includeGroupIds>org.datanucleus</includeGroupIds> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version>
