You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue with the protoc-jar-maven-plugin where it generates code for all .proto files present in the dependencies, despite my intention to use those .proto files for import purposes only.
My configuration uses direct to include direct Maven dependencies, expecting that the .proto files from these dependencies would not undergo code generation but are only used for imports.
I was expecting that the .proto files from dependencies, specified to be included via direct, would only be used for import purposes and not trigger code generation.
Is there something incorrect in my config that's causing this behaviour or is there a known issue with handling imported .proto files that leads to unintended code generation?
The text was updated successfully, but these errors were encountered:
I'm encountering an issue with the protoc-jar-maven-plugin where it generates code for all .proto files present in the dependencies, despite my intention to use those .proto files for import purposes only.
My configuration uses direct to include direct Maven dependencies, expecting that the .proto files from these dependencies would not undergo code generation but are only used for imports.
I was expecting that the .proto files from dependencies, specified to be included via direct, would only be used for import purposes and not trigger code generation.
Is there something incorrect in my config that's causing this behaviour or is there a known issue with handling imported .proto files that leads to unintended code generation?
The text was updated successfully, but these errors were encountered: