[NEW RELEASE] SonarQube Code Smells 2.0.0

97 views
Skip to first unread message

Michel Pawlak

unread,
Oct 22, 2015, 2:28:52 PM10/22/15
to SonarQube
Hi all,

I'm pleased to announce the new release of the WTF! plugin for SonarQube. 

Release Notes:

  • Change plugin name to Code Smells #13
  • Change annotation names to @Smell and @Smells  #13
  • Fix documentation accordingly #13
  • remove misleading tags #28
  • handle offline mode #27

Requirements:

  • SonarQube 4.5.4 up to 5.1.x (SonarQube 5.2 is only partially supported: issues are raised but metrics are not computed yet. Next version will support SQ 5.2 #29)
  • SonarQube Java plugin 3.5

Link to release notes: release notes 2.0.0
Link to project page and documentation: Code Smells Plugin for SonarQube on GitHub
Link to project on Nemo: qualinsight-plugins-sonarqube-smell

Cheers,

Michel

P.S.1 @SonarSource team: the plugin's key and repository having changed can you please update it on nemo ?
P.S.2 @SonarSource team: I hope the now the plugin meets all requirements to be added to SonarQube update center. If so, can you please do it ?

G. Ann Campbell

unread,
Oct 23, 2015, 9:39:36 AM10/23/15
to SonarQube
Michel,

Your project analyzed successfully under the new key last night, spawning a new project on Nemo.

I've deleted that project and updated the keys of the existing project, but when I try to run a confirming build/analysis, I get Surefire errors:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (surefire-ut) on project qualinsight-plugins-sonarqube-smell-plugin: Execution surefire-ut of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: There was an error in the forked process
...
Caused by: java.lang.NullPointerException


This seems to be a known(ish), semi-random issue. Since last night's job succeeded, & I've made no changes on the Jenkins side, I'm going to assume this will smooth itself out & let it ride. But ping me, please if you notice that the Nemo project is stale.


Ann

Michel Pawlak

unread,
Oct 23, 2015, 10:05:58 AM10/23/15
to SonarQube
Thanks Ann for renaming the key and investigating the issue,

I'll mark the tests as not thread safe this evening as recommended in the issue discussion.

Michel

G. Ann Campbell

unread,
Oct 23, 2015, 3:42:01 PM10/23/15
to SonarQube
Added, with a compatibility of 4.5.4-5.1.2.


Ann
Reply all
Reply to author
Forward
0 new messages