Maven Reloaded

Announcing the initial release of the Maven Reloaded plugin. The plugin integrates Maven 2 functionality into the IDE by managing dependencies, inter-module relationships, and source roots, and allowing pom execution. The functionality is similar (and in many ways superior) to the m2eclipse plugin for the Eclipse IDE. See http://bryankate.googlepages.com/mavenreloaded for details.

The initial release works for the 5.x series only - I am working on getting 6.0...

- Bryan

7 comments

Hi,

Looking at your page it sounds promising and I tried to install it on my 5.1.2 IDEA copy.

Problem : following isntallation i can't anymore open the Project settings panel, and looking at the log i can see multiple exceptions all dealing with failure to fetch an icon it seems.
Here is one of them

2006-11-13 16:32:54,028 ERROR - ellij.project.impl.ProjectImpl -
java.lang.NullPointerException
at javax.swing.ImageIcon.(Unknown Source) at mavenreloaded.console.LoggerConsole$LogPanel$LoggerStyledDocument.initStyles(LoggerConsole.java:353) at mavenreloaded.console.LoggerConsole$LogPanel$LoggerStyledDocument.(LoggerConsole.java:322) at mavenreloaded.console.LoggerConsole$LogPanel.(LoggerConsole.java:115) at mavenreloaded.console.LoggerConsole.init(LoggerConsole.java:80) at mavenreloaded.console.LoggerConsole.]]>(LoggerConsole.java:69)
at mavenreloaded.MavenReloadedPlugin.createLogConsole(MavenReloadedPlugin.java:141)
at mavenreloaded.MavenReloadedPlugin.projectOpened(MavenReloadedPlugin.java:108)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:218)
at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:245)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:9)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:19)
at com.intellij.openapi.project.impl.ProjectManagerImpl.d(ProjectManagerImpl.java:177)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:274)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:219)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:59)
at com.intellij.ide.RecentProjectsManager$ReopenProjectAction.actionPerformed(RecentProjectsManager.java:5)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:9)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:22)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:258)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:97)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:3)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:56)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:94)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:132)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

0

the problem seems to be the path of the image looked up by the constructor of LoggerConsole.LogPanel

According to the source in google code, the image looked up is

private static final String CLEAR_ICON = "/mitll/intellij/mavenreloaded/images/clear.png";

although the "/mitll/intellij" prefix should probably be removed ?

0

You are correct, and this has been resolved.

0

Hi Bryan,

I think we should combine a forces to bring up one Maven-2 plugin. I am the author of the Maven-2 Integration plugin (http://quebbemann.kicks-ass.net/idea-maven-plugin/)

Please contact me either through this board or directly by email (ralfq@gmx.de)

Take care

Ralf

0

The IDEA 6.x version is available starting with version 6.0.1.

0

Hi Bryan

looks like the plugin won't retrieve resources from a local repository.

doc-http-repository http://foo/share/maven Release repository on Doc default true warn false ]]>

any ideas. fyi, mvn from the command line works fine.

0

I will try it out, but I have success getting dependencies from our local repo. I do not have all these settings, so there might be a bug in the Maven embedder (which is very immature) that only acts up when these settings are present.

Also, can you give me some background information on where this snippet is from? A standalone POM? A submodule POM?

Do you have other repositories (that are not local) in the same POM that are being obeyed?

If you could start an issue on the project site, it might be better to continue this discussion there:

http://code.google.com/p/mavenreloaded/issues/list

- Bryan

0

Please sign in to leave a comment.