private Element createDocumentSkeleton(Document doc) {
Element project = doc.addElement("project");
project.addAttribute("name", "junit4-maven-synthetic");
project.addAttribute("default", DEFAULT_TARGET);
project.addComment("Define JUnit4 task and data types.");
Element taskdef = project.addElement("taskdef");
taskdef.addAttribute("resource", JUnit4.ANTLIB_RESOURCE_NAME);
addArtifactClassPath(
taskdef.addElement("classpath"),
pluginArtifactMap.get("com.carrotsearch.randomizedtesting:junit4-ant"));