Affected version
latest version
Bug description
`module mod.processor {
requires java.compiler;
provides javax.annotation.processing.Processor with mod.processor.Proc;
}`
module mod.user { exports mod.user; requires mod.processor; }
When declaring two modules, mod.processor as an annotation processor module, and mod.user as a application module, using processor in would be failing because maven cannot automatically detect it.
The current fix would be adding META-INF/services to manually expose the SPI interface.
I know it's a particular maven issue because when using javac and jar command directly would succeed without META-INF/services provided.