Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/#515-parse-changes-file' into fe…
Browse files Browse the repository at this point in the history
…ature/#515-dependency-upgrade
  • Loading branch information
kaklakariada committed Feb 8, 2024
2 parents 8e7d22b + 59560c9 commit 9319f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class MavenProjectCrawlerMojo extends AbstractMojo {
// [impl -> dsn~eclipse-prefs-java-version~1]
@Override
public void execute() {
if (projectsToCrawl == null || projectsToCrawl.isBlank()) {
if (this.projectsToCrawl == null || this.projectsToCrawl.isBlank()) {
throw new IllegalArgumentException(ExaError.messageBuilder("E-PK-MPC-64")
.message("Property {{property name}} is not defined or empty.", PROPERTY_PROJECTS_TO_CRAWL)
.mitigation("Specify property with least one pom file.").toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.util.List;

import com.exasol.projectkeeper.OsCheck;
import com.exasol.projectkeeper.OsCheck.OSType;

/**
* This class allows building and starting a {@code mvn} command.
Expand Down Expand Up @@ -91,11 +90,6 @@ public ShellCommand buildCommand() {
}

private static String getMavenExecutable() {
final OSType osType = new OsCheck().getOperatingSystemType();
if (osType == OSType.WINDOWS) {
return "mvn.cmd";
} else {
return "mvn";
}
return "mvn" + OsCheck.suffix(".cmd");
}
}

0 comments on commit 9319f9f

Please sign in to comment.