Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3063

mvn home ending with "\" fails mvn execution

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: PC, OS: Windows 2000

      Steps to reproduce:
      1. Configure MAVEN_HOME with an "\" at the end
      2. build a freestyle project with a maven step

      expected: normal build

      result: failure

      [workspace] $ C:\maven-2\bin\mvn.bat install
      Usage: java [-options] class [args...]
      (to execute a class)
      or java [-options] -jar jarfile [args...]
      (to execute a jar file)

      where options include:
      -client to select the "client" VM
      -server to select the "server" VM
      -hotspot is a synonym for the "client" VM [deprecated]
      The default VM is client.

      -cp <class search path of directories and zip/jar files>
      -classpath <class search path of directories and zip/jar files>
      A ; separated list of directories, JAR archives,
      and ZIP archives to search for class files.
      -D<name>=<value>
      set a system property
      -verbose[:class|gc|jni]
      enable verbose output
      -version print product version and exit
      -showversion print product version and continue
      -? -help print this help message
      -X print help on non-standard options
      -ea[:<packagename>...|:<classname>]
      -enableassertions[:<packagename>...|:<classname>]
      enable assertions
      -da[:<packagename>...|:<classname>]
      -disableassertions[:<packagename>...|:<classname>]
      disable assertions
      -esa | -enablesystemassertions
      enable system assertions
      -dsa | -disablesystemassertions
      disable system assertions
      finished: FAILURE

      OS: Win2000 SP3 32Bit, Hudson 1.282, Maven 2.0.9, Java 1.6.0_12

          [JENKINS-3063] mvn home ending with "\" fails mvn execution

          There are no comments yet on this issue.

            Unassigned Unassigned
            skybird Florian Rosenauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: