[ https://issues.apache.org/jira/browse/MWRAPPER-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17847468#comment-17847468 ]
ASF GitHub Bot commented on MWRAPPER-141: ----------------------------------------- breun opened a new pull request, #141: URL: https://github.com/apache/maven-wrapper/pull/141 Uses `distributionType` from `.mvn/wrapper/maven-wrapper.properties` by default, when present. https://issues.apache.org/jira/browse/MWRAPPER-141 > Use distribution type of existing Maven Wrapper by default > ---------------------------------------------------------- > > Key: MWRAPPER-141 > URL: https://issues.apache.org/jira/browse/MWRAPPER-141 > Project: Maven Wrapper > Issue Type: Improvement > Components: Maven Wrapper Plugin > Reporter: Nils Breunese > Priority: Major > > It would be great if the {{wrapper:wrapper}} goal would use the type of an > existing Maven Wrapper as the default, because this would allow making > changes to the Maven version or other configuration, without having to > specify the type of the existing Maven Wrapper again. This would be > especially handy when changing (updating) the Maven version, or the Maven > Wrapper version. > This would also avoid accidentally changing the distribution type when a user > forgets to specify the type of the existing Maven Wrapper. > It should still be possible call {{wrapper:wrapper -Dtype=$type}} to > explicitly set a different type for an existing project. > When there is no existing Maven Wrapper, or when it exists but doesn't have > {{distributionType}} set in {{{}maven-wrapper.properties{}}}, then the > default {{only-script}} type should still be used. -- This message was sent by Atlassian Jira (v8.20.10#820010)