Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>

<!-- Generated by maven-plugin-tools 3.2 on 2013-08-01 -->

<plugin>
  <name>GMavenPlus Plugin</name>
  <description>Integrates Groovy into Maven projects.</description>
  <groupId>org.codehaus.gmavenplus</groupId>
  <artifactId>gmavenplus-plugin</artifactId>
  <version>1.0-beta-2</version>
  <goalPrefix>gplus</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <mojo>
      <goal>compile</goal>
      <description>Compiles the main sources.
Note that this mojo requires Groovy &gt;= 1.5.0, and &gt;= 2.0.0-beta-3 (the indy version) for compiling with invokedynamic option.</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>compile</phase>
      <implementation>org.codehaus.gmavenplus.mojo.CompileMojo</implementation>
      <language>java</language>
      <configurator>include-project-dependencies</configurator>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>debug</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether Groovy compiler should be set to debug.</description>
        </parameter>
        <parameter>
          <name>invokeDynamic</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Allow setting whether to support invokeDynamic (requires Java 7 or greater).</description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the compiled classes.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The Maven project this plugin is being used on.</description>
        </parameter>
        <parameter>
          <name>sourceEncoding</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The encoding of source files.</description>
        </parameter>
        <parameter>
          <name>sources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy source files (relative paths).
Default: &quot;${project.basedir}/src/main/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>testOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the compiled test classes.</description>
        </parameter>
        <parameter>
          <name>testSources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy test source files (relative paths).
Default: &quot;${project.basedir}/src/test/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>tolerance</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>Groovy compiler error tolerance
(the number of non-fatal errors (per unit) that should be tolerated before compilation is aborted).</description>
        </parameter>
        <parameter>
          <name>verbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether Groovy compiler should be set to verbose.</description>
        </parameter>
        <parameter>
          <name>warningLevel</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>Groovy compiler warning level.  Should be one of:
&lt;ul&gt;
  &lt;li&gt;&quot;0&quot; (None)&lt;/li&gt;
  &lt;li&gt;&quot;1&quot; (Likely Errors)&lt;/li&gt;
  &lt;li&gt;&quot;2&quot; (Possible Errors)&lt;/li&gt;
  &lt;li&gt;&quot;3&quot; (Paranoia)&lt;/li&gt;
&lt;/ul&gt;</description>
        </parameter>
      </parameters>
      <configuration>
        <debug implementation="boolean" default-value="false"/>
        <invokeDynamic implementation="boolean" default-value="false">${invokeDynamic}</invokeDynamic>
        <outputDirectory implementation="java.io.File" default-value="${project.build.outputDirectory}"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <sourceEncoding implementation="java.lang.String" default-value="${project.build.sourceEncoding}"/>
        <testOutputDirectory implementation="java.io.File" default-value="${project.build.testOutputDirectory}"/>
        <tolerance implementation="int" default-value="0"/>
        <verbose implementation="boolean" default-value="false"/>
        <warningLevel implementation="int" default-value="0"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>testCompile</goal>
      <description>Compiles the test sources.
Note that this mojo requires Groovy &gt;= 1.5.0, and &gt;= 2.0.0-beta-3 (the indy version) for compiling with invokedynamic option.</description>
      <requiresDependencyResolution>test</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>test-compile</phase>
      <implementation>org.codehaus.gmavenplus.mojo.CompileTestsMojo</implementation>
      <language>java</language>
      <configurator>include-project-dependencies</configurator>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>debug</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether Groovy compiler should be set to debug.</description>
        </parameter>
        <parameter>
          <name>invokeDynamic</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Allow setting whether to support invokeDynamic (requires Java 7 or greater).</description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the compiled classes.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The Maven project this plugin is being used on.</description>
        </parameter>
        <parameter>
          <name>skip</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Flag to allow test compilation to be skipped.</description>
        </parameter>
        <parameter>
          <name>sourceEncoding</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The encoding of source files.</description>
        </parameter>
        <parameter>
          <name>sources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy source files (relative paths).
Default: &quot;${project.basedir}/src/main/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>testOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the compiled test classes.</description>
        </parameter>
        <parameter>
          <name>testSources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy test source files (relative paths).
