avoid checking for maven, not working correctly