Updated plugin to allow using Maven 3.1+)