JobClasspathHelper uses org.apache.hadoop.filecache.DistributedCache which is deprecated in Hadoop 2 so it's not possible to get it to compile under all three profiles at the moment.