maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martynas Jusevičius (Jira) <j...@apache.org>
Subject [jira] [Commented] (MNG-5830) maven.multiModuleProjectDirectory system propery is not set
Date Fri, 01 Nov 2019 21:45:00 GMT

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

Martynas Jusevičius commented on MNG-5830:
------------------------------------------

Happens to me after I tried upgrading Maven to 3.6.2 using Chocolatey on cmder (Windows 10): https://chocolatey.org/packages/maven#upgrade

> 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
(v8.3.4#803005)

Mime
View raw message