You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markus Karg (JIRA)" <ji...@apache.org> on 2019/01/07 06:48:00 UTC

[jira] [Commented] (MNG-5830) maven.multiModuleProjectDirectory system propery is not set

    [ https://issues.apache.org/jira/browse/MNG-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735508#comment-16735508 ] 

Markus Karg commented on MNG-5830:
----------------------------------

The Eclipse Foundation has this problem (maven.multiModuleProjectDirectory not getting resolved) with Maven 3.5.4! [~khmarbaise] can you please help us fixing this on our public EF build infrastructure? This is a showstopper for Jakarta EE 8. Would be great, thanks! :)

> maven.multiModuleProjectDirectory system propery is not set
> -----------------------------------------------------------
>
>                 Key: MNG-5830
>                 URL: https://issues.apache.org/jira/browse/MNG-5830
>             Project: Maven
>          Issue Type: Bug
>          Components: Bootstrap &amp; Build, Command Line
>    Affects Versions: 3.3.1, 3.3.3
>            Reporter: Krzysztof Sobkowiak
>            Assignee: Christian Schulte
>            Priority: Major
>              Labels: Linux
>
> 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)
> {code}
> 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$ 
> {code}
> 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
> {code}
> 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"
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)