takari / maven-wrapper

The easiest way to integrate Maven into your project!
Apache License 2.0
1.59k stars 234 forks source link

Get maven user home (~/.m2) with the same logic with maven #159

Closed gzm55 closed 4 years ago

gzm55 commented 4 years ago

Now wrapper guesses the maven user home location via system props, system envs and at last the default location (~/.m2). This order is the convention of the gradle. For maven, user home has a fixed location, i.e. ~/.m2.

For wrapper, we can still use zipBase and distributionBase to directly custom the location of the downloaded and installed artifacts.

Moved to https://github.com/apache/maven/pull/354

mosabua commented 4 years ago

This project is essentially frozen for development and new efforts are ongoing in the Apache Maven project itself. We therefore close this PR. Please find more information at https://github.com/takari/maven-wrapper#ongoing-migration-to-apache-maven and participate in the development there.