@Mojo(name="transform", defaultPhase=PROCESS_CLASSES, threadSafe=true, requiresDependencyResolution=COMPILE) public static class ByteBuddyMojo.ForProductionTypes extends ByteBuddyMojo
ByteBuddyMojo.ForProductionTypes, ByteBuddyMojo.ForTestTypes, ByteBuddyMojo.MavenBuildLogger, ByteBuddyMojo.TransformationLogger
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
compileClasspathElements
The production class path.
|
java.lang.String |
outputDirectory
The current build's production output directory.
|
artifactId, extendedParsing, failFast, failOnLiveInitializer, groupId, initialization, packaging, project, remoteRepositories, repositorySystem, repositorySystemSession, skip, suffix, transformations, version, warnOnMissingOutputDirectory
Constructor and Description |
---|
ForProductionTypes() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.String> |
getClassPathElements()
Returns the class path elements of the relevant output directory.
|
protected java.lang.String |
getOutputDirectory()
Returns the output directory to search for class files.
|
execute
@Parameter(defaultValue="${project.build.outputDirectory}", required=true, readonly=true) public java.lang.String outputDirectory
@Parameter(defaultValue="${project.compileClasspathElements}", required=true, readonly=true) public java.util.List<java.lang.String> compileClasspathElements
protected java.lang.String getOutputDirectory()
ByteBuddyMojo
getOutputDirectory
in class ByteBuddyMojo
protected java.util.List<java.lang.String> getClassPathElements()
ByteBuddyMojo
getClassPathElements
in class ByteBuddyMojo