2015-07-01 79 views
0

我试图在Windows上安装Eclipse Luna中的sonarqube插件。这是我做的:无法安装sonarqube plugins for eclipse

  • 选择Help/Install new software...
  • 选择http://downloads.sonarsource.com/eclipse/eclipse/
  • 选择SonarQube JavaSonarQube ortional connectorsSonarQube Python项目并按下Next
  • 一些翻腾,我得到一个Install Remediation Page后,表示thePython分析仪将不会被安装。如果我选择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 
    

我在做什么错?

回答

0

错误消息的下面部分往往告诉你没有在Eclipse安装Python支持:

requires 'bundle org.python.pydev 0.0.0' 

,如果你想为Python SonarQube分析安装支持,这是必需的。

+0

我更关心java部分失败,有什么见解吗? –

+0

不是真的,这应该工作正常(我实际上安装插件不久前在笔记本电脑上,所以这是正常工作)。也许你应该从干净安装的Luna开始。 –