简体   繁体   English

Eclipse Indigo 在安装 m2e-wtp 插件时遇到问题

[英]Eclipse Indigo having problems installing m2e-wtp plugin

I want to install in my eclipse Indigo the plugin m2e-wtp, that allow maven to build .war files.我想在我的 eclipse Indigo 中安装插件 m2e-wtp,它允许 maven 构建 .war 文件。

I tried the using the market place and also the Install software option, but what I get is this:我尝试使用市场和安装软件选项,但我得到的是:

在此处输入图片说明

In the website https://www.eclipse.org/m2e-wtp/download/ I see a message that says:在网站https://www.eclipse.org/m2e-wtp/download/ 中,我看到一条消息:

Please note that, m2e-wtp and Sonatype's m2eclipse-wtp overlap and can not be installed together.请注意,m2e-wtp 和 Sonatype 的 m2eclipse-wtp 重叠,不能安装在一起。

But I don't understand if is this my case.但我不明白这是不是我的情况。 I checked my installed plugins, and I don't see Sonatype mentioned anywhere, see this image of my m2e installed plugins:我检查了我安装的插件,我没有看到任何地方提到 Sonatype,请看我的 m2e 安装插件的这张图片:

在此处输入图片说明

I thought that maybe it was already installed so I tried to import a maven project that requires this plugin from an svn location and also from my local workspace, but it didn't work:我想可能它已经安装了,所以我尝试从 svn 位置和我的本地工作区导入一个需要这个插件的 Maven 项目,但它没有工作:

在此处输入图片说明

What is missing in my eclipse, why I cant projects that require the m2e-wtp plugin?我的 Eclipse 中缺少什么,为什么我不能进行需要 m2e-wtp 插件的项目?

You are not seeing the plugin in your installed plugins because installation failed:您没有在已安装的插件中​​看到该插件,因为安装失败:

The m2eclipse-wtp project has moved to the Eclipse Foundation. m2eclipse-wtp 项目已转移到 Eclipse 基金会。 The m2eclipse-wtp plugin is now deprecated in favor of the newer m2e-wtp m2eclipse-wtp 插件现已弃用,取而代之的是较新的 m2e-wtp

Automatic installation from the marketplace has been suspended .从市场自动安装已暂停 m2eclipse-wtp 0.15.3 can be manually installed from http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/ m2eclipse-wtp 0.15.3 可以从http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/手动安装

From: http://marketplace.eclipse.org/content/maven-integration-eclipse-wtp来自: http : //marketplace.eclipse.org/content/maven-integration-eclipse-wtp

You should install m2e-wtp through Eclipse Marketplace.您应该通过 Eclipse Marketplace 安装m2e-wtp Just be careful to actully install m2e-wtp and not m2eclipse-wtp (simply search for "m2e-wtp" as some searches actually bring up the old m2eclipse-wtp plugin).请小心实际安装 m2e m2e-wtp而不是m2eclipse-wtp (只需搜索“m2e-wtp”,因为某些搜索实际上会显示旧的 m2eclipse-wtp 插件)。 The m2e plugins have groupId of org.eclipse.m2e . m2e 插件的 groupId 为org.eclipse.m2e

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

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