Package com.soebes.itf.jupiter.extension
Annotation Type SystemProperty
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
@Repeatable(SystemProperties.class)
@API(status=EXPERIMENTAL,
since="0.9.0")
public @interface SystemProperty
@SystemProperty
is used to define a system property which will be added
to the call of Maven during the execution of the tests.
When applied at the class level, all test methods within that class are automatically inheriting the given goal.
The annotation @SystemProperty
is an repeatable annotation.
Example:
@SystemProperty(value = "remotePom", content="localhost:dummy-bom-pom:1.0") @SystemProperty(value = "reportOutputFile", content="target/depDiffs.txt")
This will be the equivalent of giving the properties via command line like this:
mvn -DremotePom=localhost:dummy-bom-pom:1.0 -DreportOutputFile=target/depDiffs.txt ...
- Since:
- 0.9.0
- Author:
- Karl Heinz Marbaise
-
Required Element Summary
-
Optional Element Summary