Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Issue with Maven
Issue with Maven [message #1696023] Thu, 21 May 2015 08:47 Go to next message
maherzia belaazi is currently offline maherzia belaaziFriend
Messages: 41
Registered: October 2014
Member
Hello,
I'm trying to lauch RCPTT Test using maven command
But I'm getting this error :
Failure to transfer org.eclipse.rcptt:rcptt-maven-plugin:2.0.0-SNAPSHOT/maven-metadata.xml from https://repo.eclipse.org/content/repositories/rcptt-snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of rcptt-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.eclipse.rcptt:rcptt-maven-plugin:2.0.0-SNAPSHOT/maven-metadata.xml from/to rcptt-snapshots (https://repo.eclipse.org/content/repositories/rcptt-snapshots/): peer not authenticated

FYI, I can access the https://repo.eclipse.org/content/repositories/rcptt-snapshots/ on the browser

Any help is welcome
Re: Issue with Maven [message #1696050 is a reply to message #1696023] Thu, 21 May 2015 11:41 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

This problem is related to Maven, not to RCPTT.
Anyway,I've found this solution for it.
Try to run maven with the key -U


Yours sincerely,
Olga.
Re: Issue with Maven [message #1696376 is a reply to message #1696050] Tue, 26 May 2015 08:29 Go to previous messageGo to next message
maherzia belaazi is currently offline maherzia belaaziFriend
Messages: 41
Registered: October 2014
Member
Thanks for your reply
But it doesn't resolve my issue.
Now, I'm running RCPTT tests using command line, and it works.
Just the quality of the generated report is not so good :
Is there any way to improve the quality of RCPTT reports ?
Re: Issue with Maven [message #1696454 is a reply to message #1696376] Tue, 26 May 2015 14:29 Go to previous messageGo to next message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

Could you please attach your pom.xml? Is the error the same?
What exactly do you mean by "quality" of the generated report? Is it about HTML-report? Does it contain any bugs?


Yours sincerely,
Olga.
Re: Issue with Maven [message #1696556 is a reply to message #1696454] Wed, 27 May 2015 09:09 Go to previous message
maherzia belaazi is currently offline maherzia belaaziFriend
Messages: 41
Registered: October 2014
Member
Please Find in attached my "pom.xml" file.
I tried to yse an explicit rcptt runner But it didn't works as I got this error message (despite using -U option):

[WARNING] Failure to transfer org.eclipse.rcptt:rcptt-maven-plugin:2.0.0-SNAPSHOT/maven-metadata.xml from https://repo.eclipse.org/content/repositories/rcptt-snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of rcptt-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.eclipse.rcptt:rcptt-maven-plugin:2.0.0-SNAPSHOT/maven-metadata.xml from/to rcptt-snapshots (https://repo.eclipse.org/content/repositories/rcptt-snapshots/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Downloading: https://repo.eclipse.org/content/repositories/rcptt-snapshots/org/eclipse/rcptt/rcptt-maven-plugin/2.0.0-SNAPSHOT/rcptt-maven-plugin-2.0.0-SNAPSHOT.pom
Downloading: http://maven.xored.com/nexus/content/repositories/rcptt-releases/org/eclipse/rcptt/rcptt-maven-plugin/2.0.0-SNAPSHOT/rcptt-maven-plugin-2.0.0-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.eclipse.rcptt:rcptt-maven-plugin:2.0.0-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.rcptt:rcptt-maven-plugin:jar:2.0.0-SNAPSHOT @
[ERROR] Unknown packaging: rcpttTest @ line 10, column 14


I used the command line interface and I succeed in generate HTML report. This report doesn't give details as :
* Test Description
* Assertion report ...
The Font/Size is not well presented (I think)

Thanks for your support.
  • Attachment: pom.xml
    (Size: 1.72KB, Downloaded 161 times)
Previous Topic:Is there option to run tests only with certain tags for Runner (opposite to skipTags)
Next Topic:Force waiting a Job completion
Goto Forum:
  


Current Time: Thu Mar 28 08:38:16 GMT 2024

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

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

Back to the top