mirror of
https://github.com/apache/maven.git
synced 2025-02-08 02:59:22 +00:00
improve documentation
This commit is contained in:
parent
8784812cf6
commit
a5f1bca9ef
@ -28,6 +28,8 @@
|
|||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Maven starter, from a provided Maven home directory.
|
||||||
|
*
|
||||||
* @author Hans Dockter
|
* @author Hans Dockter
|
||||||
*/
|
*/
|
||||||
public class BootstrapMainStarter
|
public class BootstrapMainStarter
|
||||||
|
@ -44,6 +44,8 @@
|
|||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Maven distribution downloader.
|
||||||
|
*
|
||||||
* @author Hans Dockter
|
* @author Hans Dockter
|
||||||
*/
|
*/
|
||||||
public interface Downloader
|
public interface Downloader
|
||||||
|
@ -40,6 +40,8 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Maven distribution installer, eventually using a {@link Downloader} first.
|
||||||
|
*
|
||||||
* @author Hans Dockter
|
* @author Hans Dockter
|
||||||
*/
|
*/
|
||||||
public class Installer
|
public class Installer
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Main entry point for the Maven Wrapper, delegating wrapper execution to {@link WrapperExecutor}.
|
||||||
|
*
|
||||||
* @author Hans Dockter
|
* @author Hans Dockter
|
||||||
*/
|
*/
|
||||||
public class MavenWrapperMain
|
public class MavenWrapperMain
|
||||||
|
@ -28,6 +28,9 @@
|
|||||||
import java.util.Properties;
|
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
|
* @author Hans Dockter
|
||||||
*/
|
*/
|
||||||
public class WrapperExecutor
|
public class WrapperExecutor
|
||||||
|
@ -25,6 +25,6 @@
|
|||||||
|
|
||||||
Maven Wrapper
|
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…
x
Reference in New Issue
Block a user