Skip to content

Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:3.4.0:enforce failed: Unable to provision, see the following errors: #688

@jiridanek

Description

@jiridanek

https://github.com/rh-messaging/cli-java/actions/runs/7427034533/job/20211955810#step:4:882

Error:  Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.4.0:enforce (enforce-maven) on project jmslib: Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:3.4.0:enforce failed: Unable to provision, see the following errors:
Error:  
Error:  1) Error in custom provider, java.lang.IllegalStateException
Error:    at org.apache.maven.session.scope.internal.SessionScopeModule.configure(SessionScopeModule.java:64) (via modules: org.eclipse.sisu.wire.WireModule -> org.apache.maven.session.scope.internal.SessionScopeModule)
Error:    while locating org.apache.maven.execution.MavenSession
Error: [ERROR] 
Error: [ERROR] 1 error
Error:  -> [Help 1]
Error:  Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.4.0:enforce (enforce-maven) on project jakartalib: Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:3.4.0:enforce failed: Unable to provision, see the following errors:
Error:  
Error:  1) Error in custom provider, java.lang.IllegalStateException
Error:    at org.apache.maven.session.scope.internal.SessionScopeModule.configure(SessionScopeModule.java:64) (via modules: org.eclipse.sisu.wire.WireModule -> org.apache.maven.session.scope.internal.SessionScopeModule)
Error:    while locating org.apache.maven.execution.MavenSession
Error: [ERROR] 
Error: [ERROR] 1 error
Error:  -> [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
Error:  
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :jmslib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions