Closed gvsmirnov closed 6 years ago
I think that you should upgrade directly to the new LTS, 4.5.1. SonarQube 4.2 is no longer supported.
@dbolkensteyn Good point. However, it introduces a lot of new stuff (like RulesDefinition
) that isn't there in 4.2
. My installation is 4.3
, and I am, unfortunately, unable to upgrade it for the time being.
@dbolkensteyn So I would appreciate a release that works at 4.3
. When there is such, I am all for upgrading the plugin to the latest API version and making a new release.
It was just my 2 cents ;) I let @alexvictoor review this pull request
Actually the version updated for 4.5.1
works on my 4.3
installation if marked as 4.3
. But it would not work on 4.2
because of new APIs.
So, I propose that this is reviewed, merged, and a version compatible with 4.2
is released. Then another version compatible with APIs 4.3 .. 4.5.1
is released, too. I have it here: https://github.com/gvsmirnov/sonar-pitest/tree/4.3
The problem was that
sonar-pitest
would use the3.7
API, and when running on4.2
, the following error message would be received:Basically,
org.sonar.api.resources.JavaFile
were deprecated.Also, I guess, http://docs.sonarqube.org/display/SONAR/Plugin+version+matrix should be updated.