artifactItem.addChild("artifactId").setText("jboss-as-dist");
artifactItem.addChild("version").setText("7.1.1.Final");
artifactItem.addChild("type").setText("zip");
artifactItem.addChild("outputDirectory").setText("target/");
try {
new Xpp3DomBuilder();
execution.setConfiguration(
Xpp3DomBuilder.build(new ByteArrayInputStream(configBuilder.toString().getBytes()), "UTF-8"));
}
catch (XmlPullParserException e) {
throw new RuntimeException(e);