Re: Force JPMS to add module to boot layer

2020-06-23 Thread Alan Bateman
On 22/06/2020 18:15, Alex Orlov wrote: Hi Alan, Thank you very much for your answer. In order to be concrete a test project was created and it is here https://github.com/PashaTurok/hibernate-h2-test4 Besides, if it is not very difficult for you, could you answer separately to each questions (

Re: Force JPMS to add module to boot layer

2020-06-23 Thread Alex Buckley
On 6/23/2020 9:31 AM, Alex Orlov wrote: From what I can establish, org.hibernate.orm.core is an automatic module so it doesn't have any way to `requires net.bytebuddy` (an explicit module). You'll have to help out by adding `--add-modules net.bytebuddy` to the command line that surefire or failsa

Fwd: Force JPMS to add module to boot layer

2020-06-23 Thread Christian Stein
On Sun, Jun 21, 2020 at 8:55 PM Alex Orlov wrote: > > Hi all, > > New version of maven-failsafe-plugin (3.0.0-M5) has been released and now > it is possible to have two module-info in one > project — one in src/main/java and one in src/test/java and to test > modules on module -path. > [...] S

Re[2]: Force JPMS to add module to boot layer

2020-06-23 Thread Alex Orlov
  >net/bytebuddy/NamingStrategy$SuffixingRandom$BaseNameResolver > at >org.hibernate.cfg.Environment.buildBytecodeProvider(Environment.java:345) >~[hibernate-core-5.4.15.Final.jar:?] > at >org.hibernate.cfg.Environment.buildBytecodeProvider(Environment.java:337) >~[hibernate-core-5.4.15.Fi