如何从 Eclipse java 项目中删除 Maven?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19282700/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I remove Maven from a Eclipse java project?
提问by Jeremy Little
Due to being tasked with moving our java builds from a manual build process to Teamcity, I've been checking out IntelliJ, Maven and Ant for builds. Of the 3 due to various reasons, I've decided to go with Ant, however after converting one of the projects to a Maven project, I now cannot 'undo' this action. Finding help anywhere has been pointless as it appears it's popular enough any time someone asks a similar question they get redirected on how to 'continue' using Maven instead.
由于负责将我们的 Java 构建从手动构建过程转移到 Teamcity,我一直在查看 IntelliJ、Maven 和 Ant 进行构建。由于各种原因,在这 3 个中,我决定使用 Ant,但是在将其中一个项目转换为 Maven 项目后,我现在无法“撤消”此操作。在任何地方寻找帮助都是毫无意义的,因为它似乎很受欢迎,只要有人问类似的问题,他们就会被重定向到如何“继续”使用 Maven。
采纳答案by Chris Hinshaw
Right Click Project -> Maven -> Disable Maven Nature
右键项目 -> Maven -> 禁用 Maven Nature