DependencyBuilder.create(spiProjectDependency).setVersion("${project.version}"));
for (Project p : Arrays.asList(addonProject, apiProject, implProject, spiProject))
{
JavaSourceFacet javaSource = p.getFacet(JavaSourceFacet.class);
javaSource.saveJavaSource(JavaParser.create(JavaPackageInfo.class).setPackage(
project.getFacet(MetadataFacet.class).getTopLevelPackage()));
}
installSelectedAddons(project, dependencyAddons, true);
installSelectedAddons(addonProject, dependencyAddons, false);