Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.19.1
    • Fix Version/s: 2.20
    • Component/s: documentation
    • Labels:
      None

      Description

      Hi.

      In page "http://maven.apache.org/surefire/maven-failsafe-plugin/examples/skipping-test.html",the example code on section "Skipping by Default",

      the following code:
      "<skipTests>false</skipTests>"

      should be:
      "<skipTests>true</skipTests>"

      in order to skip tests by default.

      Thanks in advance

        Issue Links

          Activity

          Hide
          vitor.rui.moreira Vítor Rui Moreira added a comment -

          Hi again.

          My suggestion is also incorrect.

          "<skipTests>false</skipTests>" should be "<skipTests>$

          {skipTests}

          </skipTests>", were the property is defined as true in "<properties>" and override in command-line with "-DskipTests=false"

          Show
          vitor.rui.moreira Vítor Rui Moreira added a comment - Hi again. My suggestion is also incorrect. "<skipTests>false</skipTests>" should be "<skipTests>$ {skipTests} </skipTests>", were the property is defined as true in "<properties>" and override in command-line with "-DskipTests=false"
          Hide
          michael-o Michael Osipov added a comment -
          Show
          michael-o Michael Osipov added a comment - Fixed with 1e71470b394837a00a33952bcae59e78fc9d578d .
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in maven-surefire #1579 (See https://builds.apache.org/job/maven-surefire/1579/)
          SUREFIRE-1221 skipTests parameter example is incorrect (michaelo: rev 1e71470b394837a00a33952bcae59e78fc9d578d)

          • maven-surefire-plugin/src/site/apt/examples/skipping-test.apt.vm
          • maven-surefire-plugin/src/site/site.xml
          • maven-surefire-plugin/src/site/apt/index.apt.vm
          • maven-surefire-plugin/src/site/apt/examples/skipping-tests.apt.vm
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in maven-surefire #1579 (See https://builds.apache.org/job/maven-surefire/1579/ ) SUREFIRE-1221 skipTests parameter example is incorrect (michaelo: rev 1e71470b394837a00a33952bcae59e78fc9d578d) maven-surefire-plugin/src/site/apt/examples/skipping-test.apt.vm maven-surefire-plugin/src/site/site.xml maven-surefire-plugin/src/site/apt/index.apt.vm maven-surefire-plugin/src/site/apt/examples/skipping-tests.apt.vm

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              vitor.rui.moreira Vítor Rui Moreira
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development