API Testing

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

API Testing

ShaliniRose
Hi,
I was working on API testing as per your demo videos. When I tried running maven through terminal I'm getting the following error.

mvn clean compile exec:java

/usr/local/apache-maven/apache-maven-3.3.9/bin/mvn: line 53: uname: command not found

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building JSON From JAXB - Jersey sample 1.20-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for com.sun.jersey:jersey-grizzly2:jar:1.20-SNAPSHOT is missing, no dependency information available

[WARNING] The POM for com.sun.jersey:jersey-json:jar:1.20-SNAPSHOT is missing, no dependency information available

[WARNING] The POM for com.sun.jersey:jersey-client:jar:1.20-SNAPSHOT is missing, no dependency information available

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 3.028 s

[INFO] Finished at: 2016-04-15T15:56:49+05:30

[INFO] Final Memory: 9M/81M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project json-from-jaxb: Could not resolve dependencies for project com.sun.jersey.samples:json-from-jaxb:jar:1.20-SNAPSHOT: The following artifacts could not be resolved: com.sun.jersey:jersey-grizzly2:jar:1.20-SNAPSHOT, com.sun.jersey:jersey-json:jar:1.20-SNAPSHOT, com.sun.jersey:jersey-client:jar:1.20-SNAPSHOT: Failure to find com.sun.jersey:jersey-grizzly2:jar:1.20-SNAPSHOT in http://repository.jboss.org/ne... was cached in the local repository, resolution will not be reattempted until the update interval of repository.jboss.org has elapsed or updates are forced -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/conflu...

How do I resolve this issue?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: API Testing

softwaretestingforum
Administrator
Seems following dependency is missing -

The following artifacts could not be resolved: com.sun.jersey:jersey-grizzly2:jar:1.20-SNAPSHOT, com.sun.jersey:jersey-json:jar:1.20-SNAPSHOT, com.sun.jersey:jersey-client:jar:1.20-SNAPSHOT:

You could look up for them on maven2 repository
~ seleniumtests.com