artifactory plugin only applied if java 6 and up