Uploaded image for project: 'Apache Maven Resource Bundles'
  1. Apache Maven Resource Bundles
  2. MASFRES-71

Build fails in org.apache.maven.plugins:maven-surefire-report-plugin when running without clean

    XMLWordPrintableJSON

Details

    Description

      When first building with mvn clean verify -Prun-its (which runs fine) and then executing mvn verify (without clean) it fails with

      ....
      [INFO] --< org.apache.apache.resources:apache-source-release-assembly-descriptor >--
      [INFO] Building Apache Source Release Assembly Descriptor 1.6-SNAPSHOT    [5/7]
      [INFO]   from source-release/pom.xml
      [INFO] --------------------------------[ jar ]---------------------------------
      ...
      [INFO] --- surefire:3.2.5:test (default-test) @ apache-source-release-assembly-descriptor ---
      [INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider
      [INFO] 
      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [ERROR] org/apache/assembly/it/AppTest (wrong name: basics/basics-child1/target/test-classes/org/apache/assembly/it/AppTest)
      ...
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.12.1:site (default-site) on project apache-source-release-assembly-descriptor: failed to get report for org.apache.maven.plugins:maven-surefire-report-plugin: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project apache-source-release-assembly-descriptor: 
      [ERROR] 
      [ERROR] Please refer to /Users/konradwindszus/git/maven/maven-apache-resources/source-release/target/surefire-reports for the individual test results.
      [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
      [ERROR] There was an error in the forked process
      [ERROR] org/apache/assembly/it/AppTest (wrong name: basics/basics-child1/target/test-classes/org/apache/assembly/it/AppTest)
      [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
      [ERROR] org/apache/assembly/it/AppTest (wrong name: basics/basics-child1/target/test-classes/org/apache/assembly/it/AppTest)
      [ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:628)
      ...
      

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: