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

Maven itself cannot run without maven-compat

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

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.3.9
    • 3.6.1
    • Bootstrap & Build, Core
    • 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

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

          People

            slachiewicz Sylwester Lachiewicz
            rfscholte Robert Scholte
            Votes:
            2 Vote for this issue
            Watchers:
            6 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

                Slack

                  Issue deployment