protoc-jar-maven-plugin
protoc-jar-maven-plugin copied to clipboard
Support for not skipping POM project type
Perhaps my use-case is a bit unique, but here goes...
I have a large monorepository that includes both several Java projects and a number of custom Dart modules in a separate directory. I have my protobuffers in another project that's pulled in as a Git submodule, and then the protoc compiler is run from two places in two executions:
- One of the Java projects defines one execution that generates Java classes. This one works perfectly.
- Because I need Dart code as well, I'm also running the compiler from the root project, with the output directory set to my Dart package folder.
Problem is, since the root project has a packaging of POM, the plugin skips execution here. Normally, this would be good, but for my particular use-case, I actually need to be able to run the plugin there as well.
Would there be opposition to adding an extra parameter to the plugin to "skip the skipping", with a default value to make sure the default operation remains unchanged?