Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-319

<skip>true</skip> cannot be overridden using mvn -Dmaven.test.skip=false test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.2
    • Maven Surefire Plugin
    • None
    • java version "1.5.0_09"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
      Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_09-b01, mixed mode)

    Description

      If the pom file is configured to skip tests using <skip>true</skip>, and an attempt is made to override this on the command line using mvn -Dmaven.test.skip=false test, the attempt does not work (the test is still skipped).

      In theory, the command line flag should override the pom setting.

      Attachments

        Issue Links

          Activity

            People

              krosenvold Kristian Rosenvold
              minfrin Graham Leggett
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: