Class AddResourceMojo

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

    @Mojo(name="add-resource",
          defaultPhase=GENERATE_RESOURCES,
          threadSafe=true)
    public class AddResourceMojo
    extends AbstractAddResourceMojo
    Add more resource directories to the POM.
    Since:
    1.3
    Version:
    $Id$
    • Field Summary

      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      AddResourceMojo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addResource​(org.apache.maven.model.Resource resource)
      Add the resource to the project.
      • 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
    • Constructor Detail

      • AddResourceMojo

        public AddResourceMojo()