Package org.basepom.inline.mojo
Class InlineMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.basepom.inline.mojo.InlineMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="inline",
defaultPhase=PACKAGE,
requiresProject=true,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME)
public final class InlineMojo
extends org.apache.maven.plugin.AbstractMojo
Inlines one or more dependencies of the project, relocated the classes and writes a new artifact.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
boolean
isDependencyIncluded
(org.eclipse.aether.graph.Dependency dependency) void
setAdditionalProcessors
(List<String> processors) void
setExcludes
(List<String> excludes) void
setIncludes
(List<String> includes) void
setInlineDependencies
(List<InlineDependency> inlineDependencies) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
InlineMojo
public InlineMojo()
-
-
Method Details
-
setInlineDependencies
-
setIncludes
-
setExcludes
-
setAdditionalProcessors
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
isDependencyIncluded
public boolean isDependencyIncluded(org.eclipse.aether.graph.Dependency dependency)
-