Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-17058

Add maven snapshots-and-staging profile to build/test against staging artifacts

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0, 2.2.0
    • Component/s: Build
    • Labels:
      None
    • Environment:

      mvn building against staged RC artifacts of Hadoop, HBase, etc.

      Description

      Although you can explicitly set a new version of Hadoop or HBase on the command line of a build, you can't directly build against staged artifacts from these projects, or their nightly builds, because they aren't on the repository list.

      Excluding them is the right thing to do for releases, but makes testing against snapshots or RCs of dependencies hard.

      Adding a new snapshots-and-staging profile allows developers to explicitly request that the ASF snapshot and staging repos are added to the plugin and artifact repositories, so use these artifacts in testing. It will also allow the URLs of these repositories to be overridden —so people can switch to their private repositories, if they desire

        Attachments

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: