File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 264264 <pluginParameter >@generated=omit</pluginParameter >
265265 </configuration >
266266 </plugin >
267+ <plugin >
268+ <groupId >io.github.ascopes</groupId >
269+ <artifactId >protobuf-maven-plugin</artifactId >
270+ <version >3.8.2</version >
271+ <configuration >
272+ <protocVersion >${protobuf.version} </protocVersion >
273+ </configuration >
274+ </plugin >
267275 </plugins >
268276 </pluginManagement >
269277 <plugins >
Original file line number Diff line number Diff line change 8181 </executions >
8282 </plugin >
8383 <plugin >
84- <groupId >org.xolstice.maven.plugins </groupId >
84+ <groupId >io.github.ascopes </groupId >
8585 <artifactId >protobuf-maven-plugin</artifactId >
86+ <configuration >
87+ <outputDirectory >${project.basedir} /src/main/java</outputDirectory >
88+ <cleanOutputDirectories >false</cleanOutputDirectories >
89+ <jvmMavenPlugins >
90+ <jvmMavenPlugin >
91+ <groupId >io.vertx</groupId >
92+ <artifactId >vertx-grpc-protoc-plugin2</artifactId >
93+ <version >${project.version} </version >
94+ <mainClass >io.vertx.grpc.plugin.VertxGrpcGenerator</mainClass >
95+ <options >grpc-client=true,grpc-service=true,grpc-io=true</options >
96+ </jvmMavenPlugin >
97+ </jvmMavenPlugins >
98+ </configuration >
8699 <executions >
87100 <execution >
88101 <id >compile</id >
89102 <goals >
90- <goal >compile</goal >
91- <goal >compile-custom</goal >
103+ <goal >generate</goal >
92104 </goals >
93- <configuration >
94- <protocPlugins >
95- <protocPlugin >
96- <id >vertx-grpc-protoc-plugin</id >
97- <groupId >io.vertx</groupId >
98- <artifactId >vertx-grpc-protoc-plugin2</artifactId >
99- <version >${project.version} </version >
100- <mainClass >io.vertx.grpc.plugin.VertxGrpcGenerator</mainClass >
101- <args >
102- <arg >--grpc-client</arg >
103- <arg >--grpc-service</arg >
104- <arg >--grpc-io</arg >
105- </args >
106- </protocPlugin >
107- </protocPlugins >
108- <outputDirectory >${project.basedir} /src/main/java</outputDirectory >
109- <clearOutputDirectory >false</clearOutputDirectory >
110- </configuration >
111105 </execution >
112106 </executions >
113107 </plugin >
Original file line number Diff line number Diff line change 116116 <plugin >
117117 <groupId >io.github.ascopes</groupId >
118118 <artifactId >protobuf-maven-plugin</artifactId >
119- <version >3.8.2</version >
120119 <configuration >
121- <protocVersion >${protoc.version} </protocVersion >
122120 <binaryMavenPlugins >
123121 <binaryMavenPlugin >
124122 <groupId >io.grpc</groupId >
You can’t perform that action at this time.
0 commit comments