@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 |
---|---|
List<String> |
compileClasspathElements
The production class path.
|
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 List<String> |
getClassPathElements()
Returns the class path elements of the relevant output directory.
|
protected String |
getOutputDirectory()
Returns the output directory to search for class files.
|
execute
@Parameter(defaultValue="${project.build.outputDirectory}", required=true, readonly=true) public String outputDirectory
protected String getOutputDirectory()
ByteBuddyMojo
getOutputDirectory
in class ByteBuddyMojo
protected List<String> getClassPathElements()
ByteBuddyMojo
getClassPathElements
in class ByteBuddyMojo
Copyright © 2014–2020. All rights reserved.