[jbosstools-issues] [JBoss JIRA] (JBIDE-24788) [Maven 3.5] hibernate site does not include new hibernate.reddeer plugin; skipTests not working

Nick Boldt (JIRA) issues at jboss.org
Wed Aug 2 16:20:00 EDT 2017


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

Nick Boldt edited comment on JBIDE-24788 at 8/2/17 4:19 PM:
------------------------------------------------------------

So, turns out this is how we need to run the deployments - don't actually need the skipDeployToJBossOrg=false property:

{code}
  M2_HOME=${COMMON_TOOLS}${SEP}maven3-latest/
  SOURCEDIR=${WORKSPACE}/sources
  deploySourceFolder=${SOURCEDIR}/site/target/repository
  cd ${SOURCEDIR}
  $M2_HOME/bin/mvn deploy -Pdeploy-to-jboss.org --projects site -DskipTests \
    -DdeployScriptDir=${SOURCEDIR} -DdeploySourceFolder=${deploySourceFolder} \
    -Dmaven.repo.local=$WORKSPACE/.repository -Dstream_jbt=${stream_jbt} ${MAVEN_FLAGS}
{code}

Or for special cases:
{code}-f products/pom.xml --projects browsersim-standalone 
-f aggregate/site/pom.xml
-f aggregate/coretests-site/pom.xml
-f aggregate/${projectName}-site/pom.xml
--projects jboss-fuse-sap-tool-suite/site
--projects results
{code}





was (Author: nickboldt):
So, turns out this is how we need to run the deployments - don't actually need the skipDeployToJBossOrg=false property:

{code}
  M2_HOME=${COMMON_TOOLS}${SEP}maven3-latest/
  SOURCEDIR=${WORKSPACE}/sources
  deploySourceFolder=${SOURCEDIR}/site/target/repository
  cd ${SOURCEDIR}
  $M2_HOME/bin/mvn deploy -Pdeploy-to-jboss.org --projects site -DskipTests \
    -DdeployScriptDir=${SOURCEDIR} -DdeploySourceFolder=${deploySourceFolder} \
    -Dmaven.repo.local=$WORKSPACE/.repository -Dstream_jbt=${stream_jbt} ${MAVEN_FLAGS}
{code}

Or for special cases:
{code}--projects browsersim-standalone -f products/pom.xml
--projects aggregate/site
--projects aggregate/coretests-site
--projects aggregate/${projectName}-site
--projects jboss-fuse-sap-tool-suite/site
--projects product/results
{code}




> [Maven 3.5] hibernate site does not include new hibernate.reddeer plugin; skipTests not working
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-24788
>                 URL: https://issues.jboss.org/browse/JBIDE-24788
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.5.0.Final
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>            Priority: Critical
>             Fix For: 4.5.0.Final
>
>
> After switching jobs to use maven 3.5.0, publishing is no longer working -- old artifacts are being pulled from JBT site, rather than using locally-built artifacts.
> So, hibernate site does not include new hibernate.reddeer plugin, causing this failure in the integration tests site build:
> {code}11:54:30 [ERROR]   Missing requirement: org.jboss.tools.forge.ui.bot.test 4.4.100.qualifier requires 'bundle org.jboss.tools.hibernate.reddeer 0.0.0' but it could not be found
> {code} - https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-integration-tests.aggregate_master/743/console
> Also, the -DskipTests flag is not working. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list