Class ByteBuddyMojo.ForExplicitLocations.WithoutRuntimeDependencies
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.WithoutRuntimeDependencies
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Enclosing class:
ByteBuddyMojo.ForExplicitLocations
@Mojo(name="transform-location",
defaultPhase=PROCESS_CLASSES,
threadSafe=true,
requiresDependencyResolution=COMPILE)
public static class ByteBuddyMojo.ForExplicitLocations.WithoutRuntimeDependencies
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class ByteBuddyMojo.ForExplicitLocations
ByteBuddyMojo.ForExplicitLocations.ForTestTypes, ByteBuddyMojo.ForExplicitLocations.WithExtendedDependencies, ByteBuddyMojo.ForExplicitLocations.WithoutRuntimeDependencies, ByteBuddyMojo.ForExplicitLocations.WithRuntimeDependenciesNested classes/interfaces inherited from class ByteBuddyMojo
ByteBuddyMojo.Coordinate, ByteBuddyMojo.ForDependencyFolder, ByteBuddyMojo.ForExplicitLocations, ByteBuddyMojo.ForLifecycleTypes, ByteBuddyMojo.MavenBuildLogger, ByteBuddyMojo.StalenessFilter, ByteBuddyMojo.TransformationLogger, ByteBuddyMojo.Transformer -
Field Summary
Fields inherited from class ByteBuddyMojo.ForExplicitLocations
dependencies, source, targetFields inherited from class ByteBuddyMojo
classPathDiscovery, discovery, execution, extendedParsing, failFast, failOnLiveInitializer, initialization, multiReleaseVersion, project, repositorySystem, repositorySystemSession, skip, staleMilliseconds, suffix, threads, transformations, warnOnEmptyTypeSet, warnOnMissingOutputDirectoryFields 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 ByteBuddyMojo.ForExplicitLocations
apply, resolveClassPathElementsMethods inherited from class ByteBuddyMojo
execute, transformMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
WithoutRuntimeDependencies
public WithoutRuntimeDependencies()
-
-
Method Details
-
resolveImplicitClassPathElements
protected List<String> resolveImplicitClassPathElements() throws org.apache.maven.plugin.MojoFailureExceptionDescription copied from class:ByteBuddyMojo.ForExplicitLocationsResolves any implicit dependencies that should be added to the class path.- Overrides:
resolveImplicitClassPathElementsin classByteBuddyMojo.ForExplicitLocations- Returns:
- The class path elements of the relevant output directory.
- Throws:
org.apache.maven.plugin.MojoFailureException- If the class loader resolution yields a failure.
-