Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DE336200C8B for ; Mon, 8 May 2017 00:23:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DCEF1160BC5; Sun, 7 May 2017 22:23:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2CB6F160BB1 for ; Mon, 8 May 2017 00:23:08 +0200 (CEST) Received: (qmail 88418 invoked by uid 500); 7 May 2017 22:23:07 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 88405 invoked by uid 99); 7 May 2017 22:23:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 May 2017 22:23:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B7E671A02A4 for ; Sun, 7 May 2017 22:23:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id hNYadU1OqaVa for ; Sun, 7 May 2017 22:23:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 48CE75F523 for ; Sun, 7 May 2017 22:23:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A252DE0940 for ; Sun, 7 May 2017 22:23:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1707921DF6 for ; Sun, 7 May 2017 22:23:04 +0000 (UTC) Date: Sun, 7 May 2017 22:23:04 +0000 (UTC) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (MNG-6210) can't load @SessionScoped/@MojoExecutionScoped components from .mvn/extensions.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 07 May 2017 22:23:09 -0000 [ https://issues.apache.org/jira/browse/MNG-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov closed MNG-6210. ------------------------------- Resolution: Fixed Works flawlessly now. Thanks for the fix. > 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)