Fixed M2_REPO problem and jar import issue