com.sun.enterprise.module.maven
Class CompilerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.AbstractCompilerMojo
          extended by com.sun.enterprise.module.maven.CompilerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
HK2CompileMojo

public class CompilerMojo
extends org.apache.maven.plugin.AbstractCompilerMojo

Compiles application sources

Version:
$Id: CompilerMojo.java 387710 2006-03-22 04:26:56Z carlos $
Author:
Jason van Zyl

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CompilerMojo()
           
 
Method Summary
 void execute()
           
protected  List getClasspathElements()
           
protected  List getCompileSourceRoots()
           
protected  File getOutputDirectory()
           
protected  org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
           
protected  org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(String inputFileEnding)
           
 
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

CompilerMojo

public CompilerMojo()
Method Detail

getCompileSourceRoots

protected List getCompileSourceRoots()
Specified by:
getCompileSourceRoots in class org.apache.maven.plugin.AbstractCompilerMojo

getClasspathElements

protected List getClasspathElements()
Specified by:
getClasspathElements in class org.apache.maven.plugin.AbstractCompilerMojo

getOutputDirectory

protected File getOutputDirectory()
Specified by:
getOutputDirectory in class org.apache.maven.plugin.AbstractCompilerMojo

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.CompilationFailureException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class org.apache.maven.plugin.AbstractCompilerMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.CompilationFailureException

getSourceInclusionScanner

protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
Specified by:
getSourceInclusionScanner in class org.apache.maven.plugin.AbstractCompilerMojo

getSourceInclusionScanner

protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(String inputFileEnding)
Specified by:
getSourceInclusionScanner in class org.apache.maven.plugin.AbstractCompilerMojo


Copyright © 2012 Oracle Corporation. All Rights Reserved.