Separating whitebox-api from jcstress-core - issues with 3rd-party libraries

Aleksey Shipilev shade at redhat.com
Tue Feb 28 21:24:30 UTC 2017


Hi,

On 02/28/2017 10:15 PM, Jerzy Krolak wrote:
> The whitebox-api is embedded in jcstress-core, now.

Thank you, very cool.

> There's one glitch, again: the whitebox-api dependency is still listed in
> the pom of jcstress-core. I've changed its scope to 'provided', and I've
> excluded the whitebox-api module from publishing, so it should not matter.
> But it's still there. I have not found any better way to get rid of it -
> sorry.

I think you can use dependency:copy, not dependency:copy-dependencies. This
should trim whitebox-api from direct jcstress-core dependencies. This should
avoid problems when publishing jcstress-core to Central. I wonder if it still
possible to trigger the build of whitebox-api before jcstress-core.

> I've attached the new patch.

Looks good. We need for your OCA to come through before I can push.

Thanks,
-Aleksey



More information about the jcstress-dev mailing list