Perform build and distribute on CI.

See #21
This commit is contained in:
Mark Paluch
2023-01-09 11:05:39 +01:00
parent b2a2c7b000
commit aa5eff3d3f
7 changed files with 22 additions and 32 deletions

View File

@@ -241,7 +241,8 @@ class MavenBuildSystem implements BuildSystem {
public <M extends ProjectAware> M triggerBuild(M module) {
CommandLine arguments = CommandLine.of(Goal.CLEAN, Goal.INSTALL)//
.andIf(module.getProject().skipTests(), SKIP_TESTS);
.and(profile("ci,release")).andIf(module.getProject().skipTests(), SKIP_TESTS)
.andIf(!ObjectUtils.isEmpty(properties.getSettingsXml()), settingsXml(properties.getSettingsXml()));
mvn.execute(module.getProject(), arguments);

View File

@@ -50,7 +50,7 @@ public class Project implements Comparable<Project> {
}
private Project(String key, String name, String fullName, Tracker tracker) {
this(new ProjectKey(key), name, fullName, Collections.emptySet(), tracker, ArtifactCoordinates.SPRING_DATA, false);
this(new ProjectKey(key), name, fullName, Collections.emptySet(), tracker, ArtifactCoordinates.SPRING_DATA, true);
}
@java.beans.ConstructorProperties({ "key", "name", "fullName", "dependencies", "tracker", "additionalArtifacts",