Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210020

MAVEN_VERSION should use short release version for fcs builds

XMLWordPrintable

      For openjfx 11 EA builds, the maven version intentionally contains the build number so that weekly EA builds can be distinguished from each other. Developers access the build by using 11-ea+NN where NN is the build number.

      For GA (fcs) builds, we want the version to be simply '11'. In order to do that, the build logic needs to be modified slightly to not append the build number if IS_MILESTONE_FCS is true.

      It might be as simple as:

      -defineProperty("MAVEN_VERSION", "$RELEASE_VERSION_LONG")
      +defineProperty("MAVEN_VERSION", IS_MILESTONE_FCS ? "$RELEASE_VERSION_SHORT" : "$RELEASE_VERSION_LONG")

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: