Package net.bytebuddy.build.maven
Class ByteBuddyMojo.ForExplicitLocations.WithExtendedDependencies
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.bytebuddy.build.maven.ByteBuddyMojo
net.bytebuddy.build.maven.ByteBuddyMojo.ForExplicitLocations
net.bytebuddy.build.maven.ByteBuddyMojo.ForExplicitLocations.WithExtendedDependencies
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Enclosing class:
ByteBuddyMojo.ForExplicitLocations
@Mojo(name="transform-location-extended",
defaultPhase=PROCESS_CLASSES,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public static class ByteBuddyMojo.ForExplicitLocations.WithExtendedDependencies
extends ByteBuddyMojo.ForExplicitLocations
Transforms specified classes from files in a folder or a jar file to a folder or jar file. Additionally, all class path dependencies
will be made visible during plugin application, including any non-test dependencies.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForExplicitLocations
ByteBuddyMojo.ForExplicitLocations.ForTestTypes, ByteBuddyMojo.ForExplicitLocations.WithExtendedDependencies, ByteBuddyMojo.ForExplicitLocations.WithoutRuntimeDependencies, ByteBuddyMojo.ForExplicitLocations.WithRuntimeDependencies
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.ForExplicitLocations
dependencies, source, target
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 TypeMethodDescriptionResolves any implicit dependencies that should be added to the class path.Methods inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForExplicitLocations
apply, resolveClassPathElements
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
-
WithExtendedDependencies
public WithExtendedDependencies()
-
-
Method Details
-
resolveImplicitClassPathElements
Description copied from class:ByteBuddyMojo.ForExplicitLocations
Resolves any implicit dependencies that should be added to the class path.- Overrides:
resolveImplicitClassPathElements
in classByteBuddyMojo.ForExplicitLocations
- Returns:
- The class path elements of the relevant output directory.
-