Class 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.AbstractMojo
    Launch JUnit Platform Mojo.
    • Constructor Detail

      • JUnitPlatformMavenPluginMojo

        public JUnitPlatformMavenPluginMojo()
    • 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:
        execute in interface org.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()