Description of problem: glassfish-hk2 uses apt-maven-plugin for processing annotations at build time. Since apt is no longer available in JDK8, this package should use maven-processor-plugin instead.
This turned out to be only superfluous BR on apt-maven-plugin. One module in the project indeed uses old APT API, but we don't build/ship this particular module (and it's already fixed in upstream git repo). I've removed BR on apt-maven-plugin. Closing.