Custom pom.xml and build.gradle