Uploaded image for project: 'Maven Project Info Reports Plugin'
  1. Maven Project Info Reports Plugin
  2. MPIR-290

improve git support: remove directory info (after '.git') for "git clone"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.8
    • scm
    • None

    Description

      actually, when a multi-module project uses git as SCM, people often let Maven automatically calculate scm info from parent, ie add a directory named after the artifact id
      then MPIR displays the info directly: this leads to messages like:
      git clone https://my.git.server.com/repository.git/artifact-id

      People should have fixed scm value in the artifact pom, but it's hard to explain that: people tend to imagine MPIR wrote something wrong

      Hacking MPIR scm report to remove anything after '.git' would give good git clone instructions deducted from wrong info in pom

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              hboutemy Herve Boutemy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: