[ https://issues.apache.org/jira/browse/MWRAPPER-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654023#comment-17654023 ]
Michael Osipov edited comment on MWRAPPER-86 at 1/3/23 2:17 PM: ---------------------------------------------------------------- Which problem do you experience? According to RFC 3986 this is valid. was (Author: michael-o): Which problem do you experience, according to RFC 3986 this is valid. > Trim trailing slash in Repo URL > ------------------------------- > > Key: MWRAPPER-86 > URL: https://issues.apache.org/jira/browse/MWRAPPER-86 > Project: Maven Wrapper > Issue Type: Bug > Components: Maven Wrapper Plugin > Affects Versions: 3.1.1 > Reporter: Björn Michael > Priority: Major > > 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 > {code:java} > 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{code} > This also occurs when mirror * URL ends with trailing slash. -- This message was sent by Atlassian Jira (v8.20.10#820010)