Class NativeTestMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="test",
          defaultPhase=TEST,
          threadSafe=true,
          requiresDependencyResolution=TEST,
          requiresDependencyCollection=TEST)
    public class NativeTestMojo
    extends AbstractNativeImageMojo
    This goal builds and runs native tests.
    • Constructor Detail

      • NativeTestMojo

        public NativeTestMojo()
    • Method Detail

      • populateApplicationClasspath

        protected void populateApplicationClasspath()
                                             throws org.apache.maven.plugin.MojoExecutionException
        Overrides:
        populateApplicationClasspath in class AbstractNativeImageMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • addDependenciesToClasspath

        protected void addDependenciesToClasspath()
                                           throws org.apache.maven.plugin.MojoExecutionException
        Overrides:
        addDependenciesToClasspath in class AbstractNativeImageMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException