Skip to content

Commit

Permalink
Fix build failure on JDK 11
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacBlanco authored and yingsu00 committed Feb 3, 2025
1 parent dbc1c15 commit a8a6ffd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions presto-grpc-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>

<dependency>
<groupId>com.facebook.presto</groupId>
<artifactId>presto-function-namespace-managers-common</artifactId>
Expand Down Expand Up @@ -111,6 +116,16 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<usedDependencies>
<!-- Used by generated GrpcUdfInvokeGrpc.java, but not picked up by plugin -->
<dependency>javax.annotation:javax.annotation-api</dependency>
</usedDependencies>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit a8a6ffd

Please sign in to comment.