Class JUnitPlatformMojo
- java.lang.Object
-
- org.apache.maven.AbstractMavenLifecycleParticipant
-
- de.sormuras.junit.platform.maven.plugin.JUnitPlatformMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.Mojo
@Mojo(name="launch", defaultPhase=TEST, threadSafe=true, requiresDependencyCollection=TEST, requiresDependencyResolution=TEST) @Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class) public class JUnitPlatformMojo extends org.apache.maven.AbstractMavenLifecycleParticipant implements org.apache.maven.plugin.MojoLaunch JUnit Platform Mojo.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.maven.execution.MavenSessionmavenSessionThe current Maven session.
-
Constructor Summary
Constructors Constructor Description JUnitPlatformMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterProjectsRead(org.apache.maven.execution.MavenSession session)voidexecute()org.apache.maven.plugin.logging.LoggetLog()org.apache.maven.plugin.MojoExecutiongetMojoExecution()voidsetLog(org.apache.maven.plugin.logging.Log log)
-
-
-
Method Detail
-
setLog
public void setLog(org.apache.maven.plugin.logging.Log log)
- Specified by:
setLogin interfaceorg.apache.maven.plugin.Mojo
-
getLog
public org.apache.maven.plugin.logging.Log getLog()
- Specified by:
getLogin interfaceorg.apache.maven.plugin.Mojo
-
afterProjectsRead
public void afterProjectsRead(org.apache.maven.execution.MavenSession session)
- Overrides:
afterProjectsReadin classorg.apache.maven.AbstractMavenLifecycleParticipant
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getMojoExecution
public org.apache.maven.plugin.MojoExecution getMojoExecution()
-
-