Uploaded image for project: 'Maven Wrapper'
  1. Maven Wrapper
  2. MWRAPPER-86

Trim trailing slash in Repo URL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.3.0
    • Maven Wrapper Plugin
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              bmarwell Benjamin Marwell
              mtomcat_daobi Björn Michael
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: