Package org.apache.maven.plugins.wrapper
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 inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
determineRepoUrl
(String envRepoUrl, org.apache.maven.settings.Settings settings) void
execute()
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
DEFAULT_REPOURL
- See Also:
-
-
Constructor Details
-
WrapperMojo
public WrapperMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
determineRepoUrl
-