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

Plugins fail to execute on Maven 3.0.5 and Java 8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-M3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      maven 3.0.5
      jdk 1.8u111
      sles 12

      Description

       The plugin seems to require plexus-java which cannot be found.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3:integration-test (default-integration-test) on project MyParentPOM: Execution default-integration-test of goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3:integration-test failed: Unable to load the mojo 'integration-test' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3': com.google.inject.ProvisionException: Guice provision errors:
      [ERROR] 1) No implementation for org.codehaus.plexus.languages.java.jpms.LocationManager was bound.
      [ERROR] while locating org.apache.maven.plugin.failsafe.IntegrationTestMojo
      [ERROR] at ClassRealm[plugin>org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3, parent: sun.misc.Launcher$AppClassLoader@55f96302]
      [ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3:integration-test)
      [ERROR] 1 error
      [ERROR] role: org.apache.maven.plugin.Mojo
      [ERROR] roleHint: org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3:integration-test
      [ERROR] -> [Help 1]
      [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] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
      

       

        Attachments

        1. surefire-1628-mwe.zip
          11 kB
          Jörg Sesterhenn

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joerg.sesterhenn Jörg Sesterhenn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: