ppkarwasz commented on issue #69: URL: https://github.com/apache/logging-parent/issues/69#issuecomment-1845373576
This issue seems to be a little bit more complicated: if we simply switch from `jar` to `bnd-process`, not only IDEs will be confused by `target/classes/module-info.class` files, but Maven plugins too. For example Maven Compiler Plugin starts using the module path if it finds such a file (and AFAIK this is not switchable). So a `./mvnw compile` might fail if it is not used together with `clean`. A solution to this _conundrum_ might be offered by the [`-plugin`](https://bnd.bndtools.org/instructions/plugin.html) instruction in BND. We could run both BND goals: - in the `bnd-process` goal we only activate the [`SPIDescriptorGenerator`](https://github.com/bndtools/bnd/blob/master/biz.aQute.bndlib/src/aQute/bnd/plugin/spi/SPIDescriptorGenerator.java) plugin, - in the `jar` goal we activate all plugins. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
