Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-336

Create a method in the DependencyGraphBuilder that accepts the reactor projects to collect unbuilt dependencies

    XMLWordPrintableJSON

Details

    Description

      https://github.com/apache/maven-shared/pull/5
      https://github.com/apache/maven-shared/pull/6

      Maven Core resolves dependencies from reactor to build the graph (using http://maven.apache.org/ref/current/maven-core/xref/org/apache/maven/ReactorReader.html): this is sufficient when the graph is calculated after each reactor project has been compiled.

      But in case of Lifecycle participant (ie before any build action has taken place) or if we don't want to compile, this isn't sufficient

      Adding a method with extra parameters for such a limit-situation permits to hack for unresolved dependencies and replace them with projects collected from reactor

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              jvanzyl Jason van Zyl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: