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
    Author:
    Sebastien Deleuze
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected List<String> buildArgs  
      protected org.codehaus.plexus.logging.Logger logger  
      protected 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
    • 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 List<org.apache.maven.artifact.Artifact> pluginArtifacts
      • buildArgs

        @Parameter(property="buildArgs")
        protected List<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()