Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12635

-DskipPrivateRequirements=false in seam tests (and maybe others?) cause tests to always run even when -Dmaven.test.skip=true

    XMLWordPrintable

Details

    Description

      Looking over the log of https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Trunk/job/jbosstools-4.0_trunk.component--seam/ I see that these tests are run...

      org.jboss.tools.seam121EAP.core.test
      org.jboss.tools.seam121EAP.ui.test
      org.jboss.tools.seamfp.core.test
      org.jboss.tools.seamfp.ui.test
      

      ... despite the fact that -Dmaven.test.skip=true is set:

      [sources] $ /qa/tools/opt/apache-maven-3.0.4/bin/mvn -f /mnt/hudson_workspace/workspace/jbosstools-4.0_trunk.component--seam/sources/pom.xml "-DMAVEN_FLAGS=-B -U -fae -e -P hudson,jbosstools-nightly-staging-composite,local.site,local.composite" -Ddownload.cache.directory=/home/hudson/static_build_env/jbds/download-cache -Dmaven.repo.local=/mnt/hudson_workspace/workspace/jbosstools-4.0_trunk.component--seam/.repository clean install -B -U -fae -e -P hudson,jbosstools-nightly-staging-composite,local.site,local.composite -DJOB_NAME=jbosstools-4.0_trunk.component--seam -DBUILD_ID=2012-09-18_05-22-15 -DBUILD_NUMBER=39 -Dmaven.test.skip=true -DskipPrivateRequirements=false
      

      Seems like the problem is in the tests' pom.xml files:

      			<plugin>
      				<groupId>org.eclipse.tycho</groupId>
      				<artifactId>tycho-surefire-plugin</artifactId>
      				<configuration>
      					<skip>${skipPrivateRequirements}</skip><!-- should this be here? -->
      					<explodedBundles>
      						<bundle>org.jboss.tools.seam.ui.test</bundle>
      						<bundle>org.jboss.tools.seam.core.test</bundle>
      						<bundle>org.jboss.tools.seam.core</bundle>
      					</explodedBundles>
                                         ...
      			</plugin>
      

      Attachments

        Issue Links

          Activity

            People

              mistria@redhat.com Mickael Istria
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: