You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a simple project on maven and configure maven plugin for diktat with version 2.0.0-rc.8
Todo:
Add example with multimodules
Test a single module
Test multi module
Test githubActions via -Ddiktat.githubActions=true
Test two reporters: plain configured via configuration and githubActions configured via environment variable (blocked by Support multiple reporters in Maven #1818)
Test scenario:
Run diktat check and validate that diktat generates 3 reports: plain to stdout, json to some specific file and checkstyle (xml) to default location target/reports/diktat/diktat.xml
Run diktat check with environment variable githubActions and validate that diktat generates 4 reports: plain to stdout, json to some specific file, checkstyle (xml) to default location target/reports/diktat/diktat.xml and sarif report to default location target/reports/diktat/diktat.sarif
How to build snapshot version of plugin: gradlew.bat :diktat-api:publishToMavenLocal :diktat-common:publishToMavenLocal :diktat-rules:publishToMavenLocal :diktat-ktlint-engine:publishToMavenLocal :diktat-runner:publishToMavenLocal :diktat-maven-plugin:publishToMavenLocal
This command builds and uploads a snapshot version to maven local repository.
Version is printed in logs:
Create a simple project on maven and configure maven plugin for diktat with version 2.0.0-rc.8
Todo:
-Ddiktat.githubActions=true
plain
configured via configuration andgithubActions
configured via environment variable(blocked by Support multiple reporters in Maven #1818)Test scenario:
target/reports/diktat/diktat.xml
githubActions
and validate that diktat generates 4 reports: plain to stdout, json to some specific file, checkstyle (xml) to default locationtarget/reports/diktat/diktat.xml
and sarif report to default locationtarget/reports/diktat/diktat.sarif
gitHubActions
toreporters
:And validate that diktat generates 4 reports with and without environment variable
githubActions
Found issues:
Configuration file diktat-analysis.yml doesn't exist
#1814The text was updated successfully, but these errors were encountered: