Plugin Documentation

Goals available for this plugin:

Goal Report? Description
erlang:compile No Compile the erlang sources.
erlang:cover-report Yes Generate the cover report.
erlang:dialyzer No Run dialyzer on the generated beam files.
erlang:edoc Yes Generate the edoc report.
erlang:package No Package the Erlang project.
erlang:test No Run the test cases.
erlang:test-compile No Compile the Erlang sources (with different options) and test cases.
erlang:test-dialyzer No Run dialyzer on the generated test beam files.
erlang:test-edoc Yes Generate the edoc report for test source.
erlang:unpack-dependencies No Unpack dependencies.

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.maven-erlang</groupId>
          <artifactId>erlang-plugin</artifactId>
          <version>1.0-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>net.sf.maven-erlang</groupId>
        <artifactId>erlang-plugin</artifactId>
        <version>1.0-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>net.sf.maven-erlang</groupId>
        <artifactId>erlang-plugin</artifactId>
        <version>1.0-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>
For more information, see "Guide to Configuring Plug-ins"