简体   繁体   English

SCM 提供程序不可用 - Maven

[英]SCM Provider not available - Maven

I was trying to materialize apache Camel project in my eclipse environment.我试图在我的 eclipse 环境中实现 apache Camel 项目。 I'm using Maven 3 with Eclipse Galileo and I'm using m2Eclipse plugin.我将 Maven 3 与 Eclipse Galileo 一起使用,我正在使用 m2Eclipse 插件。

I'm consistently getting below error message.我一直收到以下错误消息。 Is this because my Eclipse lacks the SVN plugin to download from SVN repository or there is some problem with maven repository configured for Apache Camel?这是因为我的 Eclipse 缺少可从 SVN 存储库下载的 SVN 插件,还是为 Apache Camel 配置的 maven 存储库存在问题?

3/11/11 9:58:10 PM GMT+05:30: Downloading http://repo1.maven.org/maven2/org/apache/camel/camel-core/2.6.0/camel-core-2.6.0.pom
3/11/11 9:58:10 PM GMT+05:30: Downloaded http://repo1.maven.org/maven2/org/apache/camel/camel-core/2.6.0/camel-core-2.6.0.pom
3/11/11 9:58:13 PM GMT+05:30: Downloading http://repo1.maven.org/maven2/org/apache/camel/camel-parent/2.6.0/camel-parent-2.6.0.pom
3/11/11 9:58:14 PM GMT+05:30: Downloaded http://repo1.maven.org/maven2/org/apache/camel/camel-parent/2.6.0/camel-parent-2.6.0.pom
3/11/11 9:58:16 PM GMT+05:30: Downloading http://repo1.maven.org/maven2/org/apache/camel/camel/2.6.0/camel-2.6.0.pom
3/11/11 9:58:17 PM GMT+05:30: Downloaded http://repo1.maven.org/maven2/org/apache/camel/camel/2.6.0/camel-2.6.0.pom
3/11/11 9:58:18 PM GMT+05:30: camel-core
3/11/11 9:58:18 PM GMT+05:30: Connection: scm:svn:https://svn.apache.org/repos/asf/camel/tags/camel-2.6.0
3/11/11 9:58:18 PM GMT+05:30:        dev: scm:svn:https://svn.apache.org/repos/asf/camel/tags/camel-2.6.0
3/11/11 9:58:18 PM GMT+05:30:        url: http://svn.apache.org/viewvc/camel/tags/camel-2.6.0
3/11/11 9:58:18 PM GMT+05:30:        tag: HEAD
3/11/11 9:58:18 PM GMT+05:30: SCM provider is not available for scm:svn:https://svn.apache.org/repos/asf/camel/tags/camel-2.6.0
3/11/11 9:58:18 PM GMT+05:30: No Maven projects to import
3/11/11 9:58:18 PM GMT+05:30: Project import completed 0 sec

Maybe your configuration is not complete, take a look at this post .可能你的配置不全,看看这个帖子 Maybe you're missing a Subversion plugin.也许您缺少一个 Subversion 插件。

I was able to add my existing project in Eclipse Workspace folder by doing following steps.通过执行以下步骤,我能够在 Eclipse Workspace 文件夹中添加我现有的项目。

  1. Make sure your project folder (XYZ) is present in your Eclipse Workspace folder.确保您的项目文件夹 (XYZ) 存在于 Eclipse Workspace 文件夹中。 Eg C:/Eclipse/Workspace/XYZ例如 C:/Eclipse/Workspace/XYZ
  2. Go to File -> New -> Project转到文件 -> 新建 -> 项目
  3. Select General -> Project and click Next选择常规 -> 项目,然后单击下一步
  4. A New Project window should appear now现在应该出现一个新项目窗口
  5. Give your project name as your existing project name (eg XYZ)将您的项目名称作为您现有的项目名称(例如 XYZ)
  6. Keep 'Use Default Location' checked (No changes)保持选中“使用默认位置”(无更改)
  7. Click on Finish button点击完成按钮
  8. Now you should see the XYZ project opened in Project Explorer with all project files shown under it.现在您应该看到在项目资源管理器中打开的 XYZ 项目,其下显示了所有项目文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM