Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public IExit invoke() throws Throwable {
// Check out the recent tag using jgit
project.checkoutTag(project.getReleaseProperties().getTag());
// Maven install (stream stdio to the console) the newly created release version
getContext().getMaven().install(project.getDirectory(), IMaven.PROFILES_RELEASE);
getContext().getMaven().install(project.getDirectory(), true, IMaven.PROFILES_RELEASE);
phase = project.updatePhase(Phase.InstalledRelease);
}
log.info("Installed release {} {}", name, releaseProperties.getRelease());
Expand Down Expand Up @@ -327,7 +327,7 @@ public IExit invoke() throws Throwable {
// Check out the branch head
project.getGit().checkout().setCreateBranch(false).setName(getBranch()).call();
// Maven install (stream stdio to the console) the new development versions
getContext().getMaven().install(project.getDirectory(), IMaven.PROFILES_RELEASE);
getContext().getMaven().install(project.getDirectory(), false, IMaven.PROFILES_RELEASE);

log.info("Updating downstream {}", name);
for (BulldozerProject downstream : getContext().getProjects().values()) {
Expand Down Expand Up @@ -361,7 +361,7 @@ public IExit invoke() throws Throwable {
log.info("\t{}", name);
final BulldozerProject project = getContext().getNameToProject().get(name);
// Maven install (stream stdio to the console) the downstream, since it was updated
getContext().getMaven().install(project.getDirectory());
getContext().getMaven().install(project.getDirectory(), false, HCollection.emptyList());
}

// Find the local maven repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ public default String evaluate(Path path, String expression) {
public Stream<String> evaluateRaw(@Working Path path, @Named("-Dexpression=") String expression);

@Command({ "mvn", "clean", "install" })
public void install(@Working Path path, @ArgumentRenderer(CSVArgumentRenderer.class) @Named("-P") List<String> profiles);

@Command({ "mvn", "clean", "install" })
public void install(@Working Path path, @ArgumentRenderer(CSVArgumentRenderer.class) @Named("-P") String... profiles);
public void install(@Working Path path, @Flag("-DskipTests") boolean skipTests, @ArgumentRenderer(CSVArgumentRenderer.class) @Named("-P") List<String> profiles);

@Command({ "mvn", "release:perform" })
public void releasePerform(@Working Path path, @ArgumentRenderer(CSVArgumentRenderer.class) @Named("-P") List<String> profiles);
Expand Down