how to run many maven goals from eclipse in one click

限于喜欢 提交于 2019-12-06 13:42:49

You cannot run goals for multiple projects using m2e. I suggest the following:

  1. If projects are related, bundle them into a parent project and run the deploy goal on the parent project. You will need to tweak the goals that need to run as part of the deploy phase
  2. Use an assembly project that uses artifacts from these 3 projects and creates required assemblies and does the deployment
  3. Write a script (batch or shell) which executes goals for these projects one after the other. This can be run from eclipse as an external command
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!