Package net.bytebuddy.build.maven
Class ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.bytebuddy.build.maven.ByteBuddyMojo
net.bytebuddy.build.maven.ByteBuddyMojo.ForProductionTypes
net.bytebuddy.build.maven.ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Enclosing class:
ByteBuddyMojo.ForProductionTypes
@Mojo(name="transform",
defaultPhase=PROCESS_CLASSES,
threadSafe=true,
requiresDependencyResolution=COMPILE)
public static class ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies
extends ByteBuddyMojo.ForProductionTypes
A Byte Buddy plugin that transforms a project's production class files where runtime class
path elements are not included.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForProductionTypes
ByteBuddyMojo.ForProductionTypes.WithExtendedDependencies, ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies, ByteBuddyMojo.ForProductionTypes.WithRuntimeDependencies
Nested classes/interfaces inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
ByteBuddyMojo.Coordinate, ByteBuddyMojo.ForProductionTypes, ByteBuddyMojo.ForTestTypes, ByteBuddyMojo.MavenBuildLogger, ByteBuddyMojo.StalenessFilter, ByteBuddyMojo.TransformationLogger, ByteBuddyMojo.Transformer
-
Field Summary
Fields inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
classPathDiscovery, context, discovery, execution, extendedParsing, failFast, failOnLiveInitializer, incremental, initialization, 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
Modifier and TypeMethodDescriptionReturns the class path elements of the relevant output directory.Methods inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForProductionTypes
getOutputDirectory, getSourceDirectory
Methods inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
execute
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
WithoutRuntimeDependencies
public WithoutRuntimeDependencies()
-
-
Method Details
-
getClassPathElements
Description copied from class:ByteBuddyMojo
Returns the class path elements of the relevant output directory.- Specified by:
getClassPathElements
in classByteBuddyMojo
- Returns:
- The class path elements of the relevant output directory.
- Throws:
org.apache.maven.plugin.MojoFailureException
- If the class path cannot be resolved.
-