@@ -32,7 +32,6 @@ import org.springframework.data.release.git.GitProject;
|
||||
import org.springframework.data.release.model.ModuleIteration;
|
||||
import org.springframework.data.release.model.SupportedProject;
|
||||
import org.springframework.util.StringUtils;
|
||||
import org.springframework.web.util.UriTemplate;
|
||||
|
||||
/**
|
||||
* Information about a deployment.
|
||||
@@ -85,11 +84,6 @@ public class DefaultDeploymentInformation implements DeploymentInformation {
|
||||
return String.format("%s-%s-release-%s", getBuildName(module.getSupportedProject()), branch, actualBuildNumber);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DeploymentInformation withModule(ModuleIteration module) {
|
||||
return new DefaultDeploymentInformation(module, properties, buildNumber, stagingRepositoryId, authentication);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.data.release.deployment.DeploymentInformation#getBuildName()
|
||||
|
||||
@@ -80,7 +80,5 @@ public interface DeploymentInformation {
|
||||
*/
|
||||
Map<String, Object> getBuildInfoParameters();
|
||||
|
||||
DeploymentInformation withModule(ModuleIteration module);
|
||||
|
||||
boolean isMavenCentral();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user