Skip to content

[MWRAPPER-86] Trim trailing slash in Repo URL #208

@jira-importer

Description

@jira-importer

Björn Michael opened MWRAPPER-86 and commented

If repository URL ends with a trailing slash then the URLs in maven-wrapper.properties contain double slashes.

E.g. MVNW_REPOURL=[https://myrepo.local/] ends up with

distributionUrl=https://myrepo.local//org/apache/maven/apache-maven/3.8.7/apache-maven-3.8.7-bin.zip
wrapperUrl=https://myrepo.local//org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar

This also occurs when mirror * URL ends with trailing slash.


Affects: 3.1.1

Remote Links:

1 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions