SonarQube Eclipse
  1. SonarQube Eclipse
  2. SONARIDE-295

"Find on Server" does not work for projects with branches

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 3.0
    • Labels:
    • Environment:
      Windows 7, Spring Tool Suite
    • Number of attachments :
      0

      Description

      The functionality "Find on server" in the "Associate with Sonar" dialog does not work when the projects have branches. Unfortunately this is an absolute must if you want to work with sonar in projects with hundreds of maven artefacts. It is easily possible to associate one project with sonar by typing the groupid, artefactid and branch into the dialog, but this is not something you want to do for even the 20 artefacts you are immediately are working on. So we are restricted to the web interface.

      I've had a look at the source: the ConfigureProjectsWizard.ConfigureProjectsPage.AssociateProjects.run method does not seem to support branches at all. Unfortunately I have never developed an eclipse plugin, so I'd have a hard time fixing it myself. By the way: the project information that comes out of sonar is for example:

      {"id":190205,"key":"de.foo.bar:baz-client-dms-v2-jaxb:12.200.0.0","name":"whatever","scope":"PRJ","qualifier":"BRC","date":"2012-03-06T14:07:27+0100","lname":"whatever","lang":"java","version":"12.200.0.0.0057","branch":"12.200.0.0","description":"someexampleproject"}

      This would need to be associated with de.foo.bar:baz-client-dms-v2-jaxb:12.200.0.0 .

      Thanks so much!

        Issue Links

          Activity

          Hide
          Julien HENRY added a comment -

          Would be fixed by SONARIDE-329

          Show
          Julien HENRY added a comment - Would be fixed by SONARIDE-329
          Hide
          Freddy Mallet added a comment -

          Manually tested !

          Show
          Freddy Mallet added a comment - Manually tested !

            People

            • Assignee:
              Julien HENRY
              Reporter:
              Hans-Peter Störr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: