You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by JoshRosen <gi...@git.apache.org> on 2016/06/08 19:05:08 UTC

[GitHub] spark pull request #13564: [SPARK-15827][BUILD] Publish Spark's forked sbt-p...

GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/13564

    [SPARK-15827][BUILD] Publish Spark's forked sbt-pom-reader to Maven Central

    Spark's SBT build currently uses a fork of the sbt-pom-reader plugin but depends on that fork via a SBT subproject which is cloned from https://github.com/scrapcodes/sbt-pom-reader/tree/ignore_artifact_id. This unnecessarily slows down the initial build on fresh machines and is also risky because it risks a build breakage in case that GitHub repository ever changes or is deleted.
    
    In order to address these issues, I propose to publish a pre-built binary of our forked sbt-pom-reader plugin to Maven Central under the `org.spark-project` namespace.
    
    For now, I've staged a release of the plugin at https://oss.sonatype.org/content/repositories/orgspark-project-1124 and have reconfigured the build to use that. This release was built from https://github.com/JoshRosen/sbt-pom-reader/tree/v1.0.0-spark, which contains the contents of @ScrapCodes's branch plus an additional patch to configure the build for artifact publication.
    
    Provided that all of the tests pass and the artifacts look okay, I plan to promote the release to Maven Central and rebase.
    
    /cc @srowen @ScrapCodes for review.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark use-published-fork-of-pom-reader

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/13564.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13564
    
----
commit d4078463d1937217d2b167c1cd370074efb62d8d
Author: Josh Rosen <jo...@databricks.com>
Date:   2016-06-08T18:58:56Z

    Add staging repository for forked POM reader.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD][WIP] Publish Spark's forked sbt-pom...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    **[Test build #60216 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60216/consoleFull)** for PR 13564 at commit [`57199a8`](https://github.com/apache/spark/commit/57199a84a97ad8d324a350e5e71f3888da5a2772).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD] Publish Spark's forked sbt-pom-read...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    **[Test build #60189 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60189/consoleFull)** for PR 13564 at commit [`d407846`](https://github.com/apache/spark/commit/d4078463d1937217d2b167c1cd370074efb62d8d).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request #13564: [SPARK-15827][BUILD][WIP] Publish Spark's forked ...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13564#discussion_r66371769
  
    --- Diff: project/plugins.sbt ---
    @@ -21,3 +21,14 @@ libraryDependencies += "org.ow2.asm"  % "asm" % "5.0.3"
     libraryDependencies += "org.ow2.asm"  % "asm-commons" % "5.0.3"
     
     addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.7.11")
    +
    +// Spark uses a custom fork of the sbt-pom-reader plugin which contains a patch to fix issues
    +// related to test-jar dependencies (https://github.com/sbt/sbt-pom-reader/pull/14). The source for
    +// this fork is published at https://github.com/JoshRosen/sbt-pom-reader/tree/v1.0.0-spark
    +// and corresponds to commit b160317fcb0b9d1009635a7c5aa05d0f3be61936 in that repository.
    +// In the long run, we should try to merge our patch upstream and switch to an upstream version of
    +// the plugin; this is tracked at SPARK-14401.
    +
    +resolvers += "Spark fork of sbt-pom-reader" at "https://oss.sonatype.org/content/repositories/orgspark-project-1124"
    --- End diff --
    
    Done. Let's wait for it to hit Central.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD][WIP] Publish Spark's forked sbt-pom...

Posted by ScrapCodes <gi...@git.apache.org>.
Github user ScrapCodes commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    Thanks for doing this. It will definitely save time, and some CPU cycles(energy) for all the first time builds. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD] Publish Spark's forked sbt-pom-read...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD] Publish Spark's forked sbt-pom-read...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    This is now sync'd to Maven Central and has passed tests, so I'm going to merge it into master, branch-2.0, and branch-1.6.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD][WIP] Publish Spark's forked sbt-pom...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD] Publish Spark's forked sbt-pom-read...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    **[Test build #60189 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60189/consoleFull)** for PR 13564 at commit [`d407846`](https://github.com/apache/spark/commit/d4078463d1937217d2b167c1cd370074efb62d8d).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD][WIP] Publish Spark's forked sbt-pom...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60216/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request #13564: [SPARK-15827][BUILD][WIP] Publish Spark's forked ...

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13564#discussion_r66369245
  
    --- Diff: project/plugins.sbt ---
    @@ -21,3 +21,14 @@ libraryDependencies += "org.ow2.asm"  % "asm" % "5.0.3"
     libraryDependencies += "org.ow2.asm"  % "asm-commons" % "5.0.3"
     
     addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.7.11")
    +
    +// Spark uses a custom fork of the sbt-pom-reader plugin which contains a patch to fix issues
    +// related to test-jar dependencies (https://github.com/sbt/sbt-pom-reader/pull/14). The source for
    +// this fork is published at https://github.com/JoshRosen/sbt-pom-reader/tree/v1.0.0-spark
    +// and corresponds to commit b160317fcb0b9d1009635a7c5aa05d0f3be61936 in that repository.
    +// In the long run, we should try to merge our patch upstream and switch to an upstream version of
    +// the plugin; this is tracked at SPARK-14401.
    +
    +resolvers += "Spark fork of sbt-pom-reader" at "https://oss.sonatype.org/content/repositories/orgspark-project-1124"
    --- End diff --
    
    is this permanent?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request #13564: [SPARK-15827][BUILD] Publish Spark's forked sbt-p...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/13564


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD][WIP] Publish Spark's forked sbt-pom...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    **[Test build #60216 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/60216/consoleFull)** for PR 13564 at commit [`57199a8`](https://github.com/apache/spark/commit/57199a84a97ad8d324a350e5e71f3888da5a2772).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request #13564: [SPARK-15827][BUILD][WIP] Publish Spark's forked ...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13564#discussion_r66369515
  
    --- Diff: project/plugins.sbt ---
    @@ -21,3 +21,14 @@ libraryDependencies += "org.ow2.asm"  % "asm" % "5.0.3"
     libraryDependencies += "org.ow2.asm"  % "asm-commons" % "5.0.3"
     
     addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.7.11")
    +
    +// Spark uses a custom fork of the sbt-pom-reader plugin which contains a patch to fix issues
    +// related to test-jar dependencies (https://github.com/sbt/sbt-pom-reader/pull/14). The source for
    +// this fork is published at https://github.com/JoshRosen/sbt-pom-reader/tree/v1.0.0-spark
    +// and corresponds to commit b160317fcb0b9d1009635a7c5aa05d0f3be61936 in that repository.
    +// In the long run, we should try to merge our patch upstream and switch to an upstream version of
    +// the plugin; this is tracked at SPARK-14401.
    +
    +resolvers += "Spark fork of sbt-pom-reader" at "https://oss.sonatype.org/content/repositories/orgspark-project-1124"
    --- End diff --
    
    No, if we decide that the bits that I published here look okay then I'll push to central and remove this resolver.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request #13564: [SPARK-15827][BUILD][WIP] Publish Spark's forked ...

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13564#discussion_r66369823
  
    --- Diff: project/plugins.sbt ---
    @@ -21,3 +21,14 @@ libraryDependencies += "org.ow2.asm"  % "asm" % "5.0.3"
     libraryDependencies += "org.ow2.asm"  % "asm-commons" % "5.0.3"
     
     addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.7.11")
    +
    +// Spark uses a custom fork of the sbt-pom-reader plugin which contains a patch to fix issues
    +// related to test-jar dependencies (https://github.com/sbt/sbt-pom-reader/pull/14). The source for
    +// this fork is published at https://github.com/JoshRosen/sbt-pom-reader/tree/v1.0.0-spark
    +// and corresponds to commit b160317fcb0b9d1009635a7c5aa05d0f3be61936 in that repository.
    +// In the long run, we should try to merge our patch upstream and switch to an upstream version of
    +// the plugin; this is tracked at SPARK-14401.
    +
    +resolvers += "Spark fork of sbt-pom-reader" at "https://oss.sonatype.org/content/repositories/orgspark-project-1124"
    --- End diff --
    
    please go ahead!



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark issue #13564: [SPARK-15827][BUILD] Publish Spark's forked sbt-pom-read...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/13564
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60189/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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