You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2019/08/21 13:12:24 UTC

[mesos] branch master updated: Switched on full debug logging and stack trace reporting for Maven.

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

bennoe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 62ba85a  Switched on full debug logging and stack trace reporting for Maven.
62ba85a is described below

commit 62ba85adc83aef61eb8ef94265396769afc824ae
Author: Andrei Sekretenko <as...@mesosphere.io>
AuthorDate: Wed Aug 21 15:11:47 2019 +0200

    Switched on full debug logging and stack trace reporting for Maven.
    
    This is done in attempt to track down the origin of Java build errors
    sporadically observed on CIs. The added volume of logs is around 15K
    lines, which is still much smaller than that of the logs of the tests.
    Developers who perform local build without Java bindings should
    not be affected.
    
    Review: https://reviews.apache.org/r/71337/
---
 src/Makefile.am         | 4 ++--
 src/java/CMakeLists.txt | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 0377c8d..a89cd61 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2018,7 +2018,7 @@ if HAS_JAVA
 $(MESOS_JAR): $(MESOS_JAR_SOURCE) $(MESOS_JAR_GENERATED) java/mesos.pom
 	@echo "Building mesos-$(PACKAGE_VERSION).jar ..."
 	@cd $(abs_top_builddir)/src/java &&  \
-	  env JAVA_HOME=$(JAVA_HOME) $(MVN) -B -q -f mesos.pom clean package
+	  env JAVA_HOME=$(JAVA_HOME) $(MVN) -e -X -B -f mesos.pom clean package
 
 # Convenience library for JNI bindings.
 # TODO(Charles Reiss): We really should be building the Java library
@@ -2124,7 +2124,7 @@ $(EXAMPLES_JAR): $(EXAMPLES_SOURCE)
 CLEANFILES += $(EXAMPLES_JAR)
 
 maven-install: $(MESOS_JAR) java/mesos.pom
-	env JAVA_HOME=$(JAVA_HOME) $(MVN) -B -q -f java/mesos.pom install
+	env JAVA_HOME=$(JAVA_HOME) $(MVN) -e -X -B -f java/mesos.pom install
 
 PHONY_TARGETS += maven-install
 endif # HAS_JAVA
diff --git a/src/java/CMakeLists.txt b/src/java/CMakeLists.txt
index 29422e9..7b72cd3 100644
--- a/src/java/CMakeLists.txt
+++ b/src/java/CMakeLists.txt
@@ -42,7 +42,7 @@ configure_file(mesos.pom.in mesos.pom)
 add_custom_command(
   COMMENT "Building ${MESOS_JAR} using Maven..."
   OUTPUT ${MESOS_JAR}
-  COMMAND mvn -B -f mesos.pom clean package
+  COMMAND mvn -e -X -B -f mesos.pom clean package
   DEPENDS ${MESOS_JAR_SRC} ${JAVA_PROTOBUF_SRC})
 
 add_custom_target(mesos-jar DEPENDS ${MESOS_JAR} mesos-protobufs)