static-code-analysis icon indicating copy to clipboard operation
static-code-analysis copied to clipboard

Invalid instructions for maven

Open pmajkutewicz opened this issue 2 years ago • 0 comments

Steps to reproduce:

  1. Copy maven profile from https://github.com/openhab/static-code-analysis/blob/main/docs/maven-plugin.md to pom.xml
  2. Replace <version>${sat.version}</version> with <version>0.13.0</version> (or add property)
  3. execute mvn clean install -P check

Output: [ERROR] Failed to execute goal org.openhab.tools.sat:sat-plugin:0.13.0:checkstyle (default) on project test: An error has occurred in Checkstyle report generation.: Failed during checkstyle execution: Failed during checkstyle configuration: unable to parse configuration stream: com.puppycrawl.tools.checkstyle.api.CheckstyleException: Property ${checkstyle.forbiddenPackageUsageCheck.forbiddenPackages} has not been set -> [Help 1]

pmajkutewicz avatar May 02 '23 21:05 pmajkutewicz