Skip to content

Commit 62b01c6

Browse files
cicoyleartur-ciocanusalaboy
authored
rm protoc cmd from pom.xml (#1498)
* rm protoc cmd bc it uses a local protoc which might be the wrong version and results in a bad error Signed-off-by: Cassandra Coyle <cassie@diagrid.io> * update protoc Signed-off-by: Cassandra Coyle <cassie@diagrid.io> --------- Signed-off-by: Cassandra Coyle <cassie@diagrid.io> Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com> Co-authored-by: salaboy <Salaboy@gmail.com>
1 parent 3bb91e5 commit 62b01c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1717
<grpc.version>1.69.0</grpc.version>
1818
<protobuf.version>3.25.5</protobuf.version>
19-
<protocCommand>protoc</protocCommand>
19+
<protocCommand>java-sdk-protoc</protocCommand>
2020
<dapr.proto.baseurl>https://raw.githubusercontent.com/dapr/dapr/v1.16.0-rc.3/dapr/proto</dapr.proto.baseurl>
2121
<dapr.sdk.version>1.17.0-SNAPSHOT</dapr.sdk.version>
2222
<dapr.sdk.alpha.version>0.17.0-SNAPSHOT</dapr.sdk.alpha.version>

sdk-autogen/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<protobuf.input.directory>${project.build.directory}/proto</protobuf.input.directory>
2323
<maven.deploy.skip>false</maven.deploy.skip>
2424
<grpc.version>1.69.0</grpc.version>
25-
<protocCommand>protoc</protocCommand>
25+
<protocCommand>java-sdk-protoc</protocCommand>
2626
<protobuf.version>3.25.5</protobuf.version>
2727
</properties>
2828

@@ -132,7 +132,7 @@
132132
<goal>run</goal>
133133
</goals>
134134
<configuration>
135-
<protocCommand>protoc</protocCommand>
135+
<protocCommand>java-sdk-protoc</protocCommand>
136136
<protocVersion>${protobuf.version}</protocVersion>
137137
<protocArtifact>com.google.protobuf:protoc:3.25.5</protocArtifact>
138138
<addProtoSources>inputs</addProtoSources>

0 commit comments

Comments
 (0)