When solving the maven project build in eclipse, the console displays terminated without any print information

Every time the project built with maven runs AS -->Build..., the console only appears terminated without any print information

1. The first solution is to use the embedded maven in the maven runtime


In this way, the maven project can run, and the console will also have print information, but this is not very good, and the maven configured by itself is not used.

2. Use this method to solve the problem perfectly

This method can solve the problem perfectly, but maven in eclipse must be configured first. For the installation configuration of maven in eclipse, see the blog post I wrote before.


In this way, the default parameters are configured with the JVM, and you can use your own maven directly, so that you can choose your own maven in the maven runtime when building a Maven project.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325496509&siteId=291194637