【问题标题】:Unable to install sonarqube plugins for eclipse无法为 Eclipse 安装 sonarqube 插件
【发布时间】:2015-09-18 23:28:33
【问题描述】:

我正在尝试在 Windows 上的 Eclipse Luna 中安装 sonarqube 插件。我就是这样做的:

  • 选择Help/Install new software...
  • 选择http://downloads.sonarsource.com/eclipse/eclipse/
  • 选择SonarQube JavaSonarQube ortional connectorsSonarQube Python项目并按Next
  • 经过一番搅动,我得到了一个Install Remediation Page,表明不会安装 Python 分析器。如果我选择Show original error and build my own solution,我会看到以下详细信息:

    Cannot complete the install because one or more required items could not be found.
    Software being installed: SonarQube Python Analyser 3.4.0.20140404-0949-RELEASE (org.sonar.ide.eclipse.pydev.feature.feature.group 3.4.0.20140404-0949-RELEASE)
    Missing requirement: SonarQube Integration for PyDev 3.4.0.20140404-0949-RELEASE (org.sonar.ide.eclipse.pydev 3.4.0.20140404-0949-RELEASE) requires 'bundle org.python.pydev 0.0.0' but it could not be found
    Cannot satisfy dependency:
    From: SonarQube Python Analyser 3.4.0.20140404-0949-RELEASE (org.sonar.ide.eclipse.pydev.feature.feature.group 3.4.0.20140404-0949-RELEASE)
    To: org.sonar.ide.eclipse.pydev [3.4.0.20140404-0949-RELEASE]
    
  • 我回到keep my installation the same and modify the items being installed to be compatible,尝试至少安装Java 部分,然后按Next,然后按Finish

  • 我收到一个Problem occurred 对话框,其中包含以下详细信息:

        An error occurred while collecting items to be installed
        session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
        No repository found containing: org.eclipse.update.feature,org.sonar.ide.eclipse.jdt.feature,3.4.0.20140404-0949-RELEASE
        No repository found containing: osgi.bundle,org.sonar.ide.eclipse.m2e,3.4.0.20140404-0949-RELEASE
        No repository found containing: org.eclipse.update.feature,org.sonar.ide.eclipse.m2e.feature,3.4.0.20140404-0949-RELEASE
    

我做错了什么?

【问题讨论】:

    标签: eclipse plugins sonarqube


    【解决方案1】:

    错误消息的以下部分往往表明您尚未在 Eclipse 中安装 Python 支持:

    requires 'bundle org.python.pydev 0.0.0'
    

    ,如果要安装对 Python SonarQube 分析的支持,则需要此选项。

    【讨论】:

    • 我更担心java部分失败,有什么见解吗?
    • 不是真的,这应该可以正常工作(我实际上不久前在笔记本电脑上安装了该插件,因此可以正常工作)。也许您应该从全新安装 Luna 重新开始。
    猜你喜欢
    • 1970-01-01
    • 2016-02-03
    • 2013-09-08
    • 2010-10-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-20
    相关资源
    最近更新 更多