Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13821

CI runs tests against minimum instead of maximum

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.0.1.Final, 4.1.0.Alpha2
    • 4.0.x, 4.1.0.Alpha2
    • build
    • None

      As Maven executions set a value for the TARGET_PLATFORM_VERSION value, this property is not overriden by the maximum profile.
      Maven order to set properties is

      1. look a -D... to set property, if not found
      2. look at active profiles to set property, if not found
      3. look at default value of property to set it

      This makes that in mvn execution for tests, the TARGET_PLATFORM_VERSION is set to minimal is CI jobs, whereas with using the -Pmaximun profile, we expect maximum.

      This is a critical issue since it caused hours of confusions to debug on 4.0.x branch.

              nickboldt Nick Boldt
              mistria@redhat.com Mickael Istria
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: