SONARJAVA-5049 Add CheckListGenerator#4818
SONARJAVA-5049 Add CheckListGenerator#4818irina-batinic-sonarsource merged 26 commits intomasterfrom
Conversation
ea2c7ab to
e0cd0f7
Compare
c26054f to
e82a951
Compare
johann-beleites-sonarsource
left a comment
There was a problem hiding this comment.
Cool stuff, just a couple of minor comments. My main concern is if we now need a multi-step process to build
| - mvn clean install -Dmaven.test.skip=true | ||
| - mvn compile --projects java-checks-test-sources --also-make-dependents |
There was a problem hiding this comment.
Why do we need to do this in two steps now? Is the documentation we need to update?
There was a problem hiding this comment.
The command that was used before, mvn clean compile --projects java-checks-test-sources --also-make-dependents, if executed before compiling the whole project, fails because of compilation errors (GeneratedCheckList class doesn't exist).
Now, I updated the script a bit to fix it without building the whole project (see the latest version of this file).
Also, yes, the documentation needed a minor update, and it has been added.
leonardo-pilastri-sonarsource
left a comment
There was a problem hiding this comment.
Everything looks good to me, let's just remove sonarpedia.json and S1135.json from the PR and then we can merge
There was a problem hiding this comment.
I think this and sonarpedia.json update do not belong to this PR
There was a problem hiding this comment.
If we completely remove it, some checks will fail.
S1135 is enabled on tests, but it had a Main scope defined.
I will create a separate PR to fix S1135 and remove it from this one.
d98d844 to
48d11c8
Compare
Replace usages of CheckList with GeneratedCheckList.
We need both Checks and AWS Checks compiled to generate list and to use it in Plugin module.
Returning back to 2.8.9
Remove unnecessary exception from method signature.
48d11c8 to
4ba50bb
Compare
|




No description provided.