Problems with Maven Plugin

Is anyone currently actively developing the Maven2 Build plugin at all? I keep seeing the following exceptions thrown when opening projects...

Also - it'd be great to set "build in background" as a default option...



Assertion failed: C:/Documents and Settings/Mark Derricutt/IdeaProjects/maventest/ivyconvert/pom.xml
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.localVcs.common.CommonLVCS.getProvidedContent(CommonLVCS.java:288)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.getProvidedContent(VirtualFileManagerImpl.java:109)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.c(VirtualFileImpl.java:206)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:43)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.loadText(LoadTextUtil.java:63)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.getDocument(FileDocumentManagerImpl.java:166)
at de.qu.idea.plugin.maven.action.ActionUtils.addSinglePomToTree(ActionUtils.java:311)
at de.qu.idea.plugin.maven.component.MavenBuildProjectComponent.createPomTree(MavenBuildProjectComponent.java:379)
at de.qu.idea.plugin.maven.component.MavenBuildProjectComponent.projectOpened(MavenBuildProjectComponent.java:488)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:57)
at com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:26)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:1)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:8)
at com.intellij.openapi.project.impl.ProjectManagerImpl.c(ProjectManagerImpl.java:167)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:156)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:225)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:46)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:58)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:0)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:5)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:176)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:55)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:20)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getInfoForDirectory(DirectoryIndexImpl.java:422)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.isInContent(ProjectFileIndexImpl.java:37)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.isInContent(ProjectFileIndexImpl.java:89)
at com.intellij.localVcs.common.CommonLVCS.isUnderVcs(CommonLVCS.java:75)
at com.intellij.localVcs.common.CommonLVCS.getProvidedContent(CommonLVCS.java:241)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.getProvidedContent(VirtualFileManagerImpl.java:109)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.c(VirtualFileImpl.java:206)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:43)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.loadText(LoadTextUtil.java:63)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.getDocument(FileDocumentManagerImpl.java:166)
at de.qu.idea.plugin.maven.action.ActionUtils.addSinglePomToTree(ActionUtils.java:311)
at de.qu.idea.plugin.maven.component.MavenBuildProjectComponent.createPomTree(MavenBuildProjectComponent.java:379)
at de.qu.idea.plugin.maven.component.MavenBuildProjectComponent.projectOpened(MavenBuildProjectComponent.java:488)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:57)
at com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:26)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:1)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:8)
at com.intellij.openapi.project.impl.ProjectManagerImpl.c(ProjectManagerImpl.java:167)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:156)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:225)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:46)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:58)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:0)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:5)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:176)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:55)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:20)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.localVcs.common.CommonLVCS.getProvidedContent(CommonLVCS.java:288)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.getProvidedContent(VirtualFileManagerImpl.java:109)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.c(VirtualFileImpl.java:206)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:43)
at com.intellij.xml.util.XmlUtil.extractXmlEncodingFromProlog(XmlUtil.java:387)
at com.intellij.ide.highlighter.XmlFileType.getCharset(XmlFileType.java:0)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.detectCharset(LoadTextUtil.java:47)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.getTextByBinaryPresentation(LoadTextUtil.java:102)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.getTextByBinaryPresentation(LoadTextUtil.java:8)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.loadText(LoadTextUtil.java:41)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.getDocument(FileDocumentManagerImpl.java:166)
at de.qu.idea.plugin.maven.action.ActionUtils.addSinglePomToTree(ActionUtils.java:311)
at de.qu.idea.plugin.maven.component.MavenBuildProjectComponent.createPomTree(MavenBuildProjectComponent.java:379)
at de.qu.idea.plugin.maven.component.MavenBuildProjectComponent.projectOpened(MavenBuildProjectComponent.java:488)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:57)
at com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:26)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:1)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:8)
at com.intellij.openapi.project.impl.ProjectManagerImpl.c(ProjectManagerImpl.java:167)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:156)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:225)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:46)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:58)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:0)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:5)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:176)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:55)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:20)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getInfoForDirectory(DirectoryIndexImpl.java:422)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.isInContent(ProjectFileIndexImpl.java:37)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.isInContent(ProjectFileIndexImpl.java:89)
at com.intellij.localVcs.common.CommonLVCS.isUnderVcs(CommonLVCS.java:75)
at com.intellij.localVcs.common.CommonLVCS.getProvidedContent(CommonLVCS.java:241)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.getProvidedContent(VirtualFileManagerImpl.java:109)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.c(VirtualFileImpl.java:206)
at com.intellij.openapi.vfs.impl.local.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:43)
at com.intellij.xml.util.XmlUtil.extractXmlEncodingFromProlog(XmlUtil.java:387)
at com.intellij.ide.highlighter.XmlFileType.getCharset(XmlFileType.java:0)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.detectCharset(LoadTextUtil.java:47)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.getTextByBinaryPresentation(LoadTextUtil.java:102)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.getTextByBinaryPresentation(LoadTextUtil.java:8)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.loadText(LoadTextUtil.java:41)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.getDocument(FileDocumentManagerImpl.java:166)
at de.qu.idea.plugin.maven.action.ActionUtils.addSinglePomToTree(ActionUtils.java:311)
at de.qu.idea.plugin.maven.component.MavenBuildProjectComponent.createPomTree(MavenBuildProjectComponent.java:379)
at de.qu.idea.plugin.maven.component.MavenBuildProjectComponent.projectOpened(MavenBuildProjectComponent.java:488)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:57)
at com.intellij.openapi.project.impl.ProjectImpl.access$300(ProjectImpl.java:26)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:1)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:8)
at com.intellij.openapi.project.impl.ProjectManagerImpl.c(ProjectManagerImpl.java:167)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:156)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:225)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:46)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:58)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:0)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:5)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:176)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:55)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:20)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

2 comments

Mark,

I am the Developer of the Maven Build plugin. It is currently moving to Mevenide (http://mevenide.codehaus.org/) and will be merged with the Maven Reloaded plugin. We don't have a release date yet.
Thanks for your input I really appreciate it. I will file your wish "build in background as default" into our issue management system. If you wish to do it by yourself file an issue at http://jira.codehaus.org/browse/MEVENIDE and choose "mevenide2-idea" as component.
We hope to have a separate Jira project for our plugin soon.

Concerning the exception: Is this exception non-recoverable? Do the POMs appear in the Build window?

Thanks & take care

Ralf

Please be patient,

0

Ralf Quebbemann wrote on 08/04/07 01:20:


Concerning the exception: Is this exception non-recoverable? Do the POMs appear in the Build window?


The POMs appear and everything seems to work fine.

0

Please sign in to leave a comment.