@Mojo(name="transform-test", defaultPhase=PROCESS_TEST_CLASSES, threadSafe=true, requiresDependencyResolution=TEST) public static class ByteBuddyMojo.ForTestTypes extends ByteBuddyMojo
ByteBuddyMojo.Coordinate, ByteBuddyMojo.ForProductionTypes, ByteBuddyMojo.ForTestTypes, ByteBuddyMojo.MavenBuildLogger, ByteBuddyMojo.StalenessFilter, ByteBuddyMojo.TransformationLogger, ByteBuddyMojo.Transformer
classPathDiscovery, context, discovery, execution, extendedParsing, failFast, failOnLiveInitializer, incremental, initialization, project, repositorySystem, repositorySystemSession, skip, staleMilliseconds, suffix, threads, transformations, warnOnEmptyTypeSet, warnOnMissingOutputDirectory
Constructor and Description |
---|
ForTestTypes() |
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.
|
protected String |
getSourceDirectory()
Returns the source directory that determines the class files to process.
|
execute
protected String getOutputDirectory()
ByteBuddyMojo
getOutputDirectory
in class ByteBuddyMojo
@MaybeNull protected String getSourceDirectory()
ByteBuddyMojo
getSourceDirectory
in class ByteBuddyMojo
protected List<String> getClassPathElements() throws org.apache.maven.plugin.MojoFailureException
ByteBuddyMojo
getClassPathElements
in class ByteBuddyMojo
org.apache.maven.plugin.MojoFailureException
- If the class path cannot be resolved.Copyright © 2014–2023. All rights reserved.