mirror of https://github.com/apache/maven.git
improve documentation
This commit is contained in:
parent
8784812cf6
commit
a5f1bca9ef
|
@ -28,6 +28,8 @@ import java.nio.file.Path;
|
|||
import java.util.stream.Stream;
|
||||
|
||||
/**
|
||||
* Maven starter, from a provided Maven home directory.
|
||||
*
|
||||
* @author Hans Dockter
|
||||
*/
|
||||
public class BootstrapMainStarter
|
||||
|
|
|
@ -44,6 +44,8 @@ import java.net.URI;
|
|||
import java.nio.file.Path;
|
||||
|
||||
/**
|
||||
* Maven distribution downloader.
|
||||
*
|
||||
* @author Hans Dockter
|
||||
*/
|
||||
public interface Downloader
|
||||
|
|
|
@ -40,6 +40,8 @@ import java.util.zip.ZipFile;
|
|||
|
||||
|
||||
/**
|
||||
* Maven distribution installer, eventually using a {@link Downloader} first.
|
||||
*
|
||||
* @author Hans Dockter
|
||||
*/
|
||||
public class Installer
|
||||
|
|
|
@ -28,6 +28,8 @@ import java.nio.file.Paths;
|
|||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
* Main entry point for the Maven Wrapper, delegating wrapper execution to {@link WrapperExecutor}.
|
||||
*
|
||||
* @author Hans Dockter
|
||||
*/
|
||||
public class MavenWrapperMain
|
||||
|
|
|
@ -28,6 +28,9 @@ import java.nio.file.Path;
|
|||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
* Wrapper executor, running {@link Installer} to get a Maven distribution ready, followed by {@BootstrapMainStarter}
|
||||
* to launch the Maven bootstrap.
|
||||
*
|
||||
* @author Hans Dockter
|
||||
*/
|
||||
public class WrapperExecutor
|
||||
|
|
|
@ -25,6 +25,6 @@
|
|||
|
||||
Maven Wrapper
|
||||
|
||||
Maven Wrapper dowloads Maven distribution if not already in cache, then launches Maven.
|
||||
Maven Wrapper dowloads Maven distribution if not already in cache, installs it, then launches Maven: Maven distributions installed by Maven Wrapper are stored under <<<~/.m2/wrapper/dists>>> by default.
|
||||
|
||||
It is called by {{{../apache-maven-wrapper/}<<<mvnw>>>/<<<mvnw.cmd>>> scripts}} that need to be installed in the project and called instead of <<<mvn>>>/<<<mvn.cmd>>>.
|
||||
Maven Wrapper is called by {{{../apache-maven-wrapper/}<<<mvnw>>>/<<<mvnw.cmd>>> scripts}} that need to be installed in the project source tree and called instead of <<<mvn>>>/<<<mvn.cmd>>>.
|
||||
|
|
Loading…
Reference in New Issue