|
52 | 52 | <plugin> |
53 | 53 | <groupId>org.xolstice.maven.plugins</groupId> |
54 | 54 | <artifactId>protobuf-maven-plugin</artifactId> |
55 | | - <version>0.6.1</version> |
56 | 55 | <configuration> |
57 | | - <protocArtifact>com.google.protobuf:protoc:3.21.1:exe:${os.detected.classifier}</protocArtifact> |
| 56 | + <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact> |
58 | 57 | <pluginId>grpc-java</pluginId> |
59 | 58 | <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> |
60 | 59 | <checkStaleness>true</checkStaleness> |
|
70 | 69 | </plugin> |
71 | 70 | <plugin> |
72 | 71 | <artifactId>maven-compiler-plugin</artifactId> |
73 | | - <version>3.8.1</version> |
74 | 72 | <configuration> |
75 | | - <source>8</source> |
76 | | - <target>8</target> |
77 | | - <showWarnings>true</showWarnings> |
78 | | - <showDeprecation>true</showDeprecation> |
79 | | - <forceJavacCompilerUse>true</forceJavacCompilerUse> |
| 73 | + <!-- there are lots of deprecation in the protos but we don't want to fail --> |
80 | 74 | <failOnWarning>false</failOnWarning> |
81 | | - <!-- Generated proto classes produce warnings --> |
82 | | - <!-- The semantics of this option are reversed, see MCOMPILER-209. --> |
83 | | - <useIncrementalCompilation>false</useIncrementalCompilation> |
84 | | - <encoding>utf-8</encoding> |
85 | | - <compilerArgs> |
86 | | - <!-- for AutoValue reflection --> |
87 | | - <arg>-parameters</arg> |
88 | | - <arg>-Xlint:all</arg> |
89 | | - <!-- disable not helpful warnings to fail on warnings --> |
90 | | - <arg>-Xlint:-path</arg> |
91 | | - <arg>-Xlint:-processing</arg> |
92 | | - <!-- we don't care about classes being deserialized with different classpath --> |
93 | | - <arg>-Xlint:-serial</arg> |
94 | | - <arg>-implicit:class</arg> |
95 | | - <!-- see https://stackoverflow.com/a/57004351 --> |
96 | | - <arg>-Xpkginfo:always</arg> |
97 | | - </compilerArgs> |
98 | | - <annotationProcessorPaths> |
99 | | - <path> |
100 | | - <groupId>com.google.auto.value</groupId> |
101 | | - <artifactId>auto-value</artifactId> |
102 | | - <version>${auto-value.version}</version> |
103 | | - </path> |
104 | | - <path> |
105 | | - <groupId>com.google.auto.service</groupId> |
106 | | - <artifactId>auto-service</artifactId> |
107 | | - <version>${auto-service.version}</version> |
108 | | - </path> |
109 | | - <path> |
110 | | - <groupId>com.google.errorprone</groupId> |
111 | | - <artifactId>error_prone_core</artifactId> |
112 | | - <version>${error_prone.version}</version> |
113 | | - </path> |
114 | | - </annotationProcessorPaths> |
115 | 75 | </configuration> |
116 | 76 | </plugin> |
117 | | - <plugin> |
118 | | - <artifactId>maven-jar-plugin</artifactId> |
119 | | - </plugin> |
120 | 77 | <plugin> |
121 | 78 | <artifactId>maven-dependency-plugin</artifactId> |
122 | 79 | </plugin> |
|
0 commit comments