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

Maven itself cannot run without maven-compat

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.3.9
    • Fix Version/s: 3.6.1
    • Component/s: Bootstrap & Build, core
    • Labels:
      None

      Description

      For all the 3.0 versions of the maven-plugins we require to not depend on maven-compat anymore. However, the Maven distribution still requires maven-compat. A simple proof: remove lib/maven-compat-3.x.y and execute mvn validate.
      You'll get the following exception:

      [WARNING] Error injecting: org.apache.maven.project.DefaultProjectBuildingHelper
      com.google.inject.ProvisionException: Unable to provision, see the following errors:
      
      1) No implementation for org.apache.maven.repository.RepositorySystem was bound.
        while locating org.apache.maven.project.DefaultProjectBuildingHelper

      Reason: there's only one implementation: o.a.m.r.l.LegacyRepositorySystem, which is part of maven-compat.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slachiewicz Sylwester Lachiewicz
                Reporter:
                rfscholte Robert Scholte
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m