remove deprecated readonly parameter and build.directory from pom.xml