You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2014/04/30 04:57:10 UTC
git commit: Fixed distclean break during maven clean up.
Repository: mesos
Updated Branches:
refs/heads/master a2361e4f6 -> d93037855
Fixed distclean break during maven clean up.
The pom file gets cleaned up before clean-java runs, which calls maven
and fails. Solution is to just remove the target dir, which is what
maven does as well.
Review: https://reviews.apache.org/r/20874
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d9303785
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d9303785
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d9303785
Branch: refs/heads/master
Commit: d93037855340c5092679c24a07e857580c328ff0
Parents: a2361e4
Author: Tobi Knaup <to...@knaup.me>
Authored: Tue Apr 29 19:56:12 2014 -0700
Committer: Vinod Kone <vi...@twitter.com>
Committed: Tue Apr 29 19:56:12 2014 -0700
----------------------------------------------------------------------
src/Makefile.am | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/d9303785/src/Makefile.am
----------------------------------------------------------------------
diff --git a/src/Makefile.am b/src/Makefile.am
index d36700f..7f9ece1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -746,10 +746,8 @@ maven-install: $(MESOS_JAR) java/mesos.pom
PHONY_TARGETS += maven-install
endif # HAS_JAVA
-# We rely on Maven to clean build artifacts, and remove examples and header
-# files in addition.
clean-java:
- mvn -f java/mesos.pom clean
+ -rm -rf java/target
-rm -f examples/java/*.class
-rm -f java/jni/org_apache_mesos*.h