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

Effective pom should not inherit SCM

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

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Up until Maven 3.3.7 if a pom didn't specify the scm section, it would be inherited and extended with the artifactId by default. This mechanism could work for a couple of SCMs like svn and cvs, but for most it doesn't.
      This kind of scm specific logic of extending the connection or URL doesn't belong in Maven core.
      Instead we should say that scm marks this project as a valid release root.
      The source repository page (mpir) should ask a specific Scm class for handling connections and urls in case of modules.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            rfscholte Robert Scholte

            Dates

              Created:
              Updated:

              Slack

                Issue deployment