Default: &quot;${project.basedir}/src/test/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>tolerance</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>Groovy compiler error tolerance
(the number of non-fatal errors (per unit) that should be tolerated before compilation is aborted).</description>
        </parameter>
        <parameter>
          <name>verbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether Groovy compiler should be set to verbose.</description>
        </parameter>
        <parameter>
          <name>warningLevel</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>Groovy compiler warning level.  Should be one of:
&lt;ul&gt;
  &lt;li&gt;&quot;0&quot; (None)&lt;/li&gt;
  &lt;li&gt;&quot;1&quot; (Likely Errors)&lt;/li&gt;
  &lt;li&gt;&quot;2&quot; (Possible Errors)&lt;/li&gt;
  &lt;li&gt;&quot;3&quot; (Paranoia)&lt;/li&gt;
&lt;/ul&gt;</description>
        </parameter>
      </parameters>
      <configuration>
        <debug implementation="boolean" default-value="false"/>
        <invokeDynamic implementation="boolean" default-value="false">${invokeDynamic}</invokeDynamic>
        <outputDirectory implementation="java.io.File" default-value="${project.build.outputDirectory}"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <skip implementation="boolean" default-value="false">${maven.test.skip}</skip>
        <sourceEncoding implementation="java.lang.String" default-value="${project.build.sourceEncoding}"/>
        <testOutputDirectory implementation="java.io.File" default-value="${project.build.testOutputDirectory}"/>
        <tolerance implementation="int" default-value="0"/>
        <verbose implementation="boolean" default-value="false"/>
        <warningLevel implementation="int" default-value="0"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>groovydoc</goal>
      <description>Generates Groovydoc for the main sources
Note that this mojo requires Groovy &gt;= 1.6.2.</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.codehaus.gmavenplus.mojo.GroovydocMojo</implementation>
      <language>java</language>
      <configurator>include-project-dependencies</configurator>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>displayAuthor</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to display the author in the generated Groovydoc.</description>
        </parameter>
        <parameter>
          <name>docTitle</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The page title.</description>
        </parameter>
        <parameter>
          <name>footer</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The page footer.</description>
        </parameter>
        <parameter>
          <name>groovydocJavaSources</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to include Java sources in groovydoc generation.</description>
        </parameter>
        <parameter>
          <name>groovydocOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the generated API docs.</description>
        </parameter>
        <parameter>
          <name>header</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The page header.</description>
        </parameter>
        <parameter>
          <name>links</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>Links to include in the generated groovydoc (key is link href, value is comma-separated packages to use that link).</description>
        </parameter>
        <parameter>
          <name>overviewFile</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The HTML file to be used for overview documentation.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The Maven project this plugin is being used on.</description>
        </parameter>
        <parameter>
          <name>scope</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The scope to generate Groovydoc for, should be one of:
&lt;ul&gt;
  &lt;li&gt;&quot;public&quot;&lt;/li&gt;
  &lt;li&gt;&quot;protected&quot;&lt;/li&gt;
  &lt;li&gt;&quot;package&quot;&lt;/li&gt;
  &lt;li&gt;&quot;private&quot;&lt;/li&gt;
&lt;/ul&gt;</description>
        </parameter>
        <parameter>
          <name>sources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy source files (relative paths).
Default: &quot;${project.basedir}/src/main/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>stylesheetEncoding</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The encoding of stylesheetFile.</description>
        </parameter>
        <parameter>
          <name>stylesheetFile</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The stylesheet file (absolute path) to copy to output directory (will overwrite default stylesheet.css).</description>
        </parameter>
        <parameter>
          <name>testGroovydocOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the generated test API docs.</description>
        </parameter>
        <parameter>
          <name>testSources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy test source files (relative paths).
Default: &quot;${project.basedir}/src/test/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>windowTitle</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The window title.</description>
        </parameter>
      </parameters>
      <configuration>
        <displayAuthor implementation="boolean" default-value="true"/>
        <docTitle implementation="java.lang.String" default-value="Groovy Documentation"/>
        <footer implementation="java.lang.String" default-value="Groovy Documentation"/>
        <groovydocJavaSources implementation="boolean" default-value="true"/>
        <groovydocOutputDirectory implementation="java.io.File" default-value="${project.build.directory}/gapidocs"/>
        <header implementation="java.lang.String" default-value="Groovy Documentation"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <scope implementation="java.lang.String" default-value="private"/>
        <stylesheetEncoding implementation="java.lang.String" default-value="UTF-8"/>
        <testGroovydocOutputDirectory implementation="java.io.File" default-value="${project.build.directory}/testgapidocs"/>
        <windowTitle implementation="java.lang.String" default-value="Groovy Documentation"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>generateStubs</goal>
      <description>Generates stubs for the main sources.
