Package net.bytebuddy.build.maven
Class ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithoutRuntimeDependencies
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
net.bytebuddy.build.maven.ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithoutRuntimeDependencies
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Enclosing class:
ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes
@Mojo(name="transform",
defaultPhase=PROCESS_CLASSES,
threadSafe=true,
requiresDependencyResolution=COMPILE)
public static class ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithoutRuntimeDependencies
extends ByteBuddyMojo.ForLifecycleTypes.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.ForLifecycleTypes.ForProductionTypes
ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithExtendedDependencies, ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithoutRuntimeDependencies, ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes.WithRuntimeDependencies
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
Modifier and TypeMethodDescriptionresolveClassPathElements
(Map<ByteBuddyMojo.Coordinate, String> coordinates) Resolves the class path elements of the relevant output directory.Methods inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForLifecycleTypes.ForProductionTypes
getOutputDirectory, getSourceDirectory
Methods inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForLifecycleTypes
apply
Methods inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
execute, transform
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
WithoutRuntimeDependencies
public WithoutRuntimeDependencies()
-
-
Method Details
-
resolveClassPathElements
protected List<String> resolveClassPathElements(Map<ByteBuddyMojo.Coordinate, String> coordinates) throws org.apache.maven.plugin.MojoFailureExceptionDescription copied from class:ByteBuddyMojo
Resolves the class path elements of the relevant output directory.- Specified by:
resolveClassPathElements
in classByteBuddyMojo
- Parameters:
coordinates
- Versions for managed dependencies.- Returns:
- The class path elements of the relevant output directory.
- Throws:
org.apache.maven.plugin.MojoFailureException
- If the plugin application raises an error.
-