Maven Plugin Testing - In a Modern way - Part V

1 · Karl Heinz Marbaise · Sept. 10, 2020, 8:01 p.m.
In the previous part of the series – Maven Plugin Testing – In a Modern way – Part IV we have seen how to define goals to run Maven. In this part we will take a deeper look how we can define system properties for a Maven call to be used. Let us take a look at a simple example taken from the previous part. 1 2 3 4 5 6 7 8 9 @MavenJupiterExtension class BaseIT { @MavenTest @MavenGoal("verify") void the_first_test_case(MavenExecutionResult result) { ... } } This will run Maven with t...