Adding check for maven