Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-3048

Could com.jboss.devstudio.core.central plugin inherit values in currentversion.properties from parent & root pom instead of hardcoding it?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Beta3
    • 8.0.0.Beta2
    • build, central
    • None

      I see a new file was added after Beta2, on Apr 22:

      Since this file will need to be manually updated w/ every milestone, I was wondering if we could simply pull the value out of the parent pom & root pom, which inherit these values:

      ${project version} = 8.0.0-SNAPSHOT
      ${BUILD_ALIAS} = Beta3
      

      Then with some minor string manipulation you can produce the correct string, 8.0.0.Beta3.

      (I have maven/ant code to do this, but you're in Java so YMMV.)

              fbricon@redhat.com Fred Bricon
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: