Added pom code to automatically build output folder.