xmvn "Error injecting: org.apache.maven.artifact.resolver.DefaultArtifactResolver"

Solution Verified - Updated -

Issue

  • xmvn fails when running the following:
$ xmvn --batch-mode -Dmaven.test.skip=true package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:builddep
[WARNING] Error injecting: org.apache.maven.artifact.resolver.DefaultArtifactResolver
com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
...

Environment

  • maven 3.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content