Package net.bytebuddy.build.maven
Class ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies
- 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.WithoutRuntimeDependencies
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Enclosing class:
- ByteBuddyMojo.ForProductionTypes
@Mojo(name="transform", defaultPhase=PROCESS_CLASSES, threadSafe=true, requiresDependencyResolution=COMPILE) public static class ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies extends ByteBuddyMojo.ForProductionTypesA 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.ForProductionTypes
ByteBuddyMojo.ForProductionTypes.WithExtendedDependencies, ByteBuddyMojo.ForProductionTypes.WithoutRuntimeDependencies, ByteBuddyMojo.ForProductionTypes.WithRuntimeDependencies
-
Nested classes/interfaces inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
ByteBuddyMojo.Coordinate, ByteBuddyMojo.ForProductionTypes, ByteBuddyMojo.ForTestTypes, ByteBuddyMojo.MavenBuildLogger, ByteBuddyMojo.StalenessFilter, ByteBuddyMojo.TransformationLogger, ByteBuddyMojo.Transformer
-
-
Field Summary
-
Fields inherited from class net.bytebuddy.build.maven.ByteBuddyMojo
classPathDiscovery, context, discovery, execution, extendedParsing, failFast, failOnLiveInitializer, incremental, initialization, project, repositorySystem, repositorySystemSession, skip, staleMilliseconds, suffix, threads, transformations, warnOnEmptyTypeSet, warnOnMissingOutputDirectory
-
-
Constructor Summary
Constructors Constructor Description WithoutRuntimeDependencies()
-
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.MojoFailureExceptionDescription copied from class:ByteBuddyMojoReturns the class path elements of the relevant output directory.- Specified by:
getClassPathElementsin classByteBuddyMojo- Returns:
- The class path elements of the relevant output directory.
- Throws:
org.apache.maven.plugin.MojoFailureException- If the class path cannot be resolved.
-
-