Package net.bytebuddy.build.maven
Class ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.bytebuddy.build.maven.ByteBuddyMojo
net.bytebuddy.build.maven.ByteBuddyMojo.ForLifecycleTypes
net.bytebuddy.build.maven.ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithExtendedDependencies
,ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithoutRuntimeDependencies
,ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithRuntimeDependencies
- Enclosing class:
ByteBuddyMojo.ForLifecycleTypes
public abstract static class ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes
extends ByteBuddyMojo.ForLifecycleTypes
A Byte Buddy plugin that transforms a project's production class files.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A Byte Buddy plugin that transforms a project's production class files where all scopes but the test scope are included.static class
A Byte Buddy plugin that transforms a project's production class files where runtime class path elements are not included.static class
A Byte Buddy plugin that transforms a project's production class files where runtime class path elements are included.Nested classes/interfaces inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForLifecycleTypes
ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes, ByteBuddyMojo.ForLifecycleTypes.ForTestTypes
Nested classes/interfaces inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
ByteBuddyMojo.Coordinate, ByteBuddyMojo.ForDependencyFolder, ByteBuddyMojo.ForExplicitLocations, ByteBuddyMojo.ForLifecycleTypes, ByteBuddyMojo.MavenBuildLogger, ByteBuddyMojo.StalenessFilter, ByteBuddyMojo.TransformationLogger, ByteBuddyMojo.Transformer
-
Field Summary
Fields inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForLifecycleTypes
context, incremental
Fields inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
classPathDiscovery, discovery, execution, extendedParsing, failFast, failOnLiveInitializer, initialization, multiReleaseVersion, project, repositorySystem, repositorySystemSession, skip, staleMilliseconds, suffix, threads, transformations, warnOnEmptyTypeSet, warnOnMissingOutputDirectory
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForLifecycleTypes
apply
Methods inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
execute, resolveClassPathElements, transform
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ForProductionTypes
public ForProductionTypes()
-
-
Method Details
-
getOutputDirectory
Description copied from class:ByteBuddyMojo.ForLifecycleTypes
Returns the output directory to search for class files.- Specified by:
getOutputDirectory
in classByteBuddyMojo.ForLifecycleTypes
- Returns:
- The output directory to search for class files.
-
getSourceDirectory
Description copied from class:ByteBuddyMojo.ForLifecycleTypes
Returns the source directory that determines the class files to process.- Specified by:
getSourceDirectory
in classByteBuddyMojo.ForLifecycleTypes
- Returns:
- The source directory that serves as an input for the transformation.
-