File dropins_dir = new File(outputDirectory, DROPINS_DIR);
if (!dropins_dir.exists()) {
dropins_dir.mkdirs();
}
TargetPlatform tp = TychoProjectUtils.getTargetPlatform(project);
//LinkedList<TargetPlatform> pList = getPlatformsForSessionProjects();
ProductConfiguration product = loadProduct(DefaultReactorProject.adapt(project));
for (PluginRef ref : product.getPlugins()) {
ArtifactDescriptor artifact = tp.getArtifact(org.eclipse.tycho.ArtifactKey.TYPE_ECLIPSE_PLUGIN, ref.getId(), ref.getVersion());
// getArtifact(pList,
// org.eclipse.tycho.ArtifactKey.TYPE_ECLIPSE_PLUGIN,
// ref.getId(), ref.getVersion());
if (artifact == null) {
throw new MojoExecutionException(" MISSING ARTIFACT: " + ref.getId());