You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ct...@apache.org on 2020/08/19 22:06:17 UTC

[fluo-uno] branch main updated: Show Maven version and stack traces (#252)

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-uno.git


The following commit(s) were added to refs/heads/main by this push:
     new 358ad9d  Show Maven version and stack traces (#252)
358ad9d is described below

commit 358ad9dd7375b362f1cde39591314b121a9b8763
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Wed Aug 19 18:06:08 2020 -0400

    Show Maven version and stack traces (#252)
    
    Show Maven version on tasks that execute `mvn`, and show stack traces,
    if there are any, if `mvn` fails.
---
 bin/impl/fetch.sh          | 6 +++---
 bin/impl/install/hadoop.sh | 2 +-
 plugins/accumulo-proxy.sh  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bin/impl/fetch.sh b/bin/impl/fetch.sh
index 5c0e70b..1cebec8 100755
--- a/bin/impl/fetch.sh
+++ b/bin/impl/fetch.sh
@@ -39,7 +39,7 @@ function fetch_accumulo() {
     rm -f "$DOWNLOADS/$ACCUMULO_TARBALL"
     pushd .
     cd "$ACCUMULO_REPO"
-    mvn clean package "${maven_args[@]}"
+    mvn -V -e clean package "${maven_args[@]}"
     accumulo_built_tarball=$ACCUMULO_REPO/assemble/target/$ACCUMULO_TARBALL
     if [[ ! -f "$accumulo_built_tarball" ]]; then
       echo
@@ -65,7 +65,7 @@ function fetch_fluo() {
   if [[ -n "$FLUO_REPO" ]]; then
     rm -f "$DOWNLOADS/$FLUO_TARBALL"
     cd "$FLUO_REPO"
-    mvn clean package -DskipTests -Dformatter.skip
+    mvn -V -e clean package -DskipTests -Dformatter.skip
 
     fluo_built_tarball=$FLUO_REPO/modules/distribution/target/$FLUO_TARBALL
     if [[ ! -f "$fluo_built_tarball" ]]; then
@@ -102,7 +102,7 @@ fluo-yarn)
   if [[ -n "$FLUO_YARN_REPO" ]]; then
     rm -f "$DOWNLOADS/$FLUO_YARN_TARBALL"
     cd "$FLUO_YARN_REPO"
-    mvn clean package -DskipTests -Dformatter.skip
+    mvn -V -e clean package -DskipTests -Dformatter.skip
 
     built_tarball=$FLUO_YARN_REPO/target/$FLUO_YARN_TARBALL
     if [[ ! -f "$built_tarball" ]]; then
diff --git a/bin/impl/install/hadoop.sh b/bin/impl/install/hadoop.sh
index a0a4f9d..985bdd7 100755
--- a/bin/impl/install/hadoop.sh
+++ b/bin/impl/install/hadoop.sh
@@ -47,7 +47,7 @@ if [[ $HADOOP_VERSION =~ ^3\.[012]\..*$ ]]; then
   # need the following for Java 11, because Hadoop doesn't include it until 3.3
   # 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 \
+  mvn -V -e 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
diff --git a/plugins/accumulo-proxy.sh b/plugins/accumulo-proxy.sh
index 1b15c1a..e2f5332 100755
--- a/plugins/accumulo-proxy.sh
+++ b/plugins/accumulo-proxy.sh
@@ -21,7 +21,7 @@ TARBALL_PATH=$PROXY_REPO/target/$PROXY_TARBALL
 
 if [[ ! -f "$TARBALL_PATH" ]]; then
   cd $PROXY_REPO/
-  mvn clean package -Ptarball
+  mvn -V -e clean package -Ptarball
 fi
 
 print_to_console "Installing Accumulo Proxy at $PROXY_HOME"