java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.iip_ecosphere.platform.tools.maven.dependencies.CopyArtifacts
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="copy-artifacts", threadSafe=true, defaultPhase=PACKAGE) public class CopyArtifacts extends org.apache.maven.plugin.AbstractMojo
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
    private org.apache.maven.project.MavenProject
     
    private boolean
     
    private File
     

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CopyArtifacts(org.apache.maven.project.MavenProject project)
    Creates a mojo instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • skip

      @Parameter(required=false) private boolean skip
    • asTest

      @Parameter(required=false) private boolean asTest
    • targetDirectory

      @Parameter(defaultValue="${project.build.directory}", readonly=true) private File targetDirectory
    • project

      private org.apache.maven.project.MavenProject project
  • Constructor Details

    • CopyArtifacts

      @Inject protected CopyArtifacts(org.apache.maven.project.MavenProject project)
      Creates a mojo instance.
      Parameters:
      project - the project instance
  • Method Details

    • execute

      public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException