[ https://issues.apache.org/jira/browse/MWRAPPER-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506355#comment-17506355 ]
ASF GitHub Bot commented on MWRAPPER-23: ---------------------------------------- gzm55 commented on pull request #28: URL: https://github.com/apache/maven-wrapper/pull/28#issuecomment-1067071379 > The "naming" of maven.user.home might or might not be correct, that could be debated, it was borrowed from [gradle](https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home) and the previous wrapper was already using it. yes, that's the gradle pattern, not maven. In maven, some paths are fixed or only configure via cli options, such as ~/.m2/{settings.xml, toolchainx.xml}, $basedir/.mvn/{extensions.xml, maven.config, jvm.config}. whereas `maven.repo.local` is a configurable location, normally set via ~/.m2/settings.xml or the well-defined property. That is, the configuration locations are almost fixed, and data storage are configurable. To follow this convention, how about provide a property `maven.distro.local`, default to `${user.home}/.m2/wrapper/dists`? -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org > in maven-wrapper, maven user home is not consistent with maven core > ------------------------------------------------------------------- > > Key: MWRAPPER-23 > URL: https://issues.apache.org/jira/browse/MWRAPPER-23 > Project: Maven Wrapper > Issue Type: Improvement > Components: Maven Wrapper Jar > Reporter: James Z.M. Gao > Assignee: Robert Scholte > Priority: Minor > > New maven wrapper guesses the maven user home location via system props, > system envs > and at last the default location (~/.m2). This guessing order is the > convention of the gradle wrapper. > For maven, user home has a fixed location, i.e. ~/.m2, described > [here|https://maven.apache.org/settings.html#Settings_Details] -- This message was sent by Atlassian Jira (v8.20.1#820001)