#java #eclipse #maven #opendaylight
Вопрос:
У меня в виртуальной коробке Ubuntu 20.04 с Java 11 и Apache Maven 3.6.3. Я скачал реализацию L2switch с GitHub (https://github.com/opendaylight/l2switch). Всякий раз, когда я импортирую его в eclipse, он показывает «Ошибка произошла во время сборки». В разделе сборки это показывает:
Errors occurred during the build.
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'addresstracker-impl'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'addresstracker-model'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'arphandler-impl'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'features-l2switch'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'hosttracker-impl'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'hosttracker-model'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'loopremover-impl'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'loopremover-model'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'main-impl'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'odl-l2switch-addresstracker'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'odl-l2switch-all'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'odl-l2switch-arphandler'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'odl-l2switch-hosttracker'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'odl-l2switch-loopremover'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'odl-l2switch-packethandler'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'odl-l2switch-switch'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'odl-l2switch-switch-rest'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'packethandler-impl'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Errors running builder 'Maven Project Builder' on project 'packethandler-model'.
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
А в разделе Импорт проектов Maven показано-
An internal error occurred during: "Importing Maven projects".
'org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.createMojoExecutionBuildParicipant(org.eclipse.m2e.core.project.IMavenProjectFacade, org.apache.maven.plugin.MojoExecution, org.eclipse.m2e.core.lifecyclemapping.model.IPluginExecutionMetadata)'
Кто-нибудь может, пожалуйста, помочь мне с этим?
Комментарии:
1. Какая это версия Eclipse ?
2. Это версия: 2021-09 (4.21.0)