Community
Participate
Working Groups
Build Identifier: 20110301-1815 When I use m2e-cvs to checkout a project as Maven project, ist fails while importing the checked out project with error message An internal error occurred during: "Importing Maven projects". org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I Reproducible: Always Steps to Reproduce: 1. Go to CVS Repository Browser 2. Select project 3. right click "Check out as Maven Project"
Created attachment 200419 [details] screenshot of error message
please attach your eclipse installation configuration details (about-eclipse->installation-detatils->configuration)
Created attachment 200423 [details] eclipse configuration details
Same here. It happens when importing maven projects using 'Existing Maven Projects' and the option 'Hide folders of physically nested modules' is enabled. Version: 1.0.100.201108010903 Stacktrace: ava.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.hideNestedProjectsFromParents(ProjectConfigurationManager.java:179) at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:150) at org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizard$1.doCreateMavenProjects(MavenImportWizard.java:164) at org.eclipse.m2e.core.ui.internal.wizards.AbstractCreateMavenProjectsOperation.run(AbstractCreateMavenProjectsOperation.java:73) at org.eclipse.m2e.core.ui.internal.wizards.MavenImportWizard$3.runInWorkspace(MavenImportWizard.java:249) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Fixed. http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=e322d67bdd77b611c67c7c153f02db1c9909a0a2 As a side note, offending code was there for very long time, so the problem is most likely caused by incompatibility between code compiled against version of osgi framework included in eclipse 3.7 and earlier eclipse version.
Moved to https://github.com/eclipse-m2e/m2e-core/issues/