Skip to content

Commit

Permalink
Disable build consumer on tests using invoker to workaround MINVOKER-319
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jan 27, 2023
1 parent 86d4e9b commit 0bf1d86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void cleanInstall() throws IOException, InterruptedException {
}

final TestClientOutput output = new TestClientOutput();
client.execute(output, "clean", "verify", "-e", "-Dmvnd.log.level=DEBUG")
client.execute(output, "clean", "verify", "-e", "-Dmvnd.log.level=DEBUG", "-Dmaven.experimental.buildconsumer=false")
.assertSuccess();

Assertions.assertThat(helloPath).exists();
Expand Down
4 changes: 4 additions & 0 deletions integration-tests/src/test/projects/invoker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<postBuildHookScript>verify</postBuildHookScript>
<settingsFile>${settingsFile}</settingsFile>
<streamLogsOnFailures>true</streamLogsOnFailures>
<properties>
<maven.experimental.buildconsumer>false</maven.experimental.buildconsumer>
</properties>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 0bf1d86

Please sign in to comment.