1 of 1 people found this helpful
I think the problem is exactly the same as the one mentioned here: Wrong built WebArchive using Shrinkwrap Classpath resolution - this is simply not expected use case but stay tuned, there is already a jira to make it work the way you want it to work.
Does the workaround from linked thread work for you?
I've simply set .setClassPathResolution(true) and it worked!
Great. So you're lucky that you're module is jar one!