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

Configuration possibility to disable the properties "surefire.test.class.path" and "java.library.path"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.20, 2.21.0
    • Fix Version/s: None
    • Component/s: Maven Surefire Plugin
    • Labels:
      None

      Description

      The properties "surefire.test.class.path" andĀ  "java.class.path" which are written into surefire reports can become quite large in bigger projects since the versionĀ  2.21.0.

      The changes responsible for that are SUREFIRE-1254(surefire.test.class.path) and SUREFIRE-1262 (java.class.path). Since then the size of these two properties are considerably greater than before. As far as I could analyse the code, there is no configuration possibility to remove both of these properties in the surefire report files.

      Therefore it a configuration possibility should be built in to disable the properties in case they are not needed.

      This improvement is created because in our project we have the issue, that our CI environment is having issues while creating the surefire reports because of the file size.

      The current Workaround is to truncate both of these properties to minimize the file size of each report.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pierre_labuhn Pierre Labuhn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: