Running Jersey samples

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 ?

Answers


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


Need Your Help

Get css value with phantom js

javascript css cucumber phantomjs

I am using Cucumber and Capybara to run some automation tests with chrome and I have an option to run them headless with phantom js