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

Cannot override read-only parameter: classpathElements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.2 (2.1.2 plugin), 2.0 (2.2 plugin)
    • 2.4
    • None
    • None
    • Patch

    Description

      When calling "mvn site" on a multi-module project the goal "surefire:test" fails for the second project:
      Error configuring: org.apache.maven.plugins:maven-surefire-plugin. Reason: ERROR: Cannot override read-only parameter: classpathElements in goal: surefire:test

      "mvn test" works and runs the tests on all modules.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jzedlitz Jesper Zedlitz
              Votes:
              6 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: