-
Bug
-
Resolution: Done
-
Major
-
7.0.0.Alpha1
-
None
To make it easier to build JBDS in Jenkins [1] or locally, how about we provide a profile which will set the following properties?
-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)
[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:
$ /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