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

allow projects to override BUILD_ALIAS without referring to a non-existent target platform definition

XMLWordPrintable

      Modeshape sets their own BUILD_ALIAS, eg., Beta5 (while JBoss Tools is still on Beta1 or Beta2).

      The result of this is:

      [ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.jboss.tools.target-platforms.jbosstools-JunoSR1a:jenkins:target:jenkins:4.0.0.Beta5-SNAPSHOT -> [Help 1]
      

      So, to fix this, we can externalize ${JBT_VERSION}.${BUILD_ALIAS}-SNAPSHOT as used in the parent pom to a new variable, TARGET_PLATFORM_VERSION, which would then allow BUILD_ALIAS to be set independently.

      Thus the job would run with:

      -DBUILD_ALIAS=Beta5 -DTARGET_PLATFORM_VERSION=4.0.0.Beta2-SNAPSHOT
      

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: