eu.lindenbaum.maven
Class DialyzerReleaseMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by eu.lindenbaum.maven.DialyzerReleaseMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public final class DialyzerReleaseMojo
extends org.apache.maven.plugin.AbstractMojo

This Mojo runs the erlang dialyzer tool on a complete release found in AbstractErlangMojo.targetLib. The dialyzer can be skipped using the useDialyzer paramter in the projects pom. Since this Mojo is called in order to check a complete release it is run over all release dependencies.

Author:
Tobias Schlager

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DialyzerReleaseMojo()
           
 
Method Summary
protected  void dialyze(List<String> command)
          Starts a process evaluating a specific dialyzer command line.
 void execute()
           
 
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

DialyzerReleaseMojo

public DialyzerReleaseMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

dialyze

protected void dialyze(List<String> command)
                throws org.apache.maven.plugin.MojoExecutionException,
                       org.apache.maven.plugin.MojoFailureException
Starts a process evaluating a specific dialyzer command line.

Parameters:
command - the command line to execute
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2010 Lindenbaum GmbH. All Rights Reserved.