|
75 | 75 | -->
|
76 | 76 | <!-- START OF gRPC code generation -->
|
77 | 77 | <plugin>
|
78 |
| - <groupId>org.xolstice.maven.plugins</groupId> |
79 |
| - <artifactId>protobuf-maven-plugin</artifactId> |
80 |
| - <version>0.6.1</version> |
| 78 | +<!-- <groupId>org.xolstice.maven.plugins</groupId>--> <!-- Disable to enable Apple Silicon support --> |
| 79 | +<!-- <artifactId>protobuf-maven-plugin</artifactId>--> <!-- Disable to enable Apple Silicon support --> |
| 80 | +<!-- <version>0.6.1</version>--> |
| 81 | + <groupId>com.github.os72</groupId> |
| 82 | + <artifactId>protoc-jar-maven-plugin</artifactId> |
| 83 | + <version>3.11.4</version> |
81 | 84 | <configuration>
|
82 |
| - <protocArtifact>com.google.protobuf:protoc:3.11.0:exe:${os.detected.classifier}</protocArtifact> |
83 |
| - <pluginId>grpc-java</pluginId> |
84 |
| - <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.27.1:exe:${os.detected.classifier}</pluginArtifact> |
| 85 | +<!-- <protocArtifact>com.google.protobuf:protoc:3.11.0:exe:${os.detected.classifier}</protocArtifact>--> <!-- Disable to enable Apple Silicon support --> |
| 86 | +<!-- <pluginId>grpc-java</pluginId>--> <!-- Disable to enable Apple Silicon support --> |
| 87 | + <protocArtifact>com.google.protobuf:protoc:3.17.3:exe:${os.detected.classifier}</protocArtifact> |
| 88 | + <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.42.1:exe:${os.detected.classifier}</pluginArtifact> |
| 89 | +<!-- <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.27.1:exe:${os.detected.classifier}</pluginArtifact>--> <!-- Disable to enable Apple Silicon support --> |
85 | 90 | <!-- output into src/main/java, but don't ever clear it (would delete all regular source files) -->
|
86 | 91 | <outputDirectory>${project.build.sourceDirectory}/</outputDirectory>
|
87 |
| - <clearOutputDirectory>false</clearOutputDirectory> |
| 92 | +<!-- <clearOutputDirectory>false</clearOutputDirectory>--> <!-- Disable to enable Apple Silicon support --> |
88 | 93 | </configuration>
|
89 | 94 | <executions>
|
90 | 95 | <execution>
|
91 | 96 | <goals>
|
92 |
| - <goal>compile</goal> |
93 |
| - <goal>compile-custom</goal> |
| 97 | + <goal>run</goal> |
| 98 | +<!-- <goal>compile</goal>--> <!-- Disable to enable Apple Silicon support --> |
| 99 | +<!-- <goal>compile-custom</goal>--> <!-- Disable to enable Apple Silicon support --> |
94 | 100 | </goals>
|
95 | 101 | </execution>
|
96 | 102 | </executions>
|
|
0 commit comments