If the argument list to protoc is too long, you can write the arguments to a file (e.g. args_file) and then call "protoc @args_file" to have protoc read its arguments from there.
I would expect it to be unusual for that to be necessary, though. Do you have any sense of what the argument list looks like in your case, and why it's so long? On Wed, May 2, 2018 at 3:13 AM subham verma <subham....@gmail.com> wrote: > Can Anyone suggest a solution to the below error: > > > Failed to execute goal > org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:compile .... *An > error occurred while invoking protoc*.Error while executing process. > Cannot run program "./abc/xyx/qwe/target/protoc-plugins/ > *protoc-3.0.2-osx-x86_64.exe*": error=7, *Argument list too long* -> > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to protobuf+unsubscr...@googlegroups.com. > To post to this group, send email to protobuf@googlegroups.com. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.