|
I checked out the latest version from svn and it works. BTW: When i enable the Include Modules feature from the maven container, the class Maven2Builder gets a NPE in line 103. We still going to need a test project to reproduce that.
Thomas, thanks fro the test case. I've been able to reproduce this issue. In 0.0.11 release you'll see error like Jason, it looks like our custom resolver don't update some info in the pluginCollector instance. See stack trace below. Can you please tell me what can we do about this? java.lang.IllegalStateException: The PluginDescriptor for the plugin org.maven.ide.eclipse.projects: Hi, You can find a sample of failing POM bellow : I have a message : fail to resolve extension plugin. Sébastien, I really don't want us to guess what you have been doing. Can you please provide step by step instructions and specify when exactly you have that fail message. It would be much easier for use to work with small self-contained test project then trying to extract relevant pieces and resolve missing artifacts in your real projects. Thanks. To clarify, m2eclipse does not resolve maven plugins from Eclipse workspace. Because extension plugins are essential for maven projects, maven fails processing pom.xml if it cannot resolve any of the extension plugins. Current workaround is to install the plugin into your local maven repository. Sébastien, please note that this issue is only about Maven plugins that code is in Eclipse Workspace. Currently those excplicitly disabled for resolving from Workspace and they always resolved from local or remote Maven repositories (hence plugins need to be deployed there). So, the project you've attached is showing a completely unrelated issue. Please open separate jira issue for this. Note that root cause there is related to embedded Maven can't download flex-compiler-mojo from any repository. If you run maven build from the command line and then close and reopen your project in Eclipse, it will work. Also note that you need to specify both <repository> and <pluginRepository>. Workspace resolution of extensions plugins should work now. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Please attach sample project that would allow us to reproduce this issue. Thanks.