JMC-6115 Use Jemmy builds from Maven Central

Marcus Hirt marcus.hirt at
Mon Aug 20 12:52:17 UTC 2018

Hi Jay/Patrick,

Jay, you can remove a './' on the first two lines of the patch to make the 
patching work.

--- old/./	2018-08-13 22:12:58.000000000 +0200
+++ new/./	2018-08-13 22:12:58.000000000 +0200

--- old/	2018-08-13 22:12:58.000000000 +0200
+++ new/	2018-08-13 22:12:58.000000000 +0200

I too get the access restriction problem when running the uitests.

Patrick, you can probably fix the access restriction error by making Tycho 
ignore the forbidden references. See application/org.openjdk.jmc.attach/pom.xml

Kind regards,

On 2018-08-14, 11:37, "jmc-dev on behalf of Jayathirth D V" <jmc-dev-bounces at on behalf of jayathirth.d.v at> wrote:

    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 '.\' is inside nested repo '.'". Since has only comments, I selectively removed the changes in 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
    [ERROR] D:\Workspace\JMC7_Open\jmc\application\uitests\org.openjdk.jmc.test.jemmy\src\test\java\org\openjdk\jmc\test\jemmy\misc\base\wrapper
    [ERROR]         ^^^^^^^^^^^^^^^^^^^^
    [ERROR] Access restriction: The method '' is not API (restriction on classpath entry 'C:\Users\jdv.ORADEV\.m2\repository\p
    [ERROR] 92 problems (92 errors)
    [ERROR] -> [Help 1]
    [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] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :org.openjdk.jmc.test.jemmy
    Please clarify.
    -----Original Message-----
    From: Patrick Reinhart [mailto:patrick at] 
    Sent: Tuesday, August 14, 2018 1:53 AM
    To: jmc-dev at
    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.

More information about the jmc-dev mailing list