diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-05-14 23:48:03 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-05-15 00:48:58 -0700 |
commit | 88f1da3e212cb41388562bb42bf5d7364e0d3180 (patch) | |
tree | 5a3200d48ed0b94b7b3797b8305d6aef7254fb98 | |
parent | c4746aa6fe4aaf383e69e34353114d36d1eb9ba6 (diff) | |
download | spark-88f1da3e212cb41388562bb42bf5d7364e0d3180.tar.gz spark-88f1da3e212cb41388562bb42bf5d7364e0d3180.tar.bz2 spark-88f1da3e212cb41388562bb42bf5d7364e0d3180.zip |
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.
-rwxr-xr-x | dev/create-release/create-release.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/create-release/create-release.sh b/dev/create-release/create-release.sh index c4e7499086..c96afe822c 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 |