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

MAVEN - PluginExecutionException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • SNAPSHOT : 0.1
      Maven: 3.8.4
      Maven-Surefire : 2.19
    • Important

    Description

      The issue started whereby the maven surefire plugin is turn up failed. even before this theres issue with maven 2.4.1 but i have upgraded to maven 3.8.4. As whole and by right it should solve the mentioned issues. But still appeared.

       
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project ABCApplications _Automation: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test failed: testSuiteXmlFiles0 has null value -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
      The process 'C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.4\bin\mvn.cmd' failed with exit code 1
      Could not retrieve code analysis results - Maven run failed.
      No test result files matching D:\a\1\s**\surefire-reports\TEST-*.xml were found, so publishing JUnit test results is being skipped.
      ##[error]Build failed.
      Finishing: Maven pom.xml
       

      Since im new to JAVA (recently change). Theres alot of gray area on this. Hope everyone who see this can help me on this. its already prolong for quite sometime.

       

       

      Attachments

        1. screenshot-1.png
          4 kB
          Jo Jaafar
        2. directory-list.PNG
          4 kB
          Jo Jaafar

        Activity

          People

            tibordigana Tibor Digana
            jojaafar Jo Jaafar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 68h
                68h
                Remaining:
                Remaining Estimate - 68h
                68h
                Logged:
                Time Spent - Not Specified
                Not Specified