In the Eclipse Maven project, when run as was executing the MAVEN command, there was no response, and the console did not print the information because there were no parameters, the workaround is as follows:
① Open the Eclipse's Window menu:
② then select the JDK used by the MAVEN project, click the Edit button and the following page appears:
③ a line of code added to the red box with the following code:
-dmaven.multimoduleprojectdirectory= $M 2_home
※the $m2_home here refers to the MAVEN environment variable you are configuring, the value of this environment variable is the installation path of MAVEN on your computer, for example, the value of my environment variable m2_home is D:\software\Maven\ apache-maven-3.5.0 (fill in according to the actual situation)
Okay, now you can run the MAVEN command in Eclipse.
Original link: 77871255
Run maven command in Eclipse No response, console does not print information