Class AbstractNativeMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    NativeBuildMojo, NativeTestMojo

    public abstract class AbstractNativeMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> buildArgs  
      protected org.codehaus.plexus.logging.Logger logger  
      protected java.util.List<org.apache.maven.artifact.Artifact> pluginArtifacts  
      protected org.apache.maven.project.MavenProject project  
      protected org.apache.maven.execution.MavenSession session  
      protected org.apache.maven.toolchain.ToolchainManager toolchainManager  
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void maybeAddGeneratedResourcesConfig​(java.util.List<java.lang.String> into)  
      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.maven.plugin.Mojo

        execute
    • Field Detail

      • project

        @Parameter(defaultValue="${project}",
                   readonly=true,
                   required=true)
        protected org.apache.maven.project.MavenProject project
      • pluginArtifacts

        @Parameter(property="plugin.artifacts",
                   required=true,
                   readonly=true)
        protected java.util.List<org.apache.maven.artifact.Artifact> pluginArtifacts
      • buildArgs

        @Parameter(property="buildArgs")
        protected java.util.List<java.lang.String> buildArgs
      • session

        @Parameter(defaultValue="${session}",
                   readonly=true)
        protected org.apache.maven.execution.MavenSession session
      • toolchainManager

        @Component
        protected org.apache.maven.toolchain.ToolchainManager toolchainManager
      • logger

        @Component
        protected org.codehaus.plexus.logging.Logger logger
    • Constructor Detail

      • AbstractNativeMojo

        public AbstractNativeMojo()
    • Method Detail

      • maybeAddGeneratedResourcesConfig

        protected void maybeAddGeneratedResourcesConfig​(java.util.List<java.lang.String> into)