ForgeRemoteAddon remoteAddon = ShrinkWrap.create(ForgeRemoteAddon.class).setAddonId(id);
if (Annotations.isAnnotationPresent(deploymentMethod, DeployToRepository.class))
remoteAddon.setAddonRepository(Annotations.getAnnotation(deploymentMethod, DeployToRepository.class).value());
DeploymentDescription deploymentDescription = new DeploymentDescription(id.toCoordinates(), remoteAddon);
deploymentDescription.shouldBeTestable(false);
deployments.add(deploymentDescription);
}
return deployments;