add maven settings and regular expression