spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwend...@apache.org
Subject git commit: HOTFIX: Don't build Javadoc in Maven when creating releases.
Date Thu, 15 May 2014 07:49:39 GMT
Repository: spark
Updated Branches:
  refs/heads/master bae07e36a -> 514157f2e


HOTFIX: Don't build Javadoc in Maven when creating releases.

Because we've added java package descriptions in some packages that don't
have any Java files, running the Javadoc target hits this issue:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4492654

To fix this I've simply removed the javadoc target when publishing
releases.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/514157f2
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/514157f2
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/514157f2

Branch: refs/heads/master
Commit: 514157f2e4c341378f4a606b66562f39fe3eba5e
Parents: bae07e3
Author: Patrick Wendell <pwendell@gmail.com>
Authored: Wed May 14 23:48:03 2014 -0700
Committer: Patrick Wendell <pwendell@gmail.com>
Committed: Thu May 15 00:49:24 2014 -0700

----------------------------------------------------------------------
 dev/create-release/create-release.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/514157f2/dev/create-release/create-release.sh
----------------------------------------------------------------------
diff --git a/dev/create-release/create-release.sh b/dev/create-release/create-release.sh
index c4e7499..c96afe8 100755
--- a/dev/create-release/create-release.sh
+++ b/dev/create-release/create-release.sh
@@ -49,16 +49,18 @@ if [[ ! "$@" =~ --package-only ]]; then
   mvn -Pyarn release:clean
 
   mvn -DskipTests \
-    -Darguments="-DskipTests=true -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 -Dgpg.passphrase=${GPG_PASSPHRASE}"
\
+    -Darguments="-DskipTests=true -Dmaven.javadoc.skip=true -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0
-Dgpg.passphrase=${GPG_PASSPHRASE}" \
     -Dusername=$GIT_USERNAME -Dpassword=$GIT_PASSWORD \
+    -Dmaven.javadoc.skip=true \
     -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 \
     -Pyarn -Phive -Phadoop-2.2 -Pspark-ganglia-lgpl\
     -Dtag=$GIT_TAG -DautoVersionSubmodules=true \
     --batch-mode release:prepare
 
   mvn -DskipTests \
-    -Darguments="-DskipTests=true -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 -Dgpg.passphrase=${GPG_PASSPHRASE}"
\
+    -Darguments="-DskipTests=true -Dmaven.javadoc.skip=true -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0
-Dgpg.passphrase=${GPG_PASSPHRASE}" \
     -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 \
+    -Dmaven.javadoc.skip=true \
     -Pyarn -Phive -Phadoop-2.2 -Pspark-ganglia-lgpl\
     release:perform
 


Mime
View raw message