Package com.soebes.itf.jupiter.extension
Annotation Type MavenOption
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
@Repeatable(MavenOptions.class)
@API(status=EXPERIMENTAL,
since="0.9.0")
public @interface MavenOption
@MavenOption
is used to define options for calling Maven
command line.
When applied at the class level, all test methods within that class are automatically inheriting the given goal.
You can define command line options like the following:
@MavenOptions(MavenCLIOptions.FAIL_AT_END)
For multiple command line options:
@MavenOptions(MavenCLIOptions.FAIL_AT_END) @MavenOptions(MavenCLIOptions.ERROR)
This is the equivalent to the command line like: --fail-at-end --error
The annotation @MavenOption
is an repeatable annotation.
- Since:
- 0.9.0
- Author:
- Karl Heinz Marbaise
- See Also:
-
Required Element Summary
-
Optional Element Summary