-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DSL Markers in maven plugin? #26
Comments
Which protoc plugin artifact are your using? <execution>
<id>kroto-plus</id>
<goals>
<goal>compile-custom</goal>
</goals>
<configuration>
<pluginId>kroto-plus</pluginId>
<pluginArtifact>com.github.marcoferrer.krotoplus:protoc-gen-kroto-plus:${krotoPlusVersion}:jar:jvm8</pluginArtifact>
<pluginParameter>ConfigPath=${project.basedir}/krotoPlusConfig.asciipb</pluginParameter>
</configuration>
</execution> Then in
json
Another important note is that the Im not 100% familiar with all the configuration options for the protobuf maven plugin, but a quick google search shows the <configuration>
<pluginId>kroto-plus</pluginId>
<pluginArtifact>com.github.marcoferrer.krotoplus:protoc-gen-kroto-plus:${krotoPlusVersion}:jar:jvm8</pluginArtifact>
<pluginParameter>ConfigPath=${project.basedir}/krotoPlusConfig.asciipb</pluginParameter>
<outputDirectory>${basedir}/target/generated-sources/path/to/java/output</outputDirectory>
</configuration> |
I had some time to fully dig into this and found the source of the issue. The protobuf maven plugin doesnt fully support the protoc insertions api at the moment. My findings are documented here |
Closing as a duplicate of #28 |
How do you use
use_dsl_markers
in ProtoBuildersGenOptions via maven?The text was updated successfully, but these errors were encountered: