Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2704

Source tar file is not created during the relase build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    Description

      Thanks to dineshchitlangia who reported this problem.

      With a release build:

      mvn clean install -Dmaven.javadoc.skip=true -DskipTests -Psign,dist,src -Dtar -Dgpg.keyname=$CODESIGNINGKEY 

      The source package (the release) is not created.

      In fact it's created, but the problem with the order of clean and install:

      • clean is executed in the root project
      • install is executed in the root project (creates hadoop-ozone/dist/target/..src.tar.gx
      • .....
      • clean is executed in the hadoop-ozone/dist project (here the src package is deleted)
      • install is executed in the hadoop-ozone/dist project

      One possible fix is to move the creation of the src package to the hadoop-ozone/dist project (but do it from the project root)

      Attachments

        Activity

          People

            elek Marton Elek
            elek Marton Elek
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h