Closed nulls closed 8 months ago
We already should have a simple maven project in our repo in examples
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:
Reckoned version: 2.0.0-rc.8.113+6211a81
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 #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: