Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-1082

Add configuration option for shallow checkout/clone

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

Details

    Description

      after implementing sonar into our release process we noticed that sonar is complaining about missing blame information

      [INFO] [WARNING] Missing blame information for the following files:
      

      I've seen that in MRELEASE-993 this new type of checkout was introduced and it mentions that "per default" the checkout will use the shallow clone. to me, it sounds that this is an option that can be configured, but after taking a look in the code I see that true is hardcoded

      i would propose to make this option configurable and have a default of true that can be changed when needed, e.g. in the case during the release sonarqube is called which needs the full history.

      Attachments

        Issue Links

        Activity

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

          People

            michael-o Michael Osipov
            BigMichi1 Michael Cramer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment