14 lines
570 B
Diff
14 lines
570 B
Diff
|
diff --git a/src/Makefile.am b/src/Makefile.am
|
||
|
index ae2740a..1df91a7 100644
|
||
|
--- a/src/Makefile.am
|
||
|
+++ b/src/Makefile.am
|
||
|
@@ -1310,7 +1310,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 && $(MVN) -f mesos.pom clean package
|
||
|
+ @cd $(abs_top_builddir)/src/java && $(MVN) -f mesos.pom -Dmaven.repo.local=@mavenRepo@ clean package
|
||
|
|
||
|
# Convenience library for JNI bindings.
|
||
|
# TODO(Charles Reiss): We really should be building the Java library
|