[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:21:01 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730179#comment-12730179 ] 

Nick Boldt edited comment on JBIDE-12963 at 10/30/12 2:20 PM:
--------------------------------------------------------------

Committed and pushed to trunk. Respun parent: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_trunk.parent/ #186

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/modeshape-tools-continuous/45/ successfully built & all tests ran. Even added jacoco coverage to the job:

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/modeshape-tools-continuous/lastSuccessfulBuild/artifact/sources/target/coverage-report/html/JaCoCo-Multi/index.html
                
      was (Author: nickboldt):
    Committed and pushed to trunk. Respun parent: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_trunk.parent/ #186

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/modeshape-tools-continuous/45/ successfully built & all tests ran. Even added jacoco coverage to the job.
                  
> 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:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/modeshape-tools-continuous/44/console}
> [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