|
59 | 59 | <artifactId>download-maven-plugin</artifactId> |
60 | 60 | <version>${download-maven-plugin.version}</version> |
61 | 61 | <executions> |
| 62 | + <execution> |
| 63 | + <id>getCommonProto</id> |
| 64 | + <phase>initialize</phase> |
| 65 | + <goals> |
| 66 | + <goal>wget</goal> |
| 67 | + </goals> |
| 68 | + <configuration> |
| 69 | + <skipCache>true</skipCache> |
| 70 | + <url>${dapr.proto.baseurl}/common/v1/common.proto</url> |
| 71 | + <outputFileName>common.proto</outputFileName> |
| 72 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/common/v1</outputDirectory> |
| 73 | + </configuration> |
| 74 | + </execution> |
| 75 | + <execution> |
| 76 | + <id>getActorsProto</id> |
| 77 | + <phase>initialize</phase> |
| 78 | + <goals> |
| 79 | + <goal>wget</goal> |
| 80 | + </goals> |
| 81 | + <configuration> |
| 82 | + <skipCache>true</skipCache> |
| 83 | + <url>${dapr.proto.baseurl}/runtime/v1/actors.proto</url> |
| 84 | + <outputFileName>actors.proto</outputFileName> |
| 85 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 86 | + </configuration> |
| 87 | + </execution> |
| 88 | + <execution> |
| 89 | + <id>getAiProto</id> |
| 90 | + <phase>initialize</phase> |
| 91 | + <goals> |
| 92 | + <goal>wget</goal> |
| 93 | + </goals> |
| 94 | + <configuration> |
| 95 | + <skipCache>true</skipCache> |
| 96 | + <url>${dapr.proto.baseurl}/runtime/v1/ai.proto</url> |
| 97 | + <outputFileName>ai.proto</outputFileName> |
| 98 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 99 | + </configuration> |
| 100 | + </execution> |
| 101 | + <execution> |
| 102 | + <id>getAppcallbackProto</id> |
| 103 | + <phase>initialize</phase> |
| 104 | + <goals> |
| 105 | + <goal>wget</goal> |
| 106 | + </goals> |
| 107 | + <configuration> |
| 108 | + <skipCache>true</skipCache> |
| 109 | + <url>${dapr.proto.baseurl}/runtime/v1/appcallback.proto</url> |
| 110 | + <outputFileName>appcallback.proto</outputFileName> |
| 111 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 112 | + </configuration> |
| 113 | + </execution> |
| 114 | + <execution> |
| 115 | + <id>getBindingProto</id> |
| 116 | + <phase>initialize</phase> |
| 117 | + <goals> |
| 118 | + <goal>wget</goal> |
| 119 | + </goals> |
| 120 | + <configuration> |
| 121 | + <skipCache>true</skipCache> |
| 122 | + <url>${dapr.proto.baseurl}/runtime/v1/binding.proto</url> |
| 123 | + <outputFileName>binding.proto</outputFileName> |
| 124 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 125 | + </configuration> |
| 126 | + </execution> |
| 127 | + <execution> |
| 128 | + <id>getConfigurationProto</id> |
| 129 | + <phase>initialize</phase> |
| 130 | + <goals> |
| 131 | + <goal>wget</goal> |
| 132 | + </goals> |
| 133 | + <configuration> |
| 134 | + <skipCache>true</skipCache> |
| 135 | + <url>${dapr.proto.baseurl}/runtime/v1/configuration.proto</url> |
| 136 | + <outputFileName>configuration.proto</outputFileName> |
| 137 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 138 | + </configuration> |
| 139 | + </execution> |
| 140 | + <execution> |
| 141 | + <id>getCryptoProto</id> |
| 142 | + <phase>initialize</phase> |
| 143 | + <goals> |
| 144 | + <goal>wget</goal> |
| 145 | + </goals> |
| 146 | + <configuration> |
| 147 | + <skipCache>true</skipCache> |
| 148 | + <url>${dapr.proto.baseurl}/runtime/v1/crypto.proto</url> |
| 149 | + <outputFileName>crypto.proto</outputFileName> |
| 150 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 151 | + </configuration> |
| 152 | + </execution> |
62 | 153 | <execution> |
63 | 154 | <id>getDaprProto</id> |
64 | 155 | <phase>initialize</phase> |
|
73 | 164 | </configuration> |
74 | 165 | </execution> |
75 | 166 | <execution> |
76 | | - <id>getCommonProto</id> |
| 167 | + <id>getInvokeProto</id> |
77 | 168 | <phase>initialize</phase> |
78 | 169 | <goals> |
79 | 170 | <goal>wget</goal> |
80 | 171 | </goals> |
81 | 172 | <configuration> |
82 | 173 | <skipCache>true</skipCache> |
83 | | - <url>${dapr.proto.baseurl}/common/v1/common.proto</url> |
84 | | - <outputFileName>common.proto</outputFileName> |
85 | | - <outputDirectory>${protobuf.input.directory}/dapr/proto/common/v1</outputDirectory> |
| 174 | + <url>${dapr.proto.baseurl}/runtime/v1/invoke.proto</url> |
| 175 | + <outputFileName>invoke.proto</outputFileName> |
| 176 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
86 | 177 | </configuration> |
87 | 178 | </execution> |
88 | 179 | <execution> |
89 | | - <id>getDaprClientProto</id> |
| 180 | + <id>getJobsProto</id> |
90 | 181 | <phase>initialize</phase> |
91 | 182 | <goals> |
92 | 183 | <goal>wget</goal> |
93 | 184 | </goals> |
94 | 185 | <configuration> |
95 | 186 | <skipCache>true</skipCache> |
96 | | - <url>${dapr.proto.baseurl}/runtime/v1/appcallback.proto</url> |
97 | | - <outputFileName>appcallback.proto</outputFileName> |
| 187 | + <url>${dapr.proto.baseurl}/runtime/v1/jobs.proto</url> |
| 188 | + <outputFileName>jobs.proto</outputFileName> |
| 189 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 190 | + </configuration> |
| 191 | + </execution> |
| 192 | + <execution> |
| 193 | + <id>getLockProto</id> |
| 194 | + <phase>initialize</phase> |
| 195 | + <goals> |
| 196 | + <goal>wget</goal> |
| 197 | + </goals> |
| 198 | + <configuration> |
| 199 | + <skipCache>true</skipCache> |
| 200 | + <url>${dapr.proto.baseurl}/runtime/v1/lock.proto</url> |
| 201 | + <outputFileName>lock.proto</outputFileName> |
| 202 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 203 | + </configuration> |
| 204 | + </execution> |
| 205 | + <execution> |
| 206 | + <id>getMetadataProto</id> |
| 207 | + <phase>initialize</phase> |
| 208 | + <goals> |
| 209 | + <goal>wget</goal> |
| 210 | + </goals> |
| 211 | + <configuration> |
| 212 | + <skipCache>true</skipCache> |
| 213 | + <url>${dapr.proto.baseurl}/runtime/v1/metadata.proto</url> |
| 214 | + <outputFileName>metadata.proto</outputFileName> |
| 215 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 216 | + </configuration> |
| 217 | + </execution> |
| 218 | + <execution> |
| 219 | + <id>getPubsubProto</id> |
| 220 | + <phase>initialize</phase> |
| 221 | + <goals> |
| 222 | + <goal>wget</goal> |
| 223 | + </goals> |
| 224 | + <configuration> |
| 225 | + <skipCache>true</skipCache> |
| 226 | + <url>${dapr.proto.baseurl}/runtime/v1/pubsub.proto</url> |
| 227 | + <outputFileName>pubsub.proto</outputFileName> |
| 228 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 229 | + </configuration> |
| 230 | + </execution> |
| 231 | + <execution> |
| 232 | + <id>getSecretProto</id> |
| 233 | + <phase>initialize</phase> |
| 234 | + <goals> |
| 235 | + <goal>wget</goal> |
| 236 | + </goals> |
| 237 | + <configuration> |
| 238 | + <skipCache>true</skipCache> |
| 239 | + <url>${dapr.proto.baseurl}/runtime/v1/secret.proto</url> |
| 240 | + <outputFileName>secret.proto</outputFileName> |
| 241 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 242 | + </configuration> |
| 243 | + </execution> |
| 244 | + <execution> |
| 245 | + <id>getStateProto</id> |
| 246 | + <phase>initialize</phase> |
| 247 | + <goals> |
| 248 | + <goal>wget</goal> |
| 249 | + </goals> |
| 250 | + <configuration> |
| 251 | + <skipCache>true</skipCache> |
| 252 | + <url>${dapr.proto.baseurl}/runtime/v1/state.proto</url> |
| 253 | + <outputFileName>state.proto</outputFileName> |
| 254 | + <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
| 255 | + </configuration> |
| 256 | + </execution> |
| 257 | + <execution> |
| 258 | + <id>getWorkflowProto</id> |
| 259 | + <phase>initialize</phase> |
| 260 | + <goals> |
| 261 | + <goal>wget</goal> |
| 262 | + </goals> |
| 263 | + <configuration> |
| 264 | + <skipCache>true</skipCache> |
| 265 | + <url>${dapr.proto.baseurl}/runtime/v1/workflow.proto</url> |
| 266 | + <outputFileName>workflow.proto</outputFileName> |
98 | 267 | <outputDirectory>${protobuf.input.directory}/dapr/proto/runtime/v1</outputDirectory> |
99 | 268 | </configuration> |
100 | 269 | </execution> |
101 | 270 | </executions> |
102 | 271 | </plugin> |
| 272 | + |
| 273 | + |
103 | 274 | <plugin> |
104 | 275 | <groupId>org.xolstice.maven.plugins</groupId> |
105 | 276 | <artifactId>protobuf-maven-plugin</artifactId> |
|
116 | 287 | <goal>compile</goal> |
117 | 288 | <goal>compile-custom</goal> |
118 | 289 | </goals> |
| 290 | + <configuration> |
| 291 | + <includes> |
| 292 | + <include>dapr/proto/common/v1/common.proto</include> |
| 293 | + <include>dapr/proto/runtime/v1/*.proto</include> |
| 294 | + </includes> |
| 295 | + </configuration> |
| 296 | + |
119 | 297 | </execution> |
120 | 298 | </executions> |
121 | 299 | </plugin> |
|
0 commit comments