Note that this mojo requires Groovy &gt;= 1.7.0.</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>org.codehaus.gmavenplus.mojo.GenerateStubsMojo</implementation>
      <language>java</language>
      <configurator>include-project-dependencies</configurator>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>debug</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether Groovy compiler should be set to debug.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The Maven project this plugin is being used on.</description>
        </parameter>
        <parameter>
          <name>scriptExtensions</name>
          <type>java.util.Set</type>
          <required>false</required>
          <editable>true</editable>
          <description>The file extensions of Groovy source files.</description>
        </parameter>
        <parameter>
          <name>sourceEncoding</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The encoding of source files.</description>
        </parameter>
        <parameter>
          <name>sources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy source files (relative paths).
Default: &quot;${project.basedir}/src/main/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>stubsOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the compiled classes.</description>
        </parameter>
        <parameter>
          <name>testSources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy test source files (relative paths).
Default: &quot;${project.basedir}/src/test/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>testStubsOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the compiled test classes.</description>
        </parameter>
        <parameter>
          <name>tolerance</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>Groovy compiler error tolerance
(the number of non-fatal errors (per unit) that should be tolerated before compilation is aborted).</description>
        </parameter>
        <parameter>
          <name>verbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether Groovy compiler should be set to verbose.</description>
        </parameter>
        <parameter>
          <name>warningLevel</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>Groovy compiler warning level.  Should be one of:
&lt;ul&gt;
  &lt;li&gt;&quot;0&quot; (None)&lt;/li&gt;
  &lt;li&gt;&quot;1&quot; (Likely Errors)&lt;/li&gt;
  &lt;li&gt;&quot;2&quot; (Possible Errors)&lt;/li&gt;
  &lt;li&gt;&quot;3&quot; (Paranoia)&lt;/li&gt;
&lt;/ul&gt;</description>
        </parameter>
      </parameters>
      <configuration>
        <debug implementation="boolean" default-value="false"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <sourceEncoding implementation="java.lang.String" default-value="${project.build.sourceEncoding}"/>
        <stubsOutputDirectory implementation="java.io.File" default-value="${project.build.directory}/generated-sources/groovy-stubs/main"/>
        <testStubsOutputDirectory implementation="java.io.File" default-value="${project.build.directory}/generated-sources/groovy-stubs/test"/>
        <tolerance implementation="int" default-value="0"/>
        <verbose implementation="boolean" default-value="false"/>
        <warningLevel implementation="int" default-value="0"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>testGenerateStubs</goal>
      <description>Generates stubs for the test sources.
Note that this mojo requires Groovy &gt;= 1.7.0.</description>
      <requiresDependencyResolution>test</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-test-sources</phase>
      <implementation>org.codehaus.gmavenplus.mojo.GenerateTestStubsMojo</implementation>
      <language>java</language>
      <configurator>include-project-dependencies</configurator>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>debug</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether Groovy compiler should be set to debug.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The Maven project this plugin is being used on.</description>
        </parameter>
        <parameter>
          <name>scriptExtensions</name>
          <type>java.util.Set</type>
          <required>false</required>
          <editable>true</editable>
          <description>The file extensions of Groovy source files.</description>
        </parameter>
        <parameter>
          <name>skip</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Flag to allow test compilation to be skipped.</description>
        </parameter>
        <parameter>
          <name>sourceEncoding</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The encoding of source files.</description>
        </parameter>
        <parameter>
          <name>sources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy source files (relative paths).
Default: &quot;${project.basedir}/src/main/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>stubsOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the compiled classes.</description>
        </parameter>
        <parameter>
          <name>testSources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy test source files (relative paths).
Default: &quot;${project.basedir}/src/test/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>testStubsOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the compiled test classes.</description>
        </parameter>
        <parameter>
          <name>tolerance</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>Groovy compiler error tolerance
(the number of non-fatal errors (per unit) that should be tolerated before compilation is aborted).</description>
        </parameter>
        <parameter>
          <name>verbose</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether Groovy compiler should be set to verbose.</description>
        </parameter>
        <parameter>
          <name>warningLevel</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>Groovy compiler warning level.  Should be one of:
