[jbosstools-issues] [JBoss JIRA] (JBIDE-12963) allow projects to override BUILD_ALIAS without referring to a non-existent target platform definition

Nick Boldt (JIRA) jira-events at lists.jboss.org
Tue Oct 30 14:03:01 EDT 2012


Nick Boldt created JBIDE-12963:
----------------------------------

             Summary: allow projects to override BUILD_ALIAS without referring to a non-existent target platform definition
                 Key: JBIDE-12963
                 URL: https://issues.jboss.org/browse/JBIDE-12963
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Build/Releng, modeshape, target-platform
    Affects Versions: 4.0.0.CR1
            Reporter: Nick Boldt
            Assignee: Nick Boldt
             Fix For: 4.0.0.CR1


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

The result of this is:

{code}
[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]
{code}

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:

{code}
-DBUILD_ALIAS=Beta5 -DTARGET_PLATFORM_VERSION=4.0.0.Beta2-SNAPSHOT
{code}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list