I just downloaded the Jersey samples which is a maven project but when I try to execute the samples I get
"[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.16:checkstyle (default-cli) on project json-jackson: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: Unable to find suppressions file at location: etc/config/checkstyle-suppressions.xml: Could not find resource 'etc/config/checkstyle-suppressions.xml'. -> [Help 1]"
I think it might be related to the parent pom, however I did not find a solution yet.
Any idea how can this be resolved ?
I open a bug on jira https://java.net/jira/browse/JERSEY-3011
Solution provided :
simple workaround: clone whole Jersey repo and build just examples (you'll have etc/* dir downloaded). Or you can try to disable checkstyle: mvn clean install -PcheckstyleSkip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With