&lt;ul&gt;
  &lt;li&gt;&quot;0&quot; (None)&lt;/li&gt;
  &lt;li&gt;&quot;1&quot; (Likely Errors)&lt;/li&gt;
  &lt;li&gt;&quot;2&quot; (Possible Errors)&lt;/li&gt;
  &lt;li&gt;&quot;3&quot; (Paranoia)&lt;/li&gt;
&lt;/ul&gt;</description>
        </parameter>
      </parameters>
      <configuration>
        <debug implementation="boolean" default-value="false"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <skip implementation="boolean" default-value="false">${maven.test.skip}</skip>
        <sourceEncoding implementation="java.lang.String" default-value="${project.build.sourceEncoding}"/>
        <stubsOutputDirectory implementation="java.io.File" default-value="${project.build.directory}/generated-sources/groovy-stubs/main"/>
        <testStubsOutputDirectory implementation="java.io.File" default-value="${project.build.directory}/generated-sources/groovy-stubs/test"/>
        <tolerance implementation="int" default-value="0"/>
        <verbose implementation="boolean" default-value="false"/>
        <warningLevel implementation="int" default-value="0"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>addSource</goal>
      <description>This mojo adds Groovy sources to the project&apos;s sources.</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>initialize</phase>
      <implementation>org.codehaus.gmavenplus.mojo.AddSourceMojo</implementation>
      <language>java</language>
      <configurator>include-project-dependencies</configurator>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>always</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The Maven project this plugin is being used on.</description>
        </parameter>
        <parameter>
          <name>sources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy source files (relative paths).
Default: &quot;${project.basedir}/src/main/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>testSources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy test source files (relative paths).
Default: &quot;${project.basedir}/src/test/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
      </parameters>
      <configuration>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
      </configuration>
    </mojo>
    <mojo>
      <goal>testGroovydoc</goal>
      <description>Generates Groovydoc for the test sources.
Note that this mojo requires Groovy &gt;= 1.6.2.</description>
      <requiresDependencyResolution>test</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.codehaus.gmavenplus.mojo.GroovydocTestsMojo</implementation>
      <language>java</language>
      <configurator>include-project-dependencies</configurator>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>displayAuthor</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to display the author in the generated Groovydoc.</description>
        </parameter>
        <parameter>
          <name>docTitle</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The page title.</description>
        </parameter>
        <parameter>
          <name>footer</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The page footer.</description>
        </parameter>
        <parameter>
          <name>groovydocJavaSources</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to include Java sources in groovydoc generation.</description>
        </parameter>
        <parameter>
          <name>groovydocOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the generated API docs.</description>
        </parameter>
        <parameter>
          <name>header</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The page header.</description>
        </parameter>
        <parameter>
          <name>links</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>Links to include in the generated groovydoc (key is link href, value is comma-separated packages to use that link).</description>
        </parameter>
        <parameter>
          <name>overviewFile</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The HTML file to be used for overview documentation.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The Maven project this plugin is being used on.</description>
        </parameter>
        <parameter>
          <name>scope</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The scope to generate Groovydoc for, should be one of:
&lt;ul&gt;
  &lt;li&gt;&quot;public&quot;&lt;/li&gt;
  &lt;li&gt;&quot;protected&quot;&lt;/li&gt;
  &lt;li&gt;&quot;package&quot;&lt;/li&gt;
  &lt;li&gt;&quot;private&quot;&lt;/li&gt;
&lt;/ul&gt;</description>
        </parameter>
        <parameter>
          <name>sources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy source files (relative paths).
