This is an automated email from the ASF dual-hosted git repository. bmahler 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 cebb7f9ee Enable verbose logging for Maven. cebb7f9ee is described below commit cebb7f9eebf61486889556600b8453b72206366c Author: Devin Leamy <dle...@twitter.com> AuthorDate: Thu Feb 22 12:17:32 2024 -0500 Enable verbose logging for Maven. I recently ran into errors when building the Mesos jar. The default Maven logs where insufficient to diagnose the problem. The Maven verbose logs, however, were very illustrative. Verbose logs can be enabled for Maven by passing the `-X` flag. This patch enables verbose logs when building and installing the Mesos jar using Maven. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index f6b0a6b9a..03aa881e8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2098,7 +2098,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) -X -B -q -f mesos.pom clean package # Convenience library for JNI bindings. # TODO(Charles Reiss): We really should be building the Java library @@ -2213,7 +2213,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) -X -B -q -f java/mesos.pom install PHONY_TARGETS += maven-install endif # HAS_JAVA