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

-Xbootclasspath specified in <argLine> not passed to forked JVM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.4, 2.4.1, 2.4.2
    • None
    • process forking
    • None

    Description

      The 2.4.x versions of maven-surefire-plugin do not propagate the bootclasspath to the forked JVM that executes the tests.

      I have attached a sample project that demonstrates this problem. The sample application has a test case that verifies that the -Xbootclasspath parameter given in the <argLine> of the POM is properly passed to the JVM running the tests, but the test fails when using 2.4.x versions.

      If you modify the POM to use 2.3 version instead of 2.4.2, the tests pass.

      Attachments

        1. surefire-argline-bug.tar.gz
          1 kB
          Jason Voegele

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jvoegele Jason Voegele
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: