users@jersey.java.net

[Jersey] Can't build using jersey test framework

From: ax487 <ax487_at_gmx.de>
Date: Mon, 20 Apr 2015 13:10:59 +0200

Hello all,

I am still trying to get unit tests working. My current problem is that
I can't build using maven when I include the test framework. I attached
th pom.xml. When I enter mvn compile the download of the files starts:

Downloading:
https://repo.maven.apache.org/maven2/org/glassfish/jersey/test-framework/providers/jersey-test-framework-provider-bundle/2.17/jersey-test-framework-provider$
bundle-2.17.pom
Downloaded:
https://repo.maven.apache.org/maven2/org/glassfish/jersey/test-framework/providers/jersey-test-framework-provider-bundle/2.17/jersey-test-framework-provider-$
undle-2.17.pom (5 KB at 9.6 KB/sec)
Downloading:
https://repo.maven.apache.org/maven2/org/glassfish/jersey/test-framework/providers/jersey-test-framework-provider-bundle/2.17/jersey-test-framework-provider$
bundle-2.17.jar

But after that there is a build failure:

[ERROR] Failed to execute goal on project software: Could not resolve
dependencies for project org.company.software:software:war:0.1.0: Could
not find artifact
org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-bundle:jar:2.17
in central (https://repo.maven.apache.org/maven2) -> [Help 1]

Does anyone know how to resolve the problem?



ax487