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

forkMode none deprecated but given as an example in the debugging documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.3
    • 2.5
    • documentation
    • None

    Description

      On the maven-surefire-plugin website, on the following page about debugging: http://maven.apache.org/plugins/maven-surefire-plugin/examples/debugging.html

      I guess the "mvn -DforkMode=none test" and "mvnDebug -DforkMode=none test" sentences should be updated to -DforkMode=never ?

      In fact, in the forkMode property documentation: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#forkMode, it is stated:

      Can be "never", "once" or "always". "none" and "pertest" are also accepted for backwards compatibility.

      Cheers.

      Attachments

        Activity

          People

            pgier Paul Gier
            mathus.b@mipih.fr Baptiste MATHUS
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: