HADOOP-11269. Add java 8 profile for hadoop-annotations. Contributed by Li Lu.