@Mojo(name="transform-dependencies", defaultPhase=PROCESS_CLASSES, threadSafe=true, requiresDependencyResolution=COMPILE) public static class ByteBuddyMojo.ForDependencyFolder extends ByteBuddyMojo
ByteBuddyMojo.Coordinate, ByteBuddyMojo.ForDependencyFolder, ByteBuddyMojo.ForExplicitLocations, ByteBuddyMojo.ForLifecycleTypes, ByteBuddyMojo.MavenBuildLogger, ByteBuddyMojo.StalenessFilter, ByteBuddyMojo.TransformationLogger, ByteBuddyMojo.Transformer| Modifier and Type | Field and Description |
|---|---|
String |
source
The source folder that contains the project's dependencies.
|
String |
target
The target folder that contains the project's dependencies or
null if the source folder should be used. |
classPathDiscovery, discovery, execution, extendedParsing, failFast, failOnLiveInitializer, initialization, multiReleaseVersion, project, repositorySystem, repositorySystemSession, skip, staleMilliseconds, suffix, threads, transformations, warnOnEmptyTypeSet, warnOnMissingOutputDirectory| Constructor and Description |
|---|
ForDependencyFolder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
apply(List<ByteBuddyMojo.Transformer> transformers,
List<String> elements,
Map<ByteBuddyMojo.Coordinate,String> coordinates)
Applies this mojo for the given setup.
|
protected List<String> |
resolveClassPathElements(Map<ByteBuddyMojo.Coordinate,String> coordinates)
Resolves the class path elements of the relevant output directory.
|
execute, transformgetLog, getPluginContext, setLog, setPluginContext@UnknownNull @Parameter(required=true) public String source
@MaybeNull @Parameter(required=false) public String target
null if the source folder should be used.protected List<String> resolveClassPathElements(Map<ByteBuddyMojo.Coordinate,String> coordinates)
ByteBuddyMojoresolveClassPathElements in class ByteBuddyMojocoordinates - Versions for managed dependencies.protected void apply(List<ByteBuddyMojo.Transformer> transformers, List<String> elements, Map<ByteBuddyMojo.Coordinate,String> coordinates) throws MojoExecutionException, MojoFailureException, IOException
ByteBuddyMojoapply in class ByteBuddyMojotransformers - The transformers to apply.elements - The class path elements to consider.coordinates - Versions for managed dependencies.MojoExecutionException - If the plugin fails due to a user error.MojoFailureException - If the plugin fails due to an application error.IOException - If an I/O exception occurs.Copyright © 2014–2025. All rights reserved.