Package net.bytebuddy.build.maven
Class ByteBuddyMojo.ForProductionTypes
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- net.bytebuddy.build.maven.ByteBuddyMojo
-
- net.bytebuddy.build.maven.ByteBuddyMojo.ForProductionTypes
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Enclosing class:
- ByteBuddyMojo
@Mojo(name="transform", defaultPhase=PROCESS_CLASSES, threadSafe=true, requiresDependencyResolution=COMPILE) public static class ByteBuddyMojo.ForProductionTypes extends ByteBuddyMojoA Byte Buddy plugin that transforms a project's production class files.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
ByteBuddyMojo.ForProductionTypes, ByteBuddyMojo.ForTestTypes, ByteBuddyMojo.MavenBuildLogger, ByteBuddyMojo.TransformationLogger, ByteBuddyMojo.Transformer
-
-
Field Summary
-
Fields inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
context, discover, extendedParsing, failFast, failOnLiveInitializer, incremental, initialization, project, repositorySystem, repositorySystemSession, skip, suffix, threads, transformations, warnOnEmptyTypeSet, warnOnMissingOutputDirectory
-
-
Constructor Summary
Constructors Constructor Description ForProductionTypes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>getClassPathElements()Returns the class path elements of the relevant output directory.protected java.lang.StringgetOutputDirectory()Returns the output directory to search for class files.protected java.lang.StringgetSourceDirectory()Returns the source directory that determines the class files to process.-
Methods inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
execute
-
-
-
-
Method Detail
-
getOutputDirectory
protected java.lang.String getOutputDirectory()
Description copied from class:ByteBuddyMojoReturns the output directory to search for class files.- Specified by:
getOutputDirectoryin classByteBuddyMojo- Returns:
- The output directory to search for class files.
-
getSourceDirectory
protected java.lang.String getSourceDirectory()
Description copied from class:ByteBuddyMojoReturns the source directory that determines the class files to process.- Specified by:
getSourceDirectoryin classByteBuddyMojo- Returns:
- The source directory that serves as an input for the transformation.
-
getClassPathElements
protected java.util.List<java.lang.String> getClassPathElements() throws org.apache.maven.plugin.MojoFailureExceptionDescription copied from class:ByteBuddyMojoReturns the class path elements of the relevant output directory.- Specified by:
getClassPathElementsin classByteBuddyMojo- Returns:
- The class path elements of the relevant output directory.
- Throws:
org.apache.maven.plugin.MojoFailureException- If the class path cannot be resolved.
-
-