[ https://issues.apache.org/jira/browse/MNG-7400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17527096#comment-17527096 ]
Hudson commented on MNG-7400: ----------------------------- Build failed in Jenkins: Maven » Maven TLP » maven » MNG-7457 #2 See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/MNG-7457/2/ > Allow more WorkspaceReaders to participate > ------------------------------------------ > > Key: MNG-7400 > URL: https://issues.apache.org/jira/browse/MNG-7400 > Project: Maven > Issue Type: Improvement > Affects Versions: 3.8.4 > Reporter: Christoph Läubrich > Assignee: Michael Osipov > Priority: Major > Fix For: 3.8.5, 4.0.0-alpha-1, 4.0.0 > > > Currently there are two kind of {{WorkspaceReaders}} the reactor one and the > one obtained from the {{RepositorySystemSession}} (which is eed by an IDE > scoped component in > {{org.apache.maven.internal.aether.DefaultRepositorySystemSessionFactory}}). > In [Tycho|https://github.com/eclipse/tycho] we have the demand to supply a > {{WorkspaceReader}} as there is a so called "target platform" as the source > of artifacts. > Now it does not seem correct to declare it as an IDE, and of course we don't > want to block the IDE use-case. > Another issue is that at the time the IDE component is injected there is no > session and thus a session scoped component won't work as well so even if we > would use this we are rather "blind". > It would be good to have maven discover {{WorkspaceReaders}} as it discovers > {{AbstractMavenLifecycleParticipants}} in the following way, right before the > session is fixed: > {code:java} > for ( WorkspaceReader reader : getWorkspaceReader( session.getProjects() ) ) > { > //chain them together with the current workspace reader(s) > } > {code} -- This message was sent by Atlassian Jira (v8.20.7#820007)