Skip to content

Commit 8cd265f

Browse files
committed
build: compile project-local protos via protobuf-maven-plugin
1 parent f13d715 commit 8cd265f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎pom.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,17 @@ under the License.
192192
</configuration>
193193
<executions>
194194
<execution>
195+
<id>compile-upstream</id>
195196
<goals><goal>compile</goal></goals>
196197
</execution>
198+
<execution>
199+
<id>compile-local</id>
200+
<goals><goal>compile</goal></goals>
201+
<configuration>
202+
<protoSourceRoot>${project.basedir}/proto</protoSourceRoot>
203+
<clearOutputDirectory>false</clearOutputDirectory>
204+
</configuration>
205+
</execution>
197206
</executions>
198207
</plugin>
199208
</plugins>

0 commit comments

Comments
 (0)