Class JUnitPlatformMavenPluginMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- de.sormuras.junit.platform.maven.plugin.JUnitPlatformMavenPluginMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="launch-junit-platform", defaultPhase=TEST, threadSafe=true, requiresDependencyResolution=TEST) public class JUnitPlatformMavenPluginMojo extends org.apache.maven.plugin.AbstractMojoLaunch JUnit Platform Mojo.
-
-
Constructor Summary
Constructors Constructor Description JUnitPlatformMavenPluginMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Default Methods Modifier and Type Method Description voidexecute()default booleanfailOnZeroTests()org.apache.maven.plugin.logging.LoggetLog()org.apache.maven.project.MavenProjectgetMavenProject()java.util.PropertiesgetParameters()java.time.DurationgetTimeout()
-
-
-
Method Detail
-
getMavenProject
public org.apache.maven.project.MavenProject getMavenProject()
-
getTimeout
public java.time.Duration getTimeout()
-
getParameters
public java.util.Properties getParameters()
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getLog
public abstract org.apache.maven.plugin.logging.Log getLog()
-
failOnZeroTests
public default boolean failOnZeroTests()
-
-