Class UnpackDependenciesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.wix_maven.AbstractWixMojo
com.github.wix_maven.UnpackDependenciesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="unpack-dependencies", requiresDependencyResolution=TEST, defaultPhase=PROCESS_SOURCES, threadSafe=true) public class UnpackDependenciesMojo extends AbstractWixMojo
Goal that unpacks the project dependencies from the repository to a defined location.
  • Constructor Details

    • UnpackDependenciesMojo

      public UnpackDependenciesMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Perform the Mojo action of getting dependencies and unpacking them.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.
    • getExcludes

      public String[] getExcludes()
      Returns:
      Returns a comma separated list of excluded items
    • setExcludes

      public void setExcludes(String excludes)
      Parameters:
      excludes - A comma separated list of items to exclude i.e. **\/*.xml, **\/*.properties
    • getIncludes

      public String[] getIncludes()
      Returns:
      Returns a comma separated list of included items
    • setIncludes

      public void setIncludes(String includes)
      Parameters:
      includes - A comma separated list of items to include i.e. **\/*.xml, **\/*.properties