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.
  • Constructor Details

    • InlineMojo

      public InlineMojo()
  • Method Details

    • setInlineDependencies

      public void setInlineDependencies(List<InlineDependency> inlineDependencies)
    • setIncludes

      public void setIncludes(List<ArtifactIdentifier> includes)
    • setExcludes

      public void setExcludes(List<ArtifactIdentifier> excludes)
    • setAdditionalProcessors

      public void setAdditionalProcessors(List<String> processors)
    • 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)