Results 1 to 4 of 4
- 01-24-2014, 03:41 PM #1
Member
- Join Date
- Jan 2014
- Posts
- 1
- Rep Power
- 0
Maven integration with Testlink tool - Dependencies issue
I am trying to integrate ny Webdriver scripts withTestlink. But i am not able to download the dependencies required through maven. Below is my pom.
<dependencies>
<dependency>
<groupId>br.eti.kinoshita</groupId>
<artifactId>testlink-java-api</artifactId>
<version>1.9.8-1</version>
</dependency>
...
</dependencies>
I am able to download this api. But i get below error for some client api.
package testlink.api.java.client does not exist
Can someone please guide me from where to download these dependencies.
Thanks
- 01-24-2014, 04:12 PM #2
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 762
- Rep Power
- 14
Re: Maven integration with Testlink tool - Dependencies issue
If this library is a public API you can try to search it in the maven central repo. Search at The Central Repository Search Engine. If it already in you pom.xml then maven should be able to download it.
Website: Learn Java by Examples
- 01-24-2014, 04:31 PM #3
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: Maven integration with Testlink tool - Dependencies issue
The dependency is not the issue, it exists. But it does not contain the package mentioned. It may be from an older version.
EDIT: it is probably in a different library 'Testlink-client-api-2.0.jar'. But that would be weird as that seems to be part of an Eclipse plugin.
http://code.google.com/p/dbfacade-te...%2FruntimelibsLast edited by gimbal2; 01-24-2014 at 04:35 PM.
"Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 08-05-2014, 02:35 PM #4
Member
- Join Date
- Aug 2014
- Posts
- 1
- Rep Power
- 0
Re: Maven integration with Testlink tool - Dependencies issue
Hi All,
I am also facing same issue.I am struggling with dependencies for Java-api-client 2.0.jar file.Please guide me through steps if anyone has resolved this issue-
Issue-
When I run selenium test from TestNG, it works fine,Testresults are getting updated in Testlink but when I run entire suite from Maven, error is thrown.
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 3, Failures: 2, Errors: 0, Skipped: 1, Time elapsed: 1.207 sec <<< FAILURE!
Results :
Failed tests: setUp(salesForceTest.SampleScenariosTest): testlink/api/java/client/TestLinkAPIException
tearDownWebDriver(salesForceTest.SampleScenariosTe st): testlink/api/java/client/TestLinkAPIException
Tests run: 3, Failures: 2, Errors: 0, Skipped: 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.573s
[INFO] Finished at: Tue Aug 05 11:03:37 IST 2014
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project RegressionSuite: There are test fail
ures.
[ERROR]
[ERROR] Please refer to D:\RegressionSuite\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionExcep tion: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test)
on project RegressionSuite: There are test failures.
Please refer to D:\SFDC_August\GTCAutomation\RegressionSuite\targe t\surefire-reports for the individual test results.
at org.apache.maven.lifecycle.internal.MojoExecutor.e xecute(MojoExecutor.java:213)
Similar Threads
-
Maven - missing POI dependencies
By Levian in forum Apache MavenReplies: 2Last Post: 10-18-2013, 04:05 AM -
Parent Project Not getting maven dependencies
By roxy1987 in forum Apache MavenReplies: 3Last Post: 08-08-2013, 10:06 AM -
Error in maven (Could not resolve dependencies for project )
By farshad in forum Apache MavenReplies: 1Last Post: 04-23-2013, 05:56 PM -
Maven plugin for eclipse + "Updating Maven Dependencies" problem??
By sbutt in forum EclipseReplies: 0Last Post: 04-20-2009, 07:26 PM
Bookmarks