[ 
http://issues.ops4j.org/browse/PAXRUNNER-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045#action_13045
 ] 

Alin Dreghiciu commented on PAXRUNNER-317:
------------------------------------------

Looks to me more like a m2e rather then pax runner so I do not know what can we 
do about.

> Maven build crashes in Eclipse
> ------------------------------
>
>                 Key: PAXRUNNER-317
>                 URL: http://issues.ops4j.org/browse/PAXRUNNER-317
>             Project: Pax Runner
>          Issue Type: Bug
>          Components: eclipse plugin
>         Environment: Eclipse 3.5, Maven 0.99 
>            Reporter: Patrick Baumgartner
>            Assignee: Alin Dreghiciu
>
> Since i installed the latest build of the m2eclipse maven plugin and running 
> a maven package/install from the context menu in eclipse i get the following 
> stacktrace:
> Exception in thread "main" java.lang.NoSuchMethodError: 
> org.apache.maven.project.MavenProject.addPlugin(Lorg/apache/maven/model/Plugin;)V
>       at 
> org.ops4j.pax.construct.lifecycle.BundleCompilerMojo.mergeCompilerConfiguration(BundleCompilerMojo.java:102)
>       at 
> org.ops4j.pax.construct.lifecycle.BundleCompilerMojo.execute(BundleCompilerMojo.java:70)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:103)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:477)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:314)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:199)
>       at 
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:460)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:334)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:70)
>       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:597)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Running the same command on the command line, it doesn't crash. It seems 
> maven changed an interface in the newest version.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to