Duplicate projects in sonar, and widget not working in bitbucket. help!

I created a single project with my sonarqube/bitbucket account. The Analyse button is missing (after much searching I found it only exists on github), so I used the maven method to analyse.

Now I see two copies of my project, with identical details, one analysed and one not (see below)

Further, in my bitbucket account, i added the sonar widget to my project, but it doesnt work. it says project is not analysed yet, but is

Hi,

You see two different projects because on import you assigned one sonar.projectKey value and on analysis you used a different sonar.projectKey value, presumably the default value picked up from the POM.

 
HTH,
Ann