As much as Maven makes it easy to deal with builds, the plethora of XML and the varying life cycles phases can sometimes make it hard to figure out what a build will actually do.
To help with this, I'm happy to make available the Eclipse plugin called the "Maven Inspector". This plugin provides a simple View called "Maven Execution" that presents for a given POM file the phases and associated MOJOs.
Go check it out on http://prapicault.github.com/MavenInspector/ or directly install it from http://prapicault.github.com/MavenInspector/repository
Enjoy!
2 comments:
Thanks. It's pretty nice.
There's just a NPE when switching back to the view:
!ENTRY org.eclipse.ui.workbench 4 2 2012-07-20 12:34:10.390
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at net.rapicault.maveninspector.views.MavenExecutionView.setViewerInput(MavenExecutionView.java:185)
at net.rapicault.maveninspector.views.MavenExecutionView.fillView(MavenExecutionView.java:229)
at net.rapicault.maveninspector.views.MavenExecutionView.access$0(MavenExecutionView.java:223)
at net.rapicault.maveninspector.views.MavenExecutionView$1.partVisible(MavenExecutionView.java:110)
...
A new version of the tool fixing this issue been published in the p2 repo.
Post a Comment