Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5919

Getting Component Lookup Exception when running MavenCli.doMain (Maven Embedder)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Command Line, Embedding, Errors
    • Labels:
      None

      Description

      Hi Team,

      I seem to get the following exception when I try out maven embedder

      org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Unable to provision, see the following errors:
      1) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 5 of org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.DependencyCollector
      for parameter 5 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      2) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 0 of org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 0 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.<init>(Unknown Source)
      while locating org.apache.maven.repository.internal.DefaultArtifactDescriptorReader
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.eclipse.aether.impl.ArtifactDescriptorReader
      for parameter 4 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      3) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 5 of org.eclipse.aether.internal.impl.DefaultArtifactResolver.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 5 at org.eclipse.aether.internal.impl.DefaultArtifactResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultArtifactResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.ArtifactResolver
      for parameter 2 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      4) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 5 of org.eclipse.aether.internal.impl.DefaultArtifactResolver.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 5 at org.eclipse.aether.internal.impl.DefaultArtifactResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultArtifactResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.ArtifactResolver
      for parameter 2 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.<init>(Unknown Source)
      while locating org.apache.maven.repository.internal.DefaultArtifactDescriptorReader
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.eclipse.aether.impl.ArtifactDescriptorReader
      for parameter 4 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      5) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 3 of org.eclipse.aether.internal.impl.DefaultDeployer.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 3 at org.eclipse.aether.internal.impl.DefaultDeployer.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultDeployer
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.Deployer
      for parameter 7 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      6) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 3 of org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 3 at org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultMetadataResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.MetadataResolver
      for parameter 0 at org.apache.maven.repository.internal.DefaultVersionResolver.<init>(Unknown Source)
      while locating org.apache.maven.repository.internal.DefaultVersionResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.eclipse.aether.impl.VersionResolver
      for parameter 0 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      7) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 3 of org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 3 at org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultMetadataResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.MetadataResolver
      for parameter 0 at org.apache.maven.repository.internal.DefaultVersionRangeResolver.<init>(Unknown Source)
      while locating org.apache.maven.repository.internal.DefaultVersionRangeResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.eclipse.aether.impl.VersionRangeResolver
      for parameter 1 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      8) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 3 of org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 3 at org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultMetadataResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.MetadataResolver
      for parameter 0 at org.apache.maven.repository.internal.DefaultVersionResolver.<init>(Unknown Source)
      while locating org.apache.maven.repository.internal.DefaultVersionResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.eclipse.aether.impl.VersionResolver
      for parameter 2 at org.eclipse.aether.internal.impl.DefaultArtifactResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultArtifactResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.ArtifactResolver
      for parameter 2 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      9) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 3 of org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 3 at org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultMetadataResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.MetadataResolver
      for parameter 3 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      10) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 3 of org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 3 at org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultMetadataResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.MetadataResolver
      for parameter 0 at org.apache.maven.repository.internal.DefaultVersionResolver.<init>(Unknown Source)
      while locating org.apache.maven.repository.internal.DefaultVersionResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.eclipse.aether.impl.VersionResolver
      for parameter 1 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.<init>(Unknown Source)
      while locating org.apache.maven.repository.internal.DefaultArtifactDescriptorReader
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.eclipse.aether.impl.ArtifactDescriptorReader
      for parameter 4 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      11) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 3 of org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 3 at org.eclipse.aether.internal.impl.DefaultMetadataResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultMetadataResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.MetadataResolver
      for parameter 0 at org.apache.maven.repository.internal.DefaultVersionResolver.<init>(Unknown Source)
      while locating org.apache.maven.repository.internal.DefaultVersionResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.eclipse.aether.impl.VersionResolver
      for parameter 2 at org.eclipse.aether.internal.impl.DefaultArtifactResolver.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultArtifactResolver
      while locating java.lang.Object annotated with *
      at org.eclipse.sisu.wire.LocatorWiring
      while locating org.eclipse.aether.impl.ArtifactResolver
      for parameter 2 at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.<init>(Unknown Source)
      while locating org.apache.maven.repository.internal.DefaultArtifactDescriptorReader
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.eclipse.aether.impl.ArtifactDescriptorReader
      for parameter 4 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven

      12) null returned by binding at org.eclipse.sisu.wire.LocatorWiring
      but parameter 10 of org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>() is not @Nullable
      while locating org.eclipse.aether.impl.RemoteRepositoryManager
      for parameter 10 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.<init>(Unknown Source)
      while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem
      while locating java.lang.Object annotated with *
      while locating org.apache.maven.artifact.resolver.DefaultArtifactResolver
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.artifact.resolver.ArtifactResolver
      while locating org.apache.maven.repository.legacy.LegacyRepositorySystem
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.repository.RepositorySystem
      while locating org.apache.maven.project.DefaultProjectBuildingHelper
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuildingHelper
      while locating org.apache.maven.project.DefaultProjectBuilder
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.project.ProjectBuilder
      while locating org.apache.maven.DefaultMaven
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
      while locating org.apache.maven.Maven
      12 errors

      You can refer to my reproducer repo to get more details
      https://github.com/tariq1890/MavenEmbedTest

        Attachments

          Activity

            People

            • Assignee:
              jvanzyl Jason van Zyl
              Reporter:
              tariq1890 Tariq Ibrahim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: