Closed muhlba91 closed 6 months ago
@romani the main project deprecated AutomaticBean
a while ago with the reference one should use AbstractAutomaticBean
.
unfortunately, by doing so, i now receive a CS error:
[ERROR] [checkstyle] [ERROR] /projects/checkstyle/sonar-checkstyle/src/main/java/org/sonar/plugins/checkstyle/CheckstyleExecutor.java:41:1: Disallowed import - com.puppycrawl.tools.checkstyle.AbstractAutomaticBean. [ImportControlMain]
could you please advise here?
please add this class to https://github.com/checkstyle/sonar-checkstyle/blob/8462c9e11258cacbf66990d6b512b8386bfbc1a2/config/import-control.xml#L21-L22 and disallow AutomaticBean when migration is completed.
@romani could you please have a look? 😃
https://app.circleci.com/pipelines/github/checkstyle/sonar-checkstyle/878/workflows/9dfe6b2a-d89d-4cd9-b03b-7d7e95436488/jobs/1035 fails because the SQ java plugin is not compatible with java 11 anymore. i have updated the circleci job to use java 17 but this will only be applied once it's in master. (see change https://github.com/checkstyle/sonar-checkstyle/pull/503/files#diff-78a8a19706dbd2a4425dd72bdab0502ed7a2cef16365ab7030a5a0588927bf47)
https://app.circleci.com/pipelines/github/checkstyle/sonar-checkstyle/878/workflows/996f2d0a-8317-4ffe-9d15-027ecedb0db9/jobs/1037 fails but i don't know the reason, tbh. do you have any ideas here?
Strange, stable failure. Restart ci on master is passing https://app.circleci.com/pipelines/github/checkstyle/sonar-checkstyle/860/workflows/cb6568c7-6dff-48ab-8f2e-9604d26c7f8a/jobs/1040
Something is this update
Problem is at this step https://github.com/checkstyle/sonar-checkstyle/blob/f69a052208febb01d567f932731967986f6eb667/.circleci/config.yml#L26
It might not compatible with docker image for jdk 17, try to remove it or check with git blame why it was added
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
awesome, thanks! 😃 circleci jobs are running through now and i migrated one of them to github actions as well.
fixes #502 fixes #220 fixes #194
Also, remove the deprecated and to be removed
ProfileImporter
andProfileExporter
.Screenshots of the working SQ: