I'm trying to build the trellis-t3 and trellis-control apps. Attempting to build each of these with the specified
docker run -it --rm -v $HOME/.m2:/root/.m2 -v $PWD:/root/trellis-t3 -w /root/trellis-t3 maven:3.6.4-openjdk-11 mvn clean install
command results in an error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project t3-app: Compilation failure
[ERROR] /root/trellis-t3/app/src/main/java/org/onosproject/t3/api/NetworkConfigNib.java:[93,39] An unhandled exception was thrown by the Error Prone static analysis plugin.
I reported this to github as requested, and was told that this bug is already fixed in error-prone 2.3.4 . So the question is, how to build with this version of error-prone instead of 2.3.3 . Asking on the Maven 'users' mailing list suggests that I need to change the pom in onosproject to achieve this, but I'm not sure how to do this. Can anyone help ?