I want to checkout projects with Maven. However I am unable to setup my Maven configuration with Subclipse due to this error:
我想用Maven检查项目。但是由于这个错误,我无法用Subclipse设置我的Maven配置:
Operation details
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven SCM handler for Subclipse 0.13.0.201303011221 (org.sonatype.m2e.subclipse.feature.feature.group 0.13.0.201303011221)
Missing requirement: Maven SCM Handler for Subclipse 0.13.0.201303011221 (org.sonatype.m2e.subclipse 0.13.0.201303011221) requires 'bundle org.tigris.subversion.subclipse.core [1.6.0,1.9.0)' but it could not be found
Cannot satisfy dependency:
From: Maven SCM handler for Subclipse 0.13.0.201303011221 (org.sonatype.m2e.subclipse.feature.feature.group 0.13.0.201303011221)
To: org.sonatype.m2e.subclipse [0.13.0.201303011221]
Things I have tried
我尝试过的事情
- Uninstalling Subclipse and re-installing
- 卸载Subclipse和重装
- Deleting my Eclipse folder all together and re-installing Using a different workspace
- 将Eclipse文件夹全部删除,然后使用不同的工作区重新安装
- Deleting all tigris folders and jar files including updating features.xml and re-install subclipse
- 删除所有tigris文件夹和jar文件,包括更新特性。xml和重新安装subclipse
More details
更多的细节
Version Information Eclipse Java EE IDE for Web Developers. Version: Kepler Service Release 1 Build id: 20130919-0819
用于Web开发人员的Eclipse Java EE IDE版本信息。版本:开普勒服务版本1构建id: 20130919-0819
My current installed plugins are: Subclipse 1.10.3 SonarQube 3.2.0
我目前安装的插件是:Subclipse 1.10.3 SonarQube 3.2.0
My TortoiseSVN is: TortoiseSVN 1.8.4, Build 24972 - 64 Bit , 2013/11/24 11:15:39 Subversion 1.8.5, -release apr 1.4.8 apr-util 1.5.2 serf 1.3.2 OpenSSL 1.0.1e 11 Feb 2013 zlib 1.2.8
我的玳瑁是:玳瑁1.8.4,建造24972 - 64位,2013年11月24日11:15:39 Subversion 1.8.5, -发布apr 1.4.8 apr-util 1.5.2 serf 1.3.2 OpenSSL 1.0.1e 2013年2月11日zlib 1.2.8
I am also using CollabNet 1.8.5 and that does not work either.
我也在使用CollabNet 1.8.5,它也不起作用。
===
= = =
Downgraded my TortoiseSVN to 1.7.12 which was an older version I had used and I am still getting the same error.
把我的玳瑁降至1.7.12,这是我用过的旧版本,我仍然有同样的错误。
I uninstalled CollabNet SVN 1.8.5 in case it was causing a conflict, but that also did not help.
我卸载了CollabNet SVN 1.8.5,以防发生冲突,但这也没有帮助。
4 个解决方案
#1
47
Install the latest m2eclipse update via url. since subclipse 1.10.x some updates needed to be made.
通过url安装最新的m2eclipse更新。1.10自subclipse。需要做一些更新。
-
In Eclipse, open Help >> Install New Software...
在Eclipse中,打开帮助>>安装新软件…
-
Click Add...
单击Add……
-
For Name: enter m2eclipse Subclipse Integration
名称:输入m2eclipse Subclipse集成。
-
For Location: enter http://download.eclipse.org/technology/m2e/releases/
位置:输入http://download.eclipse.org/technology/m2e/releases/
-
Click Ok, then check Maven SCM Integration and complete the installation (ignore the warning about unsigned content)
单击Ok,然后检查Maven SCM集成并完成安装(忽略关于未签名内容的警告)
-
Restart Eclipse when prompted
重新启动Eclipse时提示
#2
3
The answer is sinmple. The m2e connector version 0.13.x is incompatible with the subclipse version 1.10.x
答案是sinmple。m2e连接器版本0.13。x与1.10.x的subclipse版本不兼容
Solution: Install subclipse servion 1.8.x
解决方案:在1.8.x安装subclipse servion
-
Go to: Help -> Install New Software...
帮助->安装新软件…
-
In Work With: enter : http://subclipse.tigris.org/update_1.8.x
使用:enter: http://subclipse.tigris.org/update_1.8.x
-
Select all and install
选择所有和安装
Now the installation of the m2e connector should work.
现在m2e连接器的安装应该可以工作了。
#3
2
This worked for me: Source: http://www.buluschek.com/?p=292 How to install the SCM connector:
这对我很有效:http://www.buluschek.com/?p=292如何安装SCM连接器:
- Download zip: http://www.buluschek.com/wp-content/uploads/2013/12/org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip
- 下载zip:http://www.buluschek.com/wp-content/uploads/2013/12/org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip
- Unzip the file to an empty folder somewhere, remember that folder
- 将文件解压到某个空文件夹,记住那个文件夹
- In Eclipse:
- Go to Help/Install New Software…
- 去帮助/安装新软件…
- Click “Add…” to add a new site
- 点击“添加…”添加一个新站点
- In the window, click on “Local…” and choose the folder where you unzipped the site before.
- 在窗口中,单击“Local…”并选择之前解压站点的文件夹。
- The result in the Location field should look like file:/C:/theUnzipFolder/
- 位置字段中的结果应该类似于文件:/C:/theUnzipFolder/
- Click OK, choose all available packages to install, and continue the installation as usual
- 单击OK,选择要安装的所有可用包,并像往常一样继续安装
- 在Eclipse中:去帮助/安装新软件……单击“Add…”在窗口中添加新站点,单击“Local…”,然后选择之前解压站点的文件夹。Location字段中的结果应该类似于file:/C:/theUnzipFolder/单击OK,选择要安装的所有可用包,并像往常一样继续安装
#4
-1
Go to http://subclipse.tigris.org/ and use the eclipse drag and drop to install it to eclipse. That fixed it for me. (eclipse Luna 64 bit)
转到http://subclipse.tigris.org/并使用eclipse拖放将其安装到eclipse。这帮我搞定了。(eclipse卢娜64位)
#1
47
Install the latest m2eclipse update via url. since subclipse 1.10.x some updates needed to be made.
通过url安装最新的m2eclipse更新。1.10自subclipse。需要做一些更新。
-
In Eclipse, open Help >> Install New Software...
在Eclipse中,打开帮助>>安装新软件…
-
Click Add...
单击Add……
-
For Name: enter m2eclipse Subclipse Integration
名称:输入m2eclipse Subclipse集成。
-
For Location: enter http://download.eclipse.org/technology/m2e/releases/
位置:输入http://download.eclipse.org/technology/m2e/releases/
-
Click Ok, then check Maven SCM Integration and complete the installation (ignore the warning about unsigned content)
单击Ok,然后检查Maven SCM集成并完成安装(忽略关于未签名内容的警告)
-
Restart Eclipse when prompted
重新启动Eclipse时提示
#2
3
The answer is sinmple. The m2e connector version 0.13.x is incompatible with the subclipse version 1.10.x
答案是sinmple。m2e连接器版本0.13。x与1.10.x的subclipse版本不兼容
Solution: Install subclipse servion 1.8.x
解决方案:在1.8.x安装subclipse servion
-
Go to: Help -> Install New Software...
帮助->安装新软件…
-
In Work With: enter : http://subclipse.tigris.org/update_1.8.x
使用:enter: http://subclipse.tigris.org/update_1.8.x
-
Select all and install
选择所有和安装
Now the installation of the m2e connector should work.
现在m2e连接器的安装应该可以工作了。
#3
2
This worked for me: Source: http://www.buluschek.com/?p=292 How to install the SCM connector:
这对我很有效:http://www.buluschek.com/?p=292如何安装SCM连接器:
- Download zip: http://www.buluschek.com/wp-content/uploads/2013/12/org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip
- 下载zip:http://www.buluschek.com/wp-content/uploads/2013/12/org.sonatype.m2e.subclipse.feature-0.13.0-SNAPSHOT-site.zip
- Unzip the file to an empty folder somewhere, remember that folder
- 将文件解压到某个空文件夹,记住那个文件夹
- In Eclipse:
- Go to Help/Install New Software…
- 去帮助/安装新软件…
- Click “Add…” to add a new site
- 点击“添加…”添加一个新站点
- In the window, click on “Local…” and choose the folder where you unzipped the site before.
- 在窗口中,单击“Local…”并选择之前解压站点的文件夹。
- The result in the Location field should look like file:/C:/theUnzipFolder/
- 位置字段中的结果应该类似于文件:/C:/theUnzipFolder/
- Click OK, choose all available packages to install, and continue the installation as usual
- 单击OK,选择要安装的所有可用包,并像往常一样继续安装
- 在Eclipse中:去帮助/安装新软件……单击“Add…”在窗口中添加新站点,单击“Local…”,然后选择之前解压站点的文件夹。Location字段中的结果应该类似于file:/C:/theUnzipFolder/单击OK,选择要安装的所有可用包,并像往常一样继续安装
#4
-1
Go to http://subclipse.tigris.org/ and use the eclipse drag and drop to install it to eclipse. That fixed it for me. (eclipse Luna 64 bit)
转到http://subclipse.tigris.org/并使用eclipse拖放将其安装到eclipse。这帮我搞定了。(eclipse卢娜64位)