spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwend...@apache.org
Subject spark git commit: [HOTFIX] Rename release-profile to release
Date Tue, 07 Jul 2015 05:17:51 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.4 5c080c2ee -> 397bafd7d


[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.


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

Branch: refs/heads/branch-1.4
Commit: 397bafd7db7a60a7c3b0f3dd59d10cd7261f1fba
Parents: 5c080c2
Author: Patrick Wendell <patrick@databricks.com>
Authored: Mon Jul 6 22:14:24 2015 -0700
Committer: Patrick Wendell <patrick@databricks.com>
Committed: Mon Jul 6 22:17:42 2015 -0700

----------------------------------------------------------------------
 dev/create-release/create-release.sh | 4 ++--
 pom.xml                              | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/397bafd7/dev/create-release/create-release.sh
----------------------------------------------------------------------
diff --git a/dev/create-release/create-release.sh b/dev/create-release/create-release.sh
index cfe2cd4..30190dc 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
 

http://git-wip-us.apache.org/repos/asf/spark/blob/397bafd7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e1b3e87..9953ad0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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`


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message