This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo-uno.git
The following commit(s) were added to refs/heads/master by this push:
new 59ce5c5 Fix #228 Specify version of maven-dependency-plugin
59ce5c5 is described below
commit 59ce5c548c0e4a2c0fab2e14952355d674e90705
Author: Christopher Tubbs <[email protected]>
AuthorDate: Wed Jul 31 14:09:41 2019 -0400
Fix #228 Specify version of maven-dependency-plugin
Use a specific version of maven-dependency-plugin for its copy goal,
because older versions would only execute this goal within the context
of a POM project. Version 3.1.1 does not have this requirement.
---
bin/impl/install/hadoop.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/impl/install/hadoop.sh b/bin/impl/install/hadoop.sh
index 70832b3..6dd04c0 100755
--- a/bin/impl/install/hadoop.sh
+++ b/bin/impl/install/hadoop.sh
@@ -42,7 +42,9 @@ if [[ $HADOOP_VERSION =~ ^2\..*$ ]]; then
else
cp "$UNO_HOME"/conf/hadoop/3/* "$hadoop_conf/"
# need the following for Java 11, because Hadoop doesn't include it
- mvn dependency:copy \
+ # Using maven-dependency-plugin version 3.1.1 explicitly, because some older
+ # versions require to be executed within a POM project
+ mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:copy \
-Dartifact=javax.activation:javax.activation-api:1.2.0 \
-DoutputDirectory="$HADOOP_HOME/share/hadoop/common/lib/"
fi