Maven 中构建的基本命令行
Base command line for builds in Maven
我在 Eclipse 中使用 apache maven 版本 3.5.0。我对这个错误有疑问 - "org.apache.maven.plugins:maven-eclipse-plugin:2.10:eclipse"。我猜它是由 Preferences->Anypoint Studio->Maven->Base command line for builds 中的错误命令造成的。现在,我有命令 - "mvn eclipse:clean eclipse:eclipse -Dwtpversion=2.0".
maven-eclipse-plugin 已弃用,不应使用。实际上,它可能会破坏您的项目。
较新的 Eclipse 版本(如 Mars、Neon、Oxygen)包含 m2e,它可以为您完成所有 Maven-Eclipse 的魔法。
我在 Eclipse 中使用 apache maven 版本 3.5.0。我对这个错误有疑问 - "org.apache.maven.plugins:maven-eclipse-plugin:2.10:eclipse"。我猜它是由 Preferences->Anypoint Studio->Maven->Base command line for builds 中的错误命令造成的。现在,我有命令 - "mvn eclipse:clean eclipse:eclipse -Dwtpversion=2.0".
maven-eclipse-plugin 已弃用,不应使用。实际上,它可能会破坏您的项目。
较新的 Eclipse 版本(如 Mars、Neon、Oxygen)包含 m2e,它可以为您完成所有 Maven-Eclipse 的魔法。