Skip to content

[MWRAPPER-141] Use distribution type of existing Maven Wrapper by default #287

@jira-importer

Description

@jira-importer

Nils Breunese opened MWRAPPER-141 and commented

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.


Issue Links:

  • MWRAPPER-135 Provide a reliable way to determine the Maven Wrapper type

Remote Links:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions