Polishing.
Use Spring Data Relational as repository name when interacting with GitHub for the JDBC project. See #206
This commit is contained in:
@@ -98,6 +98,8 @@ class MavenRuntime {
|
||||
|
||||
File javaHome = getJavaHome();
|
||||
mavenLogger.info(String.format("Java Home: %s", jdk));
|
||||
mavenLogger.info(String.format("Executing mvn %s", arguments));
|
||||
|
||||
InvocationRequest request = new DefaultInvocationRequest();
|
||||
request.setJavaHome(javaHome);
|
||||
request.setShellEnvironmentInherited(true);
|
||||
|
||||
@@ -20,6 +20,7 @@ import lombok.EqualsAndHashCode;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import org.springframework.data.release.model.Project;
|
||||
import org.springframework.data.release.model.Projects;
|
||||
|
||||
/**
|
||||
* @author Oliver Gierke
|
||||
@@ -39,16 +40,17 @@ public class GitProject {
|
||||
|
||||
/**
|
||||
* Returns the name of the repository the project is using.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public String getRepositoryName() {
|
||||
return String.format("%s-%s", PROJECT_PREFIX, project.getName().toLowerCase());
|
||||
return String.format("%s-%s", PROJECT_PREFIX,
|
||||
project == Projects.JDBC ? "relational" : project.getName().toLowerCase());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the URI of the {@link Project}'s repository.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public String getProjectUri() {
|
||||
|
||||
@@ -83,7 +83,7 @@ public class Projects {
|
||||
|
||||
REDIS = new Project("DATAREDIS", "Redis", Tracker.GITHUB).withDependencies(KEY_VALUE);
|
||||
|
||||
JDBC = new Project("DATAJDBC", "Relational", Tracker.GITHUB)
|
||||
JDBC = new Project("DATAJDBC", "JDBC", Tracker.GITHUB)
|
||||
.withAdditionalArtifacts(
|
||||
ArtifactCoordinates.SPRING_DATA.artifacts("spring-data-relational", "spring-data-jdbc"))
|
||||
.withDependencies(COMMONS);
|
||||
|
||||
Reference in New Issue
Block a user