Skip to content

Commit

Permalink
Always update snapshots
Browse files Browse the repository at this point in the history
and remove debug logging as it might leak secrets
  • Loading branch information
marcphilipp committed Nov 1, 2021
1 parent 938ab00 commit d455b98
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ List<String> execute(String version, Path javaHome) {
.setProject("java-versions") //
.setWorkspace("java-versions-" + version) //
.addArguments("-Dmaven.repo=" + MavenRepo.dir()) //
.addArguments("--debug", "--batch-mode", "verify") //
.addArguments("--update-snapshots", "--batch-mode", "verify") //
.setTimeout(TOOL_TIMEOUT) //
.setJavaHome(javaHome) //
.build().run();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void verifyMavenStarterProject() {
.setTool(Request.maven()) //
.setProject("maven-starter") //
.addArguments("-Dmaven.repo=" + MavenRepo.dir()) //
.addArguments("--debug", "--batch-mode", "verify") //
.addArguments("--update-snapshots", "--batch-mode", "verify") //
.setTimeout(TOOL_TIMEOUT) //
.setJavaHome(Helper.getJavaHome("8").orElseThrow(TestAbortedException::new)) //
.build() //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ private Result mvn(String variant) {
.setTool(Request.maven()) //
.setProject("multi-release-jar") //
.addArguments("-Dmaven.repo=" + MavenRepo.dir()) //
.addArguments("--show-version", "--errors", "--batch-mode", "--file", variant, "test") //
.addArguments("--update-snapshots", "--show-version", "--errors", "--batch-mode", "--file", variant,
"test") //
.setTimeout(TOOL_TIMEOUT) //
.build() //
.run();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private Result run(String version) {
.setJavaHome(Helper.getJavaHome("8").orElseThrow(TestAbortedException::new)) //
.setProject("vintage") //
.setWorkspace("vintage-maven-" + version) //
.addArguments("clean", "test", "--debug", "--batch-mode") //
.addArguments("clean", "test", "--update-snapshots", "--batch-mode") //
.addArguments("-Dmaven.repo=" + MavenRepo.dir()) //
.addArguments("-Djunit4Version=" + version) //
.setTimeout(TOOL_TIMEOUT) //
Expand Down

0 comments on commit d455b98

Please sign in to comment.