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

maven.multiModuleProjectDirectory system propery is not set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.3.1, 3.3.3
    • None

    Description

      I have downloaded the newest Maven 3.3.3 and point the M2_HOME to the directory with unpacked Maven. mvn -v produces following error (whereas the versions prior to 3.1.1 worked correctly)

      kso@lenovo:/tmp$ export M2_HOME=/home/kso/work/pde/dev/maven/apache-maven-3.3.3/
      kso@lenovo:/tmp$ mvn -v
      -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.kso@lenovo:/tmp$ 
      
      

      The same problem when I want to build any maven project.

      Below the same output with Maven 3.2.5 to give you informations about my environment

      kso@lenovo:/tmp$ export M2_HOME=/home/kso/work/pde/dev/maven/apache-maven-3.2.5/
      kso@lenovo:/tmp$ mvn -v
      Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00)
      Maven home: /home/kso/work/pde/dev/maven/apache-maven-3.2.5
      Java version: 1.7.0_71, vendor: Oracle Corporation
      Java home: /home/kso/work/pde/run/jvm/jdk1.7.0_71/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "3.16.0-38-generic", arch: "amd64", family: "unix"
      
      

      Attachments

        Activity

          People

            schulte77 Christian Schulte
            sobkowiak Krzysztof Sobkowiak
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: