diff options
author | Patrick Wendell <patrick@databricks.com> | 2015-07-06 22:14:24 -0700 |
---|---|---|
committer | Patrick Wendell <patrick@databricks.com> | 2015-07-06 22:17:42 -0700 |
commit | 397bafd7db7a60a7c3b0f3dd59d10cd7261f1fba (patch) | |
tree | c0fe9c171f3d6057d4c3655dabeccbacea272ecb | |
parent | 5c080c2ee498a97a8aaba8f96bfa17c7444f6bb6 (diff) | |
download | spark-397bafd7db7a60a7c3b0f3dd59d10cd7261f1fba.tar.gz spark-397bafd7db7a60a7c3b0f3dd59d10cd7261f1fba.tar.bz2 spark-397bafd7db7a60a7c3b0f3dd59d10cd7261f1fba.zip |
[HOTFIX] Rename release-profile to release
when publishing releases. We named it as 'release-profile' because that is
the Maven convention. However, it turns out this special name causes several
other things to kick-in when we are creating releases that are not desirable.
For instance, it triggers the javadoc plugin to run, which actually fails
in our current build set-up.
The fix is just to rename this to a different profile to have no
collateral damage associated with its use.
-rwxr-xr-x | dev/create-release/create-release.sh | 4 | ||||
-rw-r--r-- | pom.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dev/create-release/create-release.sh b/dev/create-release/create-release.sh index cfe2cd4752..30190dcd41 100755 --- a/dev/create-release/create-release.sh +++ b/dev/create-release/create-release.sh @@ -118,13 +118,13 @@ if [[ ! "$@" =~ --skip-publish ]]; then rm -rf $SPARK_REPO - build/mvn -DskipTests -Pyarn -Phive -Prelease-profile\ + build/mvn -DskipTests -Pyarn -Phive -Prelease\ -Phive-thriftserver -Phadoop-2.2 -Pspark-ganglia-lgpl -Pkinesis-asl \ clean install ./dev/change-version-to-2.11.sh - build/mvn -DskipTests -Pyarn -Phive -Prelease-profile\ + build/mvn -DskipTests -Pyarn -Phive -Prelease\ -Dscala-2.11 -Phadoop-2.2 -Pspark-ganglia-lgpl -Pkinesis-asl \ clean install @@ -1821,7 +1821,7 @@ Use this profile only for making Spark releases. Note that due to SPARK-8819, you must use maven version 3.2.x or before to avoid running into MSHADE-148. --> - <id>release-profile</id> + <id>release</id> <properties> <!-- The maven shade plugin has a bug where enabling the `createDependencyReducedPom` |