pom.setBuild(build);
}
pom.addProperty(Property.JbossHome.getName(), JBOSS_HOME);
pom.addProperty(Property.DevContext.getName(), DEV_CONTEXT);
pom.addProperty(Property.ErraiVersion.getName(), getErraiVersion());
if (build.getSourceDirectory() == null)
build.setSourceDirectory(DefaultValue.SourceDirectory.getDefaultValue());
Resource res = getResource(build.getSourceDirectory(), build.getResources());