Package net.bytebuddy.build.maven
Class ByteBuddyMojo.ForProductionTypes.WithRuntimeDependencies
- 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.WithRuntimeDependencies
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Enclosing class:
- ByteBuddyMojo.ForProductionTypes
@Mojo(name="transform-runtime", defaultPhase=PROCESS_CLASSES, threadSafe=true, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public static class ByteBuddyMojo.ForProductionTypes.WithRuntimeDependencies extends ByteBuddyMojo.ForProductionTypes
A Byte Buddy plugin that transforms a project's production class files where runtime class path elements are included.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.bytebuddy.build.maven.ByteBuddyMojo.ForProductionTypes
ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies, ByteBuddyMojo.ForProductionTypes.WithRuntimeDependencies
-
Nested classes/interfaces inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
ByteBuddyMojo.ForProductionTypes, ByteBuddyMojo.ForTestTypes, ByteBuddyMojo.MavenBuildLogger, ByteBuddyMojo.TransformationLogger, ByteBuddyMojo.Transformer
-
-
Field Summary
-
Fields inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
context, discovery, extendedParsing, failFast, failOnLiveInitializer, incremental, initialization, project, repositorySystem, repositorySystemSession, skip, suffix, threads, transformations, warnOnEmptyTypeSet, warnOnMissingOutputDirectory
-
-
Constructor Summary
Constructors Constructor Description WithRuntimeDependencies()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>
getClassPathElements()
Returns 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
-
-
-
-
Method Detail
-
getClassPathElements
protected java.util.List<java.lang.String> getClassPathElements() throws org.apache.maven.plugin.MojoFailureException
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.
-
-