Skip to content

Commit 3862f97

Browse files
chore(sdk): Pin protocol buffer sources
1 parent f7251f7 commit 3862f97

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

examples/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<properties>
1818
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1919
<maven.compiler.release>11</maven.compiler.release>
20+
<platform.branch>protocol/go/v0.2.28</platform.branch>
2021
</properties>
2122

2223
<dependencyManagement>
@@ -138,7 +139,7 @@
138139
<!-- Generate OpenTDF Platform Protobuf -->
139140
<exec executable="buf" dir="." failOnError="true">
140141
<arg value="generate"/>
141-
<arg value="https://github.com/opentdf/platform.git#branch=main,subdir=service"/>
142+
<arg value="https://github.com/opentdf/platform.git#branch=${platform.branch},subdir=service"/>
142143
<arg value="-o"/>
143144
<arg value="target/generated-sources"/>
144145
</exec>

sdk/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<properties>
1313
<jazzer.version>0.22.1</jazzer.version>
1414
<jazzer.baseurl>https://github.com/CodeIntelligenceTesting/jazzer/releases/download/v${jazzer.version}</jazzer.baseurl>
15+
<platform.branch>protocol/go/v0.2.28</platform.branch>
1516
</properties>
1617
<dependencies>
1718
<!-- Logging Dependencies -->
@@ -257,7 +258,7 @@
257258
<!-- Generate OpenTDF Platform Protobuf -->
258259
<exec executable="buf" dir="." failOnError="true">
259260
<arg value="generate"/>
260-
<arg value="https://github.com/opentdf/platform.git#branch=main,subdir=service"/>
261+
<arg value="https://github.com/opentdf/platform.git#branch=${platform.branch},subdir=service"/>
261262
<arg value="-o"/>
262263
<arg value="target/generated-sources"/>
263264
</exec>

0 commit comments

Comments
 (0)