Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » RCPTT Maven Test Runner failing
RCPTT Maven Test Runner failing [message #1702134] Mon, 20 July 2015 09:27 Go to next message
Jeevan Rex is currently offline Jeevan RexFriend
Messages: 80
Registered: March 2015
Location: Bangalore
Member
Hi, I tried to run maven using the following in my build configuration
<runner>
	<version>2.0.0-SNAPSHOT</version>
</runner>

The build is failing with the following error in command line
vl-c-jrex-ice{14}> mvn clean install
[INFO] Scanning for projects...
Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/com/xored/ci4rcptt/ci4rcptt-maven-plugin/1.5.6-SNAPSHOT/maven-metadata.xml
Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/com/xored/ci4rcptt/q7-maven-modules/1.5.6-SNAPSHOT/maven-metadata.xml
Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/com/xored/ci4rcptt/q7-maven-util/1.5.6-SNAPSHOT/maven-metadata.xml
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building MyApp 1.0.0
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ MyApp ---
[INFO] 
[INFO] --- ci4rcptt-maven-plugin:1.5.6-SNAPSHOT:resources (default-resources) @ MyApp ---
Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/eclipse/rcptt/runner/rcptt.runner/2.0.0-SNAPSHOT/
[INFO] Resolving artifact org.eclipse.rcptt.runner:rcptt.runner:zip:2.0.0-SNAPSHOT, this may take a while ...
Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/eclipse/rcptt/runner/rcptt.runner/2.0.0-SNAPSHOT/maven-metadata.xml
Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/eclipse/rcptt/runner/rcptt.runner/2.0.0-SNAPSHOT/rcptt.runner-2.0.0-SNAPSHOT.zip
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.918 s
[INFO] Finished at: 2015-07-20T02:13:46-07:00
[INFO] Final Memory: 13M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.xored.ci4rcptt:ci4rcptt-maven-plugin:1.5.6-SNAPSHOT:resources (default-resources) on project MyApp: Failed to resolve artifact org.eclipse.rcptt.runner:rcptt.runner:zip:2.0.0-SNAPSHOT: Failure to find org.eclipse.rcptt.runner:rcptt.runner:zip:2.0.0-SNAPSHOT in http://maven.xored.com/nexus/content/repositories/rcptt-releases/ was cached in the local repository, resolution will not be reattempted until the update interval of rcptt-releases 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/confluence/display/MAVEN/MojoExecutionException
vl-c-jrex-ice{14}> 

I tried to re-run with this change in maven build configuration
<runner>
	<explicit>../../../../../rcptt.runner-incubation-1.5.6-N201504152315.zip</explicit>
</runner>

with no other change and the build is passing.

It was working and suddenly stopped working. Why is providing version failing? Kindly let me know,

Thanks
Jeevan.

[Updated on: Mon, 20 July 2015 09:27]

Report message to a moderator

Re: RCPTT Maven Test Runner failing [message #1709562 is a reply to message #1702134] Tue, 29 September 2015 10:15 Go to previous message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Jeevan,

Could you please try to use 2.1.0-SNAPSHOT version of both: maven-plugin and a runner with the following repositories settings:

<!-- RCPTT Maven Plugin and RCPTT Runner are hosted in this repository -->
<pluginRepositories>
<pluginRepository>
<id>rcptt-releases</id>
<name>RCPTT Maven repository</name>
<url>https://repo.eclipse.org/content/repositories/rcptt-releases/</url>
</pluginRepository>
<pluginRepository>
<id>rcptt-snapshots</id>
<name>RCPTT Maven Snapshots repository</name>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
<url>https://repo.eclipse.org/content/repositories/rcptt-snapshots/</url>
</pluginRepository>
</pluginRepositories>

It should work ok.

Kind regards,
Ulyana.
Previous Topic:How to use Environment variables in Context Settings
Next Topic:Switch AUT during test execution
Goto Forum:
  


Current Time: Thu Apr 25 15:18:00 GMT 2024

Powered by FUDForum. Page generated in 0.03828 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top