[ https://issues.apache.org/jira/browse/MNG-8005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805771#comment-17805771 ]
ASF GitHub Bot commented on MNG-8005: ------------------------------------- jonasrutishauser commented on PR #1372: URL: https://github.com/apache/maven/pull/1372#issuecomment-1887757481 > The IDE workspace reader is already injected in the repository system session: > > https://github.com/apache/maven/blob/732e3649e12ab9c6bce570340b83b7270d5c346a/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java#L156 That's correct, but this injected reader is directly overwritten: https://github.com/apache/maven/blob/732e3649e12ab9c6bce570340b83b7270d5c346a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java#L417-L422 > IDE WorkspaceReader is ignored in Maven 4 > ----------------------------------------- > > Key: MNG-8005 > URL: https://issues.apache.org/jira/browse/MNG-8005 > Project: Maven > Issue Type: Bug > Components: Core > Affects Versions: 4.0.0-alpha-4, 4.0.0-alpha-10 > Reporter: Jonas Rutishauser > Priority: Major > Fix For: 4.0.0, 4.0.0-alpha-11 > > > Since maven-4.0.0-alpha-4 the {{@Named("ide") WorkspaceReader}} (and the one > from the {{MavenExecutionRequest}}) is no longer used. > The [last > commit|https://github.com/apache/maven/commit/f77de570b789d6e0c48c7d5001fdb4d9f663187c] > of MNG-7646 introduced this bug. -- This message was sent by Atlassian Jira (v8.20.10#820010)