Plugin documentation

Goals available for this plugin:

Goal Report? Description
spoon:clean No Restore sourceDirectory to original.
spoon:test-clean No Restore sourceDirectory to original.
spoon:recompile No Apply a set of spoonlets after compilation of original java, and recompile the resulting java files.
spoon:report-only Yes No description.
spoon:test-recompile No Apply a set of spoonlet on test source.
spoon:generate No Apply a set of spoonlet on main source and generate the java files.
spoon:test-generate No Apply a set of spoonlet on test source.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 1.5
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You could run 'mvn -up' to get the latest version of this plugin, or specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>net.sf.alchim<groupId>
          <artifactId>spoon-maven-plugin<artifactId>
          <version>0.7.1<version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>net.sf.alchim<groupId>
        <artifactId>spoon-maven-plugin<artifactId>
        <version>0.7.1<version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>net.sf.alchim<groupId>
        <artifactId>spoon-maven-plugin<artifactId>
        <version>0.7.1<version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>
For more information, see "Guide to Configuring Plug-ins"