NEXUS-5731: Enforce no Java7 refs creep in plugins