Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

IntelliJ Maven System Property

$
0
0

Dear IntelliJ community,

 

When I tried to compile a Maven module I stumbled on an error. The module wouldn't compile and would show the following error:

 

"D:\Windows\Program  Files\Java\jdk1.8.0_40\bin\java" "-Dmaven.home=D:\Windows\Program  Files\Maven" "-Dclassworlds.conf=D:\Windows\Program  Files\Maven\bin\m2.conf" -Didea.launcher.port=7535  "-Didea.launcher.bin.path=D:\Windows\Program Files\IntelliJ\bin"  -Dfile.encoding=UTF-8 -classpath "D:\Windows\Program  Files\Maven\boot\plexus-classworlds-2.5.2.jar;D:\Windows\Program  Files\IntelliJ\lib\idea_rt.jar"  com.intellij.rt.execution.application.AppMain  org.codehaus.classworlds.Launcher -Didea.version=14.0.3 clean package  install
-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
Process finished with exit code 1

 

When  I try to compile the module with the Windows CMD and the "mvn clean  package install" command it works. But when I try to compile the Maven  module with IntelliJ it wouldn't work.

 

With regards,

Julian v.d Berkmortel


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>