Package net.bytebuddy.build.maven
Class Initialization
java.lang.Object
net.bytebuddy.build.maven.CoordinateConfiguration
net.bytebuddy.build.maven.Initialization
Defines a configuration for a Maven build's type transformation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe fully-qualified name of the entry point or any constant name ofEntryPoint.Default
.boolean
If validation should be disabled for the entry point.Fields inherited from class net.bytebuddy.build.maven.CoordinateConfiguration
artifactId, groupId, packaging, version
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntryPoint
(ClassLoaderResolver classLoaderResolver, String groupId, String artifactId, String version, String packaging) Resolves the described entry point.Methods inherited from class net.bytebuddy.build.maven.CoordinateConfiguration
asCoordinate, getArtifactId, getGroupId, getPackaging, getVersion
-
Field Details
-
entryPoint
The fully-qualified name of the entry point or any constant name ofEntryPoint.Default
. -
validated
public boolean validatedIf validation should be disabled for the entry point.
-
-
Constructor Details
-
Initialization
public Initialization()Creates a new initialization configuration.
-
-
Method Details
-
getEntryPoint
public EntryPoint getEntryPoint(ClassLoaderResolver classLoaderResolver, String groupId, String artifactId, String version, String packaging) throws org.apache.maven.plugin.MojoExecutionException Resolves the described entry point.- Parameters:
classLoaderResolver
- The class loader resolved to use.groupId
- This project's group id.artifactId
- This project's artifact id.version
- This project's version id.packaging
- This project's packaging- Returns:
- The resolved entry point.
- Throws:
org.apache.maven.plugin.MojoExecutionException
- If the entry point cannot be created.
-