I spoke too soon. It appears my java9 classes are not being found in the
multi-release jar so I still don’t know if it fixes the problem with the
scanner.
Ralph
> On Jun 15, 2017, at 8:28 PM, Ralph Goers wrote:
>
> FWIW, building the jar as a multi-release jar did
FWIW, building the jar as a multi-release jar did fix this problem, but
building a multi-release jar with Maven is a bear to do. I have to invoke the
compiler plugin first to compile the pre-java9 classes using the java 7 or 8
compiler, call the maven-bundle-plugin, call the maven-helper-plugin
I have a plugin that uses a jar that doesn’t have any Maven plugin annotations
in it but does have classes compiled for Java 9 in it that are only used when
executing on Java 9. Loading of the plugin is failing because the annotation
scanner can’t read the class. What do I need to do to prevent