Maven Surefire
  1. Maven Surefire
  2. SUREFIRE-319

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.2
    • Component/s: Maven Surefire Plugin
    • Labels:
      None
    • Environment:
      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.

        Issue Links

          Activity

          Graham Leggett created issue -
          Brett Porter made changes -
          Field Original Value New Value
          Fix Version/s 2.4 [ 13243 ]
          Dan Fabulich made changes -
          Fix Version/s 2.x [ 13647 ]
          Fix Version/s 2.4 [ 13243 ]
          Kristian Rosenvold made changes -
          Component/s Maven Surefire Plugin [ 12561 ]
          squizzz made changes -
          Link This issue duplicates MNG-4979 [ MNG-4979 ]
          Kristian Rosenvold made changes -
          Fix Version/s Backlog [ 13647 ]
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Kristian Rosenvold [ krosenvold ]
          Resolution Fixed [ 1 ]
          Fix Version/s 2.7.2 [ 17030 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:23:32 UTC 2015 [ 1428240212200 ]
          Mark Thomas made changes -
          Workflow jira [ 12727571 ] Default workflow, editable Closed status [ 12758792 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 01:36:33 UTC 2015 [ 1428284193036 ]
          Mark Thomas made changes -
          Workflow jira [ 12965683 ] Default workflow, editable Closed status [ 13003395 ]

            People

            • Assignee:
              Kristian Rosenvold
              Reporter:
              Graham Leggett
            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development