Cris
Cris

Reputation: 5007

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 ?

Upvotes: 8

Views: 1811

Answers (1)

Cris
Cris

Reputation: 5007

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

Upvotes: 11

Related Questions