openhab / openhab/static-code-analysis
Invalid instructions for maven
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 34
- Forks
- 24
- Avg merge
- 7h 49m
- Merged PRs (30d)
- 10
Description
Steps to reproduce:
- Copy maven profile from https://github.com/openhab/static-code-analysis/blob/main/docs/maven-plugin.md to
pom.xml - Replace
<version>${sat.version}</version>with<version>0.13.0</version>(or add property) - 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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