org.codehaus.mojo.j2me
Class PreverifyMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.j2me.PreverifyMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class PreverifyMojo
extends org.apache.maven.plugin.AbstractMojo

The preverify MoJo runs the preverify command from the given J2ME SDK.

Preverification takes place in the phase process-classes, that means after successfull compilation. The MoJo takes the classes to preverify from ${project.build.outputDirectory} and places the preverified classes into the same directory. Therefore no change to the packaging phase is neccessary.

Author:
Frank Seidinger

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PreverifyMojo()
           
 
Method Summary
 void execute()
          The main method of this MoJo
 
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

PreverifyMojo

public PreverifyMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
The main method of this MoJo

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2006-2009 novity Software-Consulting. All Rights Reserved.