Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

analyze and update sonarqube version requirements #126

Open
hohwille opened this issue May 10, 2021 · 3 comments
Open

analyze and update sonarqube version requirements #126

hohwille opened this issue May 10, 2021 · 3 comments

Comments

@hohwille
Copy link
Member

With #5 we entered the SonarQube marketplace and created this configuration:
https://github.com/SonarSource/sonar-update-center-properties/blob/master/devon4j.properties

Some projects are using an older version of SonarQube and cannot use our plugin.
Analysis of this plugin and its history gave me the impression that we rather accidentally came to the minimum SonarQube version 7.9.
Instead we should test and analyze which version of our plugin is working with which version of SonarQube.
If I am correct and we already support lower versions than 7.9, we should update the marketplace entry even for older releases and "fix" this.

@hohwille hohwille added this to the release:2021.04.001 milestone May 10, 2021
@hohwille
Copy link
Member Author

Also this looks like a promising hint to me:

<sonarQubeMinVersion>5.6</sonarQubeMinVersion> <!-- allow to depend on API 6.x but run on LTS -->

@hohwille
Copy link
Member Author

So for the analysis of this task someone should do this for several SonarQube versions (e.g. 5.6):

  • install SonarQube locally
  • install required plugins via marketplace (see documentation)
  • install sonar-devon4j-plugin manually by putting the JAR file into extensions plugins folder (not working via marketplace for SQ before 7.9)
  • start SQ
  • do an analysis of some java project - I would recommend MTSJ and run sonar:sonar on it after successful install build with maven.

If this already works fine with 5.6 we can lower minimum version from 7.9 to that version already. Otherwise we need to test other versions in between that range since we found the real minimum version.

@hohwille
Copy link
Member Author

Time has passed meanwhile and nobody took action here.
IMHO versions like SonarQube 5.x can be considered obsolete/dead/unsupported.
We could easier raise the sonarQubeMinVersion property and go forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant