Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7400

Allow more WorkspaceReaders to participate

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8.4
    • 3.8.5, 4.0.0-alpha-2, 4.0.0
    • None
    • None

    Description

      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 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:

      for ( WorkspaceReader reader : getWorkspaceReader( session.getProjects() ) )
      {
      	//chain them together with the current workspace reader(s)
      }
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            laeubi Christoph Läubrich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment