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

VM crash when using reportsDirectory pointing to parent module and maven parallel build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.19.1
    • Backlog
    • Maven Surefire Plugin
    • None
    • windows 7 x86 64

    Description

      In my parent pom, i've configured the surefire plugin with
      <reportsDirectory>${basedir}/../surefire-reports</reportsDirectory>
      So that all reports go to the parent folder (i have one parent module with n submodules just below). I need to centralize all reports from all modules in order to use another tool on them.

      If i do this and use mvn -T 1C to use parallel build, i have the following error :
      The forked VM terminated without saying properly goodbye. VM crash or System.exit called

      If i remove the reportsDirectory, no more problem, but all reports stay in submodules... I could use an ant task to copy files at the end of tests but it sucks...

      Attachments

        Activity

          People

            tibordigana Tibor Digana
            jeromevdl Jérôme Van Der Linden
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: