[ https://issues.apache.org/jira/browse/MNG-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov reopened MNG-6210: --------------------------------- The IT breaks Git Bash: {noformat} mosipov@mikaw10 MINGW64 /d/Entwicklung/Projekte/maven-integration-testing (master) $ git pull Updating 03e63dc..39a910a error: cannot stat 'core-it-suite/src/test/resources/mng-6210-core-extensions-custom-scopes/repo-src/maven-it-core-extensions-custom-scopes/src/main/java/org/apache/maven/its/core_extensions_custom_scopes/TestMojoExecutionScopedComponent.java': Filename too long error: cannot stat 'core-it-suite/src/test/resources/mng-6210-core-extensions-custom-scopes/repo-src/maven-it-core-extensions-custom-scopes/src/main/java/org/apache/maven/its/core_extensions_custom_scopes/TestSessionScopedComponent.java': Filename too long error: The following untracked working tree files would be overwritten by merge: core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6209MultipleBuildExtensions.java core-it-suite/src/test/java/org/apache/maven/it/MavenITmng6210CoreExtensionsCustomScopesTest.java core-it-suite/src/test/resources/mng-6209-multiple-build-extensions/plugin-a/pom.xml core-it-suite/src/test/resources/mng-6209-multiple-build-extensions/plugin-a/src/main/java/org/apache/maven/its/mng6209/multiple/build/extensions/plugina/BuildExtensionAComponent.java core-it-suite/src/test/resources/mng-6209-multiple-build-extensions/plugin-a/src/main/java/org/apache/maven/its/mng6209/multiple/build/extensions/plugina/BuildExtensionAMojo.java core-it-suite/src/test/resources/mng-6209-multiple-build-extensions/plugin-b/pom.xml core-it-suite/src/test/resources/mng-6209-multiple-build-extensions/plugin-b/src/main/java/org/apache/maven/its/mng6209/multiple/build/extensions/pluginb/BuildExtensionBMojo.java core-it-suite/src/test/resources/mng-6209-multiple-build-extensions/project/pom.xml core-it-suite/src/test/resources/mng-6210-core-extensions-custom-scopes/client/.mvn/extensions.xml core-it-suite/src/test/resources/mng-6210-core-extensions-custom-scopes/client/pom.xml core-it-suite/src/test/resources/mng-6210-core-extensions-custom-scopes/repo-src/maven-it-core-extensions-custom-scopes/.gitignore core-it-suite/src/test/resources/mng-6210-core-extensions-custom-scopes/repo-src/maven-it-core-extensions-custom-scopes/pom.xml core-it-suite/src/test/resources/mng-6210-core-extensions-custom-scopes/repo-src/maven-it-core-extensions-custom-scopes/src/main/resources/META-INF/maven/extension.xml core-it-suite/src/test/resources/mng-6210-core-extensions-custom-scopes/repo-src/maven-it-plugin-core-extensions-custom-scopes-client/.gitignore core-it-suite/src/test/resources/mng-6210-core-extensions-custom-scopes/repo-src/maven-it-plugin-core-extensions-custom-scopes-client/pom.xml Please move or remove them before you can merge. Aborting {noformat} You should shorten it down. > can't load @SessionScoped/@MojoExecutionScoped components from > .mvn/extensions.xml > ---------------------------------------------------------------------------------- > > Key: MNG-6210 > URL: https://issues.apache.org/jira/browse/MNG-6210 > Project: Maven > Issue Type: Bug > Components: Class Loading > Affects Versions: 3.3.1, 3.3.3, 3.3.9 > Reporter: Igor Fedorenko > Assignee: Igor Fedorenko > Fix For: 3.5.1 > > > The build fails with the exception below if Maven core extensions defined in > .mvn/extensions.xml includes any @SessionScoped or MojoExecutionScoped > components > {code} > [WARNING] > ClassRealm[coreExtension>io.takari.maven:takari-workspace-reader:0.3.31-SNAPSHOT, > parent: ClassRealm[plexus.core, parent: null]] > com.google.inject.CreationException: Unable to create injector, see the > following errors: > 1) No scope is bound to org.apache.maven.SessionScoped. > at io.takari.maven.workspace.GenerationsWorkspaceReader.class(Unknown > Source) > at > ClassRealm[coreExtension>io.takari.maven:takari-workspace-reader:0.3.31-SNAPSHOT, > parent: ClassRealm[plexus.core, parent: null]] (via modules: > org.eclipse.sisu.wire.WireModule -> > org.eclipse.sisu.plexus.PlexusBindingModule) > 1 error > at > com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:466) > at > com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155) > at > com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107) > at com.google.inject.Guice.createInjector(Guice.java:96) > at com.google.inject.Guice.createInjector(Guice.java:73) > at com.google.inject.Guice.createInjector(Guice.java:62) > at > org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:481) > at > org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPlexusContainer.java:460) > at > org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPlexusContainer.java:435) > at org.apache.maven.cli.MavenCli.container(MavenCli.java:568) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:287) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:205) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)