Class AbstractGroovySourcesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.gmavenplus.mojo.AbstractGroovyMojo
org.codehaus.gmavenplus.mojo.AbstractGroovySourcesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractCompileMojo, AbstractGroovyDocMojo, AbstractGroovyStubSourcesMojo, AddSourcesMojo, AddTestSourcesMojo

public abstract class AbstractGroovySourcesMojo extends AbstractGroovyMojo
This mojo provides access to the Groovy sources.
Since:
1.0-beta-2
Author:
Keegan Witt
  • Field Details

  • Constructor Details

    • AbstractGroovySourcesMojo

      public AbstractGroovySourcesMojo()
  • Method Details

    • getFiles

      protected SortedSet<File> getFiles(org.apache.maven.shared.model.fileset.FileSet[] fromSources, boolean includeJavaSources)
      Gets the set of included files from the specified source files or source directory (if sources are null).
      Parameters:
      fromSources - The sources to get the included files from
      includeJavaSources - Whether to include Java sources
      Returns:
      The included files from the specified sources
    • getTestFiles

      protected SortedSet<File> getTestFiles(org.apache.maven.shared.model.fileset.FileSet[] fromSources, boolean includeJavaSources)
      Gets the set of included files from the specified source files or source directory (if sources are null).
      Parameters:
      fromSources - The sources to get the included files from
      includeJavaSources - Whether to include Java sources
      Returns:
      The included files from the specified sources
    • getFilesets

      protected org.apache.maven.shared.model.fileset.FileSet[] getFilesets(org.apache.maven.shared.model.fileset.FileSet[] fromSources, boolean includeJavaSources)
      Gets the set of included filesets from the specified source files or source directory (if sources are null).
      Parameters:
      fromSources - The sources to get the included files from
      includeJavaSources - Whether to include Java sources
      Returns:
      The included filesets from the specified sources
    • getTestFilesets

      protected org.apache.maven.shared.model.fileset.FileSet[] getTestFilesets(org.apache.maven.shared.model.fileset.FileSet[] fromSources, boolean includeJavaSources)
      Gets the set of included filesets from the specified source files or source directory (if sources are null).
      Parameters:
      fromSources - The sources to get the included files from
      includeJavaSources - Whether to include Java sources
      Returns:
      The included filesets from the specified sources