Java – run “MVN package” on “build project” in eclipse
•
Java
I have Maven java project during the solar eclipse I right click the project and select "build project". I want "MVN package" to be called automatically Is it possible?
Solution
Right click on your POM XML and select "run as" – > "Maven build.." And put it into the target: package
As Chris said, M2e is necessary
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码