Skip to content

Commit a8a6ffd

Browse files
ZacBlancoyingsu00
authored andcommitted
Fix build failure on JDK 11
1 parent dbc1c15 commit a8a6ffd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

presto-grpc-api/pom.xml

+15
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@
7878
<scope>runtime</scope>
7979
</dependency>
8080

81+
<dependency>
82+
<groupId>javax.annotation</groupId>
83+
<artifactId>javax.annotation-api</artifactId>
84+
</dependency>
85+
8186
<dependency>
8287
<groupId>com.facebook.presto</groupId>
8388
<artifactId>presto-function-namespace-managers-common</artifactId>
@@ -111,6 +116,16 @@
111116
</execution>
112117
</executions>
113118
</plugin>
119+
<plugin>
120+
<groupId>org.apache.maven.plugins</groupId>
121+
<artifactId>maven-dependency-plugin</artifactId>
122+
<configuration>
123+
<usedDependencies>
124+
<!-- Used by generated GrpcUdfInvokeGrpc.java, but not picked up by plugin -->
125+
<dependency>javax.annotation:javax.annotation-api</dependency>
126+
</usedDependencies>
127+
</configuration>
128+
</plugin>
114129
</plugins>
115130
</build>
116131
</project>

0 commit comments

Comments
 (0)