Skip to content

Commandline Args for Custom Plugins #391

Closed Pinned Answered by ascopes
abrua1 asked this question in Q&A
Discussion options

You must be logged in to vote

Just looking through the other Maven plugin's code... looks like the arguments you describe are actually embedded in the executable that gets created to bootstrap the JVM from protoc (see https://github.com/xolstice/protobuf-maven-plugin/blob/master/src/main/java/org/xolstice/maven/plugin/protobuf/ProtocPluginAssembler.java#L154).

Right now, I don't explicitly support a way of doing this, only the parameters support that protoc provides out of the box, but I could implement this fairly easily as a new feature if you need this functionality? Worth noting that unlike the Xolstice plugin, we don't create binary executables on Windows but instead we create shell scripts or batch scripts based…

Replies: 1 comment 16 replies

Comment options

You must be logged in to vote
16 replies
@abrua1
Comment options

@ascopes
Comment options

Answer selected by abrua1
@abrua1
Comment options

@ascopes
Comment options

@abrua1
Comment options

@ascopes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants