openhab / openhab/static-code-analysis

Invalid instructions for maven

Open
#450 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
34
Forks
24
Avg merge
7h 49m
Merged PRs (30d)
10

Description

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]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docs/maven-plugin.md and compare its Maven profile with the pom.xml setup in the reproduction steps. Run mvn clean install -P check using version 0.13.0 and verify the forbiddenPackages property error. Done means the documented instructions work without the reported Checkstyle configuration failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.