RFR: JMC-6115 Use Jemmy builds from Maven Central
Jayathirth D V
jayathirth.d.v at oracle.com
Tue Aug 14 09:37:39 UTC 2018
Hi Patrick,
Thanks for your contribution to this important change.
I created new repo to run UI tests with this patch. I am facing below problems related to this patch:
1) While importing the patch I am getting "abort: path '.\README.md' is inside nested repo '.'". Since README.md has only comments, I selectively removed the changes in README.md and imported the patch.
2) After importing the patch "mvn package" & "mvn verify -Dspotbugs.skip=true" is running fine. But when I try to run UI tests using "mvn verify -Dspotbugs.skip=true -Puitests" I am getting many Access restriction errors for org.openjdk.jmc.test.jemmy.
[ERROR] Access restriction: The type 'Image' is not API (restriction on classpath entry 'C:\Users\jdv.ORADEV\.m2\repository\p2\osgi\bundle\o
rg.adoptopenjdk.jemmy-core\1.0.2\org.adoptopenjdk.jemmy-core-1.0.2.jar')
[ERROR] D:\Workspace\JMC7_Open\jmc\application\uitests\org.openjdk.jmc.test.jemmy\src\test\java\org\openjdk\jmc\test\jemmy\misc\base\wrapper
s\MCJemmyBase.java:[810]
[ERROR] image.save(fileName);
[ERROR] ^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The method 'Image.save(String)' is not API (restriction on classpath entry 'C:\Users\jdv.ORADEV\.m2\repository\p
2\osgi\bundle\org.adoptopenjdk.jemmy-core\1.0.2\org.adoptopenjdk.jemmy-core-1.0.2.jar')
[ERROR] 92 problems (92 errors)
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.openjdk.jmc.test.jemmy
Please clarify.
Regards,
Jay
-----Original Message-----
From: Patrick Reinhart [mailto:patrick at reini.net]
Sent: Tuesday, August 14, 2018 1:53 AM
To: jmc-dev at openjdk.java.net
Subject: RFR: JMC-6115 Use Jemmy builds from Maven Central
Hi everybody,
I added a new feature to have the jemmy libraries resolved from maven central.
http://cr.openjdk.java.net/~reinhapa/reviews/JMC-6115/webrev/
-Patrick
More information about the jmc-dev
mailing list