How to eliminate the “maven-enforcer-plugin (goal ”enforce“) is ignored by m2e” warning by eclipse?

后端 未结 6 1947

I am configuring a multi-module parent child maven project using maven and eclipse m2e, I am using the latest stuff from eclipse Juno SR1 which is m2e 1.2.0

the par

6条回答
  •  渐次进展
    2020-12-23 20:14

    From m2e version 1.4 and higher: You can integrate the needed lifecycle-configuration within the pom (parent-pom or project-pom) or you can integrate the informations into the global m2e-configuration within eclipse. Also you have some quickfix-actions for applying this changes.

    The last option is to look for m2e-connectors or to switch over to newer versions of different maven-plugins with integrated m2e-support (e.g. for jaxb-plugins).

    Here (for enforcer-plugin) I think, the definition in the pom is the easiest way.

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

提交回复
热议问题