Run maven command in Eclipse No response, console does not print information

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.