[jbosstools-issues] [JBoss JIRA] (JBDS-2407) consider a jbds profile or set better defaults when building JBDS

Nick Boldt (JIRA) jira-events at lists.jboss.org
Tue Nov 27 17:14:21 EST 2012


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

Nick Boldt commented on JBDS-2407:
----------------------------------

Similar fix applied to https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/devstudio-6.0_trunk.soa-tooling.updatesite/ for the same reason.
                
> consider a jbds profile or set better defaults when building JBDS
> -----------------------------------------------------------------
>
>                 Key: JBDS-2407
>                 URL: https://issues.jboss.org/browse/JBDS-2407
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Build, installer
>    Affects Versions: 6.1.0.Alpha1
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>             Fix For: 6.1.0.Alpha1
>
>
> To make it easier to build JBDS in Jenkins [1] or locally, how about we provide a profile which will set the following properties?
> {code}
> -DTARGET_PLATFORM_VERSION=4.2.1.a-SNAPSHOT :: override version of TP to use
> -DTARGET_PLATFORM_VERSION-maximum=4.2.1.a-SNAPSHOT :: override version of TP to use
> -DtargetPlatformGroup=jbdevstudio :: override type of TP to use
> -DtargetPlatformGroup-maximum=jbdevstudio :: override type of TP to use
> -Dtpc.group=jbdevstudio :: override type of TP to use
> -Djbosstools-nightly=http://download.jboss.org/jbosstools/updates/nightly/core/trunk/ :: override upstream JBT deps (use nightly site instead of staging site)
> {code}
> [1] https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/devstudio-6.0_trunk.updatesite
> The reason for this request is that by refactoring the versions of the TPs in trunk (which is a good thing!), you inadvertently broke the JBDS trunk job [1], which needs to set overrides to ensure it's using the correct TP, and correct VERSION of the TP:
> {code}
> $ /qa/tools/opt/apache-maven-3.0.4/bin/mvn -f /mnt/hudson_workspace/workspace/devstudio-6.0_trunk.updatesite/sources/product/pom.xml -DRELEASE=No "-DMAVEN_FLAGS=clean install -B -U -fae -e -P hudson,jbosstools-staging-aggregate,jboss-requirements-composite-extras-mirror,unified.target,maximum" "-Dupdate.site.description=Nightly Build" -Ddownload.cache.directory=/home/hudson/static_build_env/jbds/download-cache -DtargetPlatformGroup-maximum=jbdevstudio-JunoSR1a -DJOB_NAME=devstudio-6.0_trunk.updatesite -DBUILD_NUMBER=3062 -DBUILD_ID=2012-11-27_14-46-28 -Djbosstools-nightly=http://download.jboss.org/jbosstools/updates/nightly/core/trunk/ -DTARGET_PLATFORM_VERSION-maximum=6.0.0.JunoSR1a-SNAPSHOT -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true -Dmaven.repo.local=/mnt/hudson_workspace/workspace/devstudio-6.0_trunk.updatesite/.repository clean install -B -U -fae -e -P hudson,jbosstools-staging-aggregate,jboss-requirements-composite-extras-mirror,unified.target,maximum -gs /home/hudson/.m2/settings.xml -s /mnt/hudson_workspace/workspace/devstudio-6.0_trunk.updatesite/settings/hudson-settings.xml
> [ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.jboss.tools.target-platforms.jbosstools:unified:target:unified:6.0.0.JunoSR1a-SNAPSHOT -> [Help 1]
> org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.jboss.tools.target-platforms.jbosstools:unified:target:unified:6.0.0.JunoSR1a-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