ResourcePackageDetails detail = new ResourcePackageDetails(key);
//detail.setDeploymentTimeConfiguration(this.packageDetails.getDeploymentTimeConfiguration());
Set<ResourcePackageDetails> packageDetails = new HashSet<ResourcePackageDetails>();
packageDetails.add(detail);
DeployPackagesRequest deployPackagesRequest = new DeployPackagesRequest(1, this.resource.getId(), packageDetails);
ContentManager contentManager = PluginContainer.getInstance().getContentManager();
DeployIndividualPackageResponse deployPackageResponse;
try
{