Made changes for older version of maven.