com.sun.enterprise.module.maven
Class HK2CompileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.AbstractCompilerMojo
com.sun.enterprise.module.maven.CompilerMojo
com.sun.enterprise.module.maven.HK2CompileMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- HK2TestCompileMojo
public class HK2CompileMojo
- extends CompilerMojo
Replacement of the default javac mojo that uses APT, so that we can not only
compile source code but also generate HK2 related metadata at the same time.
- Author:
- Kohsuke Kawaguchi
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
processors
public Processor[] processors
- Additional jars that contain annotation processors.
HK2CompileMojo
public HK2CompileMojo()
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 CompilerMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.CompilationFailureException
Copyright © 2012 Oracle Corporation. All Rights Reserved.