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

Show Maven errors from within make-distribution.sh

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: Build
    • Labels:
      None

      Description

      This works:

      ./dev/make-distribution.sh \
       --pip \
       -Phadoop-2.7 -Phive -Phadoop-cloud 

       
      But this doesn't:

       ./dev/make-distribution.sh \
       -Phadoop-2.7 -Phive -Phadoop-cloud \
       --pip

       

      The latter invocation yields the following, confusing output:

       + VERSION=' -X,--debug Produce execution debug output'

       That's because Maven is accepting --pip as an option and failing, but the user doesn't get to see the error from Maven.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nchammas Nicholas Chammas
                Reporter:
                nchammas Nicholas Chammas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: