将pom.xml中的目标...永久标记为已忽略 [英] Permanently mark goal ... in pom.xml as ignored

查看:3099
本文介绍了将pom.xml中的目标...永久标记为已忽略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用m2e的eclipse中的Web项目.我在pom.xml中有一个缺少工件的错误,我单击永久标记pom.xml中的目标...为已忽略.发生的事情是它不再从我的存储库中复制jar文件.如何撤消此操作.不知道我做了什么更改后的配置文件或设置文件

I have a web project in eclipse using m2e. I had an error about a missing artifact in pom.xml and I clicked Permanently mark goal ... in pom.xml as ignored. What happened was it no longer copies the jar files from my repository. How do I undo this action. Don't know what configuration file or settings file was changed when I did that

推荐答案

我假设您正在使用m2e v1.1.在此版本中,您可以选择将层次结构中的哪个pom标记为忽略其生命周期映射.如果它不在当前项目的pom中,则它将是父项目之一中的pom.这是正在发生的事情的很好的解释:

I am assuming you are using m2e v1.1. In this version, you can choose which pom in the hierarchy gets marked as having its lifecycle mapping ignored. If it's not in the pom of the current project, it will be a pom in one of the parent projects. Here is a good explanation of what is happening:

https://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html

因此您可以在工作区中所有pom.xml文件中搜索术语pluginManagement的文件,您将找到所需的内容.

So you can do a file search for the term pluginManagement in all your pom.xml files in your workspace and you will find what you are looking for.

这篇关于将pom.xml中的目标...永久标记为已忽略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