Default: &quot;${project.basedir}/src/main/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>stylesheetEncoding</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The encoding of stylesheetFile.</description>
        </parameter>
        <parameter>
          <name>stylesheetFile</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The stylesheet file (absolute path) to copy to output directory (will overwrite default stylesheet.css).</description>
        </parameter>
        <parameter>
          <name>testGroovydocOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>The location for the generated test API docs.</description>
        </parameter>
        <parameter>
          <name>testSources</name>
          <type>org.apache.maven.shared.model.fileset.FileSet[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Groovy test source files (relative paths).
Default: &quot;${project.basedir}/src/test/groovy/&amp;#42;&amp;#42;/&amp;#42;.groovy&quot;</description>
        </parameter>
        <parameter>
          <name>windowTitle</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The window title.</description>
        </parameter>
      </parameters>
      <configuration>
        <displayAuthor implementation="boolean" default-value="true"/>
        <docTitle implementation="java.lang.String" default-value="Groovy Documentation"/>
        <footer implementation="java.lang.String" default-value="Groovy Documentation"/>
        <groovydocJavaSources implementation="boolean" default-value="true"/>
        <groovydocOutputDirectory implementation="java.io.File" default-value="${project.build.directory}/gapidocs"/>
        <header implementation="java.lang.String" default-value="Groovy Documentation"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <scope implementation="java.lang.String" default-value="private"/>
        <stylesheetEncoding implementation="java.lang.String" default-value="UTF-8"/>
        <testGroovydocOutputDirectory implementation="java.io.File" default-value="${project.build.directory}/testgapidocs"/>
        <windowTitle implementation="java.lang.String" default-value="Groovy Documentation"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>help</goal>
      <description>Display help information on gmavenplus-plugin.&lt;br/&gt;
Call &lt;code&gt;mvn gplus:help -Ddetail=true -Dgoal=&amp;lt;goal-name&amp;gt;&lt;/code&gt; to display parameter details.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.codehaus.gmavenplus.mojo.HelpMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>detail</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If &lt;code&gt;true&lt;/code&gt;, display all settable properties for each goal.</description>
        </parameter>
        <parameter>
          <name>goal</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The name of the goal for which to show help. If unspecified, all goals will be displayed.</description>
        </parameter>
        <parameter>
          <name>indentSize</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The number of spaces per indentation level, should be positive.</description>
        </parameter>
        <parameter>
          <name>lineLength</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The maximum length of a display line, should be positive.</description>
        </parameter>
      </parameters>
      <configuration>
        <detail implementation="boolean" default-value="false">${detail}</detail>
        <goal implementation="java.lang.String">${goal}</goal>
        <indentSize implementation="int" default-value="2">${indentSize}</indentSize>
        <lineLength implementation="int" default-value="80">${lineLength}</lineLength>
      </configuration>
    </mojo>
    <mojo>
      <goal>execute</goal>
      <description>Executes Groovy scripts (in the pom or external).</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.codehaus.gmavenplus.mojo.ExecuteMojo</implementation>
      <language>java</language>
      <configurator>include-project-dependencies</configurator>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>continueExecuting</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to continue executing remaining scripts when a script fails.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The Maven project this plugin is being used on.</description>
        </parameter>
        <parameter>
          <name>scripts</name>
          <type>java.lang.String[]</type>
          <required>true</required>
          <editable>true</editable>
          <description>Groovy scripts to run (in order).  Can be an actual Groovy script or a
{@link java.net.URL URL} to a Groovy script (local or remote).</description>
        </parameter>
        <parameter>
          <name>sourceEncoding</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The encoding of script files.</description>
        </parameter>
      </parameters>
      <configuration>
        <continueExecuting implementation="boolean" default-value="false"/>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <sourceEncoding implementation="java.lang.String" default-value="${project.build.sourceEncoding}"/>
      </configuration>
    </mojo>
  </mojos>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-settings</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <type>jar</type>
      <version>1.5.15</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-interpolation</artifactId>
      <type>jar</type>
      <version>1.11</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <type>jar</type>
      <version>1.5.5</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-profile</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact-manager</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-repository-metadata</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>backport-util-concurrent</groupId>
      <artifactId>backport-util-concurrent</artifactId>
      <type>jar</type>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-registry</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>file-management</artifactId>
      <type>jar</type>
      <version>1.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>maven-shared-io</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-classworlds</artifactId>
      <type>jar</type>
      <version>2.4.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.xbean</groupId>
      <artifactId>xbean-reflect</artifactId>
      <type>jar</type>
      <version>3.4</version>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <type>jar</type>
      <version>1.2.12</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging-api</artifactId>
      <type>jar</type>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>com.google.collections</groupId>
      <artifactId>google-collections</artifactId>
      <type>jar</type>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
      <type>jar</type>
      <version>14.0.1</version>
    </dependency>
  </dependencies>
</plugin>
New to GrepCode? Check out our FAQ X