1 Star 0 Fork 0

withlogic / m2e-phasesandgoals

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

m2e-phasesandgoals

Fragment for M2E Core UI This extends M2E Core UI with commands related to Phases and Goals.

Show Phases and Goals

Select a Maven project in the IDE and then invoke Project > Phases and Goals command. It shows all the phases and goals in a checkbox tree dialog.

Screenshot

  • You can run the selected goals using the Launch selected goals command.
  • Expand All /Collapse All
  • Use the Log All command to print the tree into the Maven Console.
  • Selecting Phase selects associated goals
  • In Run goals in selection order mode, the goals are added to the set in the order in which they were selected. This allows you to run the goals in any order you like.
  • The dialog is now modeless. This allows multiple invocation on different projects.
  • If there are multiple Maven projects in the workspace, a selector for other project's is shown, thus allowing invoking the Phase and Goals dialog on the selected project.
  • If there is only one maven project in the workspace it is always selected.
  • You can save and delete configurations.
  • Added a simple Maven Build Spy. It shows the success or failure of the goals, the timing and the exception message as a tooltip for failed goals.

Screenshot

You can even use the spy in your Maven builds by:

  • Downloading the Maven Build Spy jar.
  • And then passing the following parameter to your mvn build like so:

> mvn -Dmaven.ext.class.path=path-to/mavenbuildspy.jar ....

Maven enhancement

Ideally this should be available via standard Maven command-line. For example the

mvn help:describe -Dcmd=package

command should be enhanced in terms from listing the actual goals bound to the phases. That way you can list the goals and then invoke them (by including the execution id). And the same mechanism behind the enhancement should/could be used to implement something like:

mvn test-compile pre-integration-test...post-integration-test

That way you can only run all the goals associated with

  • test-compile
  • pre-integration-test
  • integration-test (due to ... )
  • post-integration-test

空文件

简介

暂无描述 展开 收起
Java
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/withlogic/m2e-p.git
git@gitee.com:withlogic/m2e-p.git
withlogic
m2e-p
m2e-phasesandgoals
master

搜索帮助