adoroszlai opened a new pull request #271: URL: https://github.com/apache/incubator-ratis/pull/271
## What changes were proposed in this pull request? 1. Add `javax.annotation-api` dependency, required for compilation with Java 9+. 2. Improve _compile_ CI check to build Ratis with both Java 8 and Java 11. https://issues.apache.org/jira/browse/RATIS-1146 ## How was this patch tested? Compile checks: https://github.com/adoroszlai/incubator-ratis/runs/1385567749#step:4:10 https://github.com/adoroszlai/incubator-ratis/runs/1385567774#step:4:1729 Compiled Ratis locally with the same Java versions, and Java 14, too: ``` $ mvn -DskipTests -V clean package ... Java version: 14.0.1 ... [INFO] BUILD SUCCESS ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
