You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by bl...@apache.org on 2016/05/15 00:27:17 UTC

avro git commit: AVRO-1833: Fix build.sh for dev-tools module.

Repository: avro
Updated Branches:
  refs/heads/branch-1.8 4806ede88 -> 5f79943ce


AVRO-1833: Fix build.sh for dev-tools module.

Java needs to be built from the root or else the root POM can't be
found.


Project: http://git-wip-us.apache.org/repos/asf/avro/repo
Commit: http://git-wip-us.apache.org/repos/asf/avro/commit/5f79943c
Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/5f79943c
Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/5f79943c

Branch: refs/heads/branch-1.8
Commit: 5f79943cebccada17b8095c580d457c8b2be04dc
Parents: 4806ede
Author: Ryan Blue <bl...@apache.org>
Authored: Sat May 14 17:26:36 2016 -0700
Committer: Ryan Blue <bl...@apache.org>
Committed: Sat May 14 17:26:36 2016 -0700

----------------------------------------------------------------------
 build.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/avro/blob/5f79943c/build.sh
----------------------------------------------------------------------
diff --git a/build.sh b/build.sh
index 1182c9c..b886156 100755
--- a/build.sh
+++ b/build.sh
@@ -107,7 +107,8 @@ do
 
       # install dev-tools for checkstyle configs
       (cd dev-tools; mvn clean install)
-      (cd lang/java; mvn package -DskipTests -Dhadoop.version=1;
+      (mvn package -DskipTests -Dhadoop.version=1;
+      cd lang/java;
       rm -rf mapred/target/{classes,test-classes}/;
       rm -rf trevni/avro/target/{classes,test-classes}/;
       mvn -P dist package -DskipTests -Davro.version=$VERSION javadoc:aggregate)