Set building with dependencies inside pom.xml