Friday, July 13, 2012

What will Maven do?

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.



Unknown said...

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".
at net.rapicault.maveninspector.views.MavenExecutionView.setViewerInput(
at net.rapicault.maveninspector.views.MavenExecutionView.fillView(
at net.rapicault.maveninspector.views.MavenExecutionView.access$0(
at net.rapicault.maveninspector.views.MavenExecutionView$1.partVisible(

Pascal said...

A new version of the tool fixing this issue been published in the p2 repo.