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

4.0.0-alpha 3 not compatible with flatten plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.0.0-alpha-3
    • 4.0.0-alpha-4, 4.0.0
    • None
    • None

    Description

      when using flatten-m-p

      [WARNING] ClassRealm[plugin>org.codehaus.mojo:flatten-maven-plugin:1.3.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@5ffd2b27]
      
      com.google.inject.CreationException: Unable to create injector, see the following errors:
      
      
      
      1) [Guice/MissingImplementation]: No implementation for ModelBuilderThreadSafetyWorkaround annotated with interface TypeArguments$Implicit was bound.
      
      
      
      Did you mean?
      
          ModelBuilderThreadSafetyWorkaround bound at LocatorWiring
      
      
      
      Requested by:
      
      1  : LocatorWiring
      
      
      
      Learn more:
      
        https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION
      
      
      
      1 error
      
      
      
      ======================
      
      Full classname legend:
      
      ======================
      
      LocatorWiring:                      "org.eclipse.sisu.wire.LocatorWiring"
      
      ModelBuilderThreadSafetyWorkaround: "org.codehaus.mojo.flatten.ModelBuilderThreadSafetyWorkaround"
      
      TypeArguments$Implicit:             "org.eclipse.sisu.inject.TypeArguments$Implicit"
      
      ========================
      
      End of classname legend:
      
      ========================
      
      
      
          at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist (Errors.java:576)
      
          at com.google.inject.internal.InternalInjectorCreator.initializeStatically (InternalInjectorCreator.java:163)
      
          at com.google.inject.internal.InternalInjectorCreator.build (InternalInjectorCreator.java:110)
      
          at com.google.inject.Guice.createInjector (Guice.java:87)
      
          at com.google.inject.Guice.createInjector (Guice.java:69)
      
          at com.google.inject.Guice.createInjector (Guice.java:59)
      
          at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector (DefaultPlexusContainer.java:481)
      
          at org.codehaus.plexus.DefaultPlexusContainer.discoverComponents (DefaultPlexusContainer.java:460)
      
          at org.apache.maven.plugin.internal.DefaultMavenPluginManager.discoverPluginComponents (DefaultMavenPluginManager.java:421)
      
          at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm (DefaultMavenPluginManager.java:403)
      
          at org.apache.maven.plugin.internal.DefaultMavenPluginManager.lambda$setupPluginRealm$2 (DefaultMavenPluginManager.java:351)
      
          at org.apache.maven.plugin.DefaultPluginRealmCache.lambda$get$0 (DefaultPluginRealmCache.java:156)
      
          at java.util.concurrent.ConcurrentHashMap.computeIfAbsent (ConcurrentHashMap.java:1708)
      
          at org.apache.maven.plugin.DefaultPluginRealmCache.get (DefaultPluginRealmCache.java:154)
      
          at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm (DefaultMavenPluginManager.java:350)
      
          at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm (DefaultBuildPluginManager.java:206)
      
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:103)
      
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:334)
      
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:322)
      
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
      
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:172)
      
          at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
      
          at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:160)
      
          at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:37)
      
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:157)
      
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:106)
      
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:74)
      
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:58)
      
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:130)
      
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:304)
      
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:226)
      
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:151)
      
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:854)
      
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:281)
      
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:197)
      
          at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104)
      
          at java.lang.reflect.Method.invoke (Method.java:578)
      
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
      
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
      
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
      

      related issue https://github.com/mojohaus/flatten-maven-plugin/issues/330

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              olamy Olivier Lamy
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: