Class NexusConfigWriterMojo

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

    @Mojo(name="generate",
          defaultPhase=PROCESS_RESOURCES,
          requiresProject=true)
    public class NexusConfigWriterMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      (package private) void setComp​(NexusConfigWriter comp)  
      void setOutputDirectory​(java.io.File out)  
      • 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
    • Field Detail

      • mojo

        @Parameter(defaultValue="${mojoExecution}",
                   readonly=true)
        public org.apache.maven.plugin.MojoExecution mojo
      • skip

        @Parameter(required=false,
                   defaultValue="false")
        public boolean skip
      • outputDirectory

        @Parameter(required=false,
                   defaultValue="${project.build.directory}/generated-nexus")
        public java.io.File outputDirectory
      • project

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

        @Parameter(required=true)
        public java.lang.String hint
    • Constructor Detail

      • NexusConfigWriterMojo

        public NexusConfigWriterMojo()
    • Method Detail

      • setOutputDirectory

        public void setOutputDirectory​(java.io.File out)
      • execute

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