[ https://issues.apache.org/jira/browse/MBUILDCACHE-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956073#comment-17956073 ]
ASF GitHub Bot commented on MBUILDCACHE-115: -------------------------------------------- olamy merged PR #217: URL: https://github.com/apache/maven-build-cache-extension/pull/217 > MojoExecution is not seeded in session scope, causes DI failure > --------------------------------------------------------------- > > Key: MBUILDCACHE-115 > URL: https://issues.apache.org/jira/browse/MBUILDCACHE-115 > Project: Maven Build Cache Extension (Moved to GitHub Issues) > Issue Type: Bug > Reporter: Tamas Cservenak > Assignee: Olivier Lamy > Priority: Major > Labels: pull-request-available > Fix For: 1.2.1 > > > It seems on "restore project" not everything is seeded in Guice session > scope. Injecting {{org.apache.maven.plugin.MojoExecution}} is not possible, > causes ISEx as is out of scope. > Unsure why MBUILDCACHE-110 mentions "forces dependency on plexus utils", when > the stack trace is about Guice scope issue. > Example of failure point: > https://github.com/ascopes/protobuf-maven-plugin/blob/aeff23cfae4cef0f18f2dd232c849febe4815bf1/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/utils/TemporarySpace.java#L45 > Example of error message: > https://github.com/ascopes/protobuf-maven-plugin/issues/472 > (but again, unsure how plexus-utils come into play here) -- This message was sent by Atlassian Jira (v8.20.10#820010)