You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mamta chopade (Jira)" <ji...@apache.org> on 2020/02/11 07:13:00 UTC
[jira] [Commented] (SUREFIRE-1628) Plugins fail to execute on Maven
3.0.5 and Java 8
[ https://issues.apache.org/jira/browse/SUREFIRE-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034180#comment-17034180 ]
Mamta chopade commented on SUREFIRE-1628:
-----------------------------------------
I am using maven version 3.0.5 and surefire version as 3.0.0-M4
But i am getting error as
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project SHS_Final: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed: Unable to load the mojo 'test' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1': com.google.inject.ProvisionException: Guice provision errors: [ERROR] [ERROR] 1) No implementation for org.codehaus.plexus.languages.java.jpms.LocationManager was bound. [ERROR] while locating org.apache.maven.plugin.surefire.SurefirePlugin [ERROR] at ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1, parent: sun.misc.Launcher$AppClassLoader@647e05] [ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test)
I also tried to change surefire version to 3.0.0-M2 and 3.0.0-M3
Still same issue
Can anyone please help ?
> Plugins fail to execute on Maven 3.0.5 and Java 8
> -------------------------------------------------
>
> Key: SUREFIRE-1628
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1628
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Failsafe Plugin, Maven Surefire Plugin
> Affects Versions: 3.0.0-M3
> Environment: maven 3.0.5
> jdk 1.8u111
> sles 12
> Reporter: Jörg Sesterhenn
> Priority: Major
> Attachments: surefire-1628-mwe.zip
>
>
> The plugin seems to require plexus-java which cannot be found.
> {code:java}
> [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
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)