[
https://issues.apache.org/jira/browse/MWRAPPER-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486498#comment-17486498
]
ASF GitHub Bot commented on MWRAPPER-55:
----------------------------------------
jorsol commented on pull request #18:
URL: https://github.com/apache/maven-wrapper/pull/18#issuecomment-1029016603
You need a "local" maven environment first to set up the `mvnw` script
files, that's a one-time process, then later you simply use the wrapper scripts.
In a nutshell, you gain the following benefits:
- Standardizes a project on a given Maven version, leading to more reliable
and robust builds.
- Provisioning a new Maven version to different users and execution
environment (e.g. IDEs or Continuous Integration servers) is as simple as
changing the Wrapper definition.
Maven Wrapper consists of 3 components:
1. [maven-wrapper](https://maven.apache.org/wrapper/maven-wrapper/),
providing the `maven-wrapper.jar` that downloads, installs, and runs target
Maven distribution,
2.
[maven-wrapper-distribution](https://maven.apache.org/wrapper/maven-wrapper-distribution/),
that provides `mvnw`/`mvnw.cmd` scripts distributions,
3.
[maven-wrapper-plugin](https://maven.apache.org/wrapper/maven-wrapper-plugin/),
the wrapper plugin to ease installing Wrapper into a project.
If you don't want to (or can't) use a "local" maven to set up the wrapper,
then you can skip the plugin and manually download and extract the
`wrapper-distribution`, for instance, you can download the `source`
distribution that contains the shell scripts from:
https://repo1.maven.org/maven2/org/apache/maven/wrapper/maven-wrapper-distribution/3.1.0/maven-wrapper-distribution-3.1.0-source.zip
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> add threadSafe = true
> ---------------------
>
> Key: MWRAPPER-55
> URL: https://issues.apache.org/jira/browse/MWRAPPER-55
> Project: Maven Wrapper
> Issue Type: Improvement
> Reporter: Jin Xu
> Priority: Minor
>
> to make it not warn when run maven maven parallel build.
> https://github.com/apache/maven-wrapper/pull/18
--
This message was sent by Atlassian Jira
(v8.20.1#820001)