I can say that this is a root project, but it is a MyEclipse project that is a "Web Project" so maybe that is the issue.  Although, I more thinnk the problem has to do with setting up the Maven Plugin itself.  Any other thoughts?

On 11/2/06, Eugene Kuleshov <[EMAIL PROTECTED]> wrote:
Adam Hardy wrote:
> OK well I got it totally wrong but I often see exception messages
> which bear not relation to the real problem. In this case you could
> just edit the exception message slightly to avoid the method naming.
>
> I read "you must specify a local repository location using the
> >>> setLocalRepositoryDirectory( File ) method." and decided it was an
> internal-style exception message that the developer thought would
> never see the light of day in public.
  As I said, stupid bug. However there is no exception thrown by the
plugin here. All Eclipse stuff and wrapped embedder's own exception that
is saying:

Caused by: java.lang.IllegalArgumentException: When not aligning with a
user install you must specify a local repository location using the
setLocalRepositoryDirectory( File ) method.

  So, nothing to edit in the plugin. I believe few Maven folks screening
this list and hopefully they can use your advise. :-)

  regards,
  Eugene

> Eugene Kuleshov on 03/11/06 00:07, wrote:
>>
>>  I wonder where such advise came from?
>>
>>  This kind of exception is posted to this list few times a week and
>> usually mean that embedder couldn't find folder for local repository,
>> so it fail to initialize plugin. Stupid bug, actually, and can be
>> potentially fixed in the plugin, but I don't feel like spending time
>> on it. So, it is also waiting for new embedder release.
>>
>>  regards,
>>  Eugene
>>
>>
>> Adam Hardy wrote:
>>> I make an educated guess at this one: you are trying to set it up on
>>> a project with subprojects. There's a mention of the maven embedder
>>> in your 'root cause' stacktrace and most people on this list will be
>>> aware now that there's a bug in the maven embedder.
>>>
>>> Try removing the parent project from eclipse and work just with the
>>> subprojects.
>>>
>>>
>>> Adam
>>>
>>> Ronald R. DiFrango on 02/11/06 20:49, wrote:
>>>> [email protected] <mailto:[email protected]>,
>>>>
>>>> I just downloaded and installed the Maven plugin and attempted to
>>>> add a "Maven Nature" to my project and I got an error. Also, when I
>>>> attempted to go the Preferences page for Maven2 and it gave me an
>>>> error and did not allow me to set the repository.  Any thoughts,
>>>> here is the log and found the following:
>>>>
>>>> !ENTRY org.eclipse.osgi 4 0 2006-11-02 15:12:59.687
>>>> !MESSAGE An error occurred while automatically activating bundle
>>>> org.maven.ide.eclipse (915).
>>>> !STACK 0
>>>> org.osgi.framework.BundleException: Exception in
>>>> org.maven.ide.eclipse.Maven2Plugin.start() of bundle
>>>> org.maven.ide.eclipse.
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1014)
>>>>
>>>> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start
>>>> (BundleContextImpl.java:970)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker( BundleHost.java:317)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:86)
>>>>
>>>> at
>>>> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass (ClasspathManager.java:409)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass
>>>> (DefaultClassLoader.java:188)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass (BundleLoader.java:391)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
>>>>
>>>> at
>>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>>>>
>>>> at java.lang.ClassLoader.loadClass (ClassLoader.java:251)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:276)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java :227)
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass
>>>> (AbstractBundle.java:1245)
>>>> at
>>>> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension
>>>> (ExtensionRegistry.java:759)
>>>> at
>>>> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
>>>>
>>>> at
>>>> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension
>>>> (ConfigurationElementHandle.java:51)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242)
>>>>
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>>>> at org.eclipse.ui.internal.WorkbenchPlugin.createExtension
>>>> (WorkbenchPlugin.java:238)
>>>> at
>>>> org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:120)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:225)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
>>>> (ActionContributionItem.java:539)
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
>>>>
>>>> at
>>>> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java
>>>> :400)
>>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>>>> at
>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
>>>> at org.eclipse.swt.widgets.Display.readAndDispatch (Display.java:2968)
>>>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
>>>> at
>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
>>>>
>>>> at
>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>>>> at
>>>> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java
>>>> :95)
>>>> at
>>>> org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:78)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
>>>> (EclipseAppLauncher.java:68)
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:400)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
>>>>
>>>> at java.lang.reflect.Method.invoke (Method.java:585)
>>>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
>>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>>>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>>>> at org.eclipse.core.launcher.Main.main (Main.java:952)
>>>> Caused by: java.lang.IllegalArgumentException: When not aligning
>>>> with a user install you must specify a local repository location
>>>> using the setLocalRepositoryDirectory( File ) method.
>>>> at org.apache.maven.embedder.MavenEmbedder.createMavenSettings
>>>> (MavenEmbedder.java:699)
>>>> at
>>>> org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:628)
>>>> at
>>>> org.maven.ide.eclipse.Maven2Plugin.createEmbedder(Maven2Plugin.java:269)
>>>>
>>>> at org.maven.ide.eclipse.Maven2Plugin.getMavenEmbedder
>>>> ( Maven2Plugin.java:157)
>>>> at
>>>> org.maven.ide.eclipse.Maven2Plugin.executeInEmbedder(Maven2Plugin.java:167)
>>>>
>>>> at org.maven.ide.eclipse.Maven2Plugin.start (Maven2Plugin.java:112)
>>>> at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run
>>>> (BundleContextImpl.java:995)
>>>> at java.security.AccessController.doPrivileged (Native Method)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:989)
>>>>
>>>> ... 48 more
>>>> Root exception:
>>>> java.lang.IllegalArgumentException: When not aligning with a user
>>>> install you must specify a local repository location using the
>>>> setLocalRepositoryDirectory( File ) method.
>>>> at org.apache.maven.embedder.MavenEmbedder.createMavenSettings
>>>> (MavenEmbedder.java:699)
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to