Polishing.
Fix Java selection for generic build operations. Include envers as child artifact of JPA. See #194
This commit is contained in:
@@ -220,7 +220,9 @@ public class BuildOperations {
|
|||||||
Supplier<IllegalStateException> exception = () -> new IllegalStateException(
|
Supplier<IllegalStateException> exception = () -> new IllegalStateException(
|
||||||
String.format("No build system plugin found for project %s!", module.getProject()));
|
String.format("No build system plugin found for project %s!", module.getProject()));
|
||||||
|
|
||||||
return function.apply(buildSystems.getPluginFor(module.getProject(), exception), module);
|
BuildSystem buildSystem = buildSystems.getPluginFor(module.getProject(), exception);
|
||||||
|
|
||||||
|
return function.apply(buildSystem.withJavaVersion(module.getJavaVersion()), module);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,10 @@ public class Projects {
|
|||||||
|
|
||||||
COMMONS = new Project("DATACMNS", "Commons", Tracker.GITHUB).withDependencies(BUILD);
|
COMMONS = new Project("DATACMNS", "Commons", Tracker.GITHUB).withDependencies(BUILD);
|
||||||
|
|
||||||
JPA = new Project("DATAJPA", "JPA", Tracker.GITHUB).withDependencies(COMMONS);
|
JPA = new Project("DATAJPA", "JPA", Tracker.GITHUB) //
|
||||||
|
.withDependencies(COMMONS) //
|
||||||
|
// TODO: This is only for Spring Data 3.0.
|
||||||
|
.withAdditionalArtifacts(ArtifactCoordinates.SPRING_DATA.artifacts("spring-data-envers"));
|
||||||
|
|
||||||
MONGO_DB = new Project("DATAMONGO", "MongoDB", Tracker.GITHUB) //
|
MONGO_DB = new Project("DATAMONGO", "MongoDB", Tracker.GITHUB) //
|
||||||
.withDependencies(COMMONS) //
|
.withDependencies(COMMONS) //
|
||||||
|
|||||||
Reference in New Issue
Block a user