Class WrapperMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.wrapper.WrapperMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="wrapper", aggregator=true, requiresProject=false) public class WrapperMojo extends org.apache.maven.plugin.AbstractMojo
Unpacks the maven-wrapper distribution files to the current project source tree.
Since:
3.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     

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

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    determineRepoUrl(String envRepoUrl, org.apache.maven.settings.Settings settings)
     
    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

  • Constructor Details

    • WrapperMojo

      public WrapperMojo()
  • Method Details

    • execute

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

      protected String determineRepoUrl(String envRepoUrl, org.apache.maven.settings.Settings settings)