Uploaded image for project: 'SonarHTML'
  1. SonarHTML
  2. SONARHTML-68

Correct published URL for source repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None

      Description

      The published SCM URL for this project is https://github.com/SonarSource/sonar-web/sonar-web-plugin. It should be https://github.com/SonarSource/sonar-web.

      From an old internal thread on the topic

      Please make sure that the SCM URL declared by your SQ plugins is correctly set, either by the <scm/> block in the actual plugin's module POM, or by the sonar.pluginSourcesUrl property at build time.

      Back story:

      We noticed that the SCM URLs declared in some of our plugins' manifests are not correct...

      This is due to 1. Maven trying to compute a submodule's SCM URL by appending the artifactId to the parent's SCM URL, and 2. sonar-packaging-maven-plugin defaulting to project.scm.url for the Plugin-SourcesUrl manifest attribute.

        Attachments

          Activity

            People

            Assignee:
            christophe.zurn Christophe Zurn
            Reporter:
            ann.campbell.2 Ann Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: