Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 979
Cris Avatar asked Nov 29 '15 21:11

Cris


1 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

like image 87
Cris Avatar answered Nov 10 '22 10:11

Cris