org.jboss.maven.plugins.injection
Class BytecodeInjectionMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jboss.maven.plugins.injection.BytecodeInjectionMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class BytecodeInjectionMojo
- extends org.apache.maven.plugin.AbstractMojo
Used to inject resolved expression values into compiled bytecode.
TODO : add checks as to whether the injection is needed to avoid file timestamp changes.
Basically we should skip the injection if the class file field is already the injection value...
- Author:
- Steve Ebersole
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 |
project
protected org.apache.maven.project.MavenProject project
- The Maven Project Object
bytecodeInjections
protected BytecodeInjection[] bytecodeInjections
- The injections to be performed.
BytecodeInjectionMojo
public BytecodeInjectionMojo()
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
Copyright © 2012 JBoss, a division of Red Hat, Inc. All Rights Reserved.