Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6332

Cleaned up mvn.cmd Script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.2
    • 3.5.3
    • Command Line
    • None

    Description

      Based on the following Stackoverflow quesiton:
      The given label valMHome can be removed. In the following case can be replaced by using{{stripMHome}} instead.

      :chkMHome
      set "MAVEN_HOME=%~dp0.."
      if not "%MAVEN_HOME%"=="" goto valMHome
      goto error
      
      :valMHome
      
      :stripMHome
      

      Attachments

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            khmarbaise Karl Heinz Marbaise
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: