How well does m2eclipse work with maven plugins?

Overall, how well does m2eclipse work with Maven plugins that change or change the phases of the life cycle?

In particular, I have a project with the extension maven-clean-plugin to remove an additional generated directory (not in target/) using the tag of a set of configuration files. This works when running mvn on the command line, but not when performing cleanup in Eclipse. Is there a way to get m2eclipse to handle this plugin?

Another example is flexmojos; There are many features that can be configured using the flexmojo plugin, but these options do not seem to be imported using m2eclipse.

Is integration exclusively ad-hoc? If m2eclipse implements Maven, why plugins cannot be executed directly using the basic pom.xml configuration?

+3
source share
1 answer

Overall, how well does m2eclipse work with Maven plugins that change or change the phases of the life cycle?

Worthy of my experience. At least for the phase-related plugin from the default life cycle .

In particular, I have a project with the extension maven-clean-plugin (...). This works when running mvn on the command line, but not when performing cleanup in Eclipse. Is there a way to get m2eclipse to handle this plugin?

"" ( mvn clean Eclipse? Project > Clean?) - , . , , MNGECLIPSE-823 MNGECLIPSE-156. :)

flexmojos; , flexmojo, , , m2eclipse.

flex, . .

0

Source: https://habr.com/ru/post/1766463/


All Articles