Class MainInstrumentMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.offbynull.coroutines.mavenplugin.AbstractInstrumentMojo
-
- com.offbynull.coroutines.mavenplugin.MainInstrumentMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="instrument", defaultPhase=PROCESS_CLASSES, requiresDependencyResolution=COMPILE) public final class MainInstrumentMojo extends AbstractInstrumentMojo
Mojo to run coroutine instrumentation. Instruments main classes.Sample usage in POM:
<build> <plugins> <plugin> <groupId>com.offbynull.coroutines</groupId> <artifactId>maven-plugin</artifactId> <version>LATEST VERSION HERE</version> <executions> <execution> <goals> <goal>instrument</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
or directly call the goal instrument (e.g. mvn coroutine:instrument)
-
-
Constructor Summary
Constructors Constructor Description MainInstrumentMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class com.offbynull.coroutines.mavenplugin.AbstractInstrumentMojo
getProject, instrumentPath
-
-