Annotation Interface InjectMojo
@Deprecated(since="4.0.0-rc-6",
forRemoval=true)
@Target({METHOD,PARAMETER})
@Retention(RUNTIME)
@Inherited
public @interface InjectMojo
Deprecated, for removal: This API element is subject to removal in a future version.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
goal
String goalDeprecated, for removal: This API element is subject to removal in a future version.Specifies the goal of the Mojo to instantiate. This is a required attribute that maps to the Mojo's@Mojo(name = "...")annotation value.- Returns:
- the goal name of the Mojo to test
-
pom
String pomDeprecated, for removal: This API element is subject to removal in a future version.Specifies an optional POM file to use for Mojo configuration. The path is relative to the test class location.If not specified, the default project configuration will be used.
- Returns:
- the path to a custom POM file, or an empty string to use defaults
- Default:
""
-
InjectMojoinstead