random-maven / flatten-maven-plugin

Simplify maven project descriptor for artifact deployment
https://random-maven.github.io/flatten-maven-plugin/flatten-mojo.html
Other
9 stars 5 forks source link

pom.xml build member #6

Closed mordex007 closed 5 years ago

mordex007 commented 6 years ago

Is there an option (or specific set of configs) to include build member with childs pluginManagement and plugins (and to add only those, defined in current pom.xml) during flatten action? I need this option because of the maven multimodule configuration. This can be achieved by flatten-maven-plugin from mojohaus but has other disadvantages.

Andrei-Pozolotin commented 5 years ago
  1. the semantics of random-maven/flatten-maven-plugin is to remove only, not to add
  2. of course, both parent and child entries can be removed
  3. if parent and child removal must be different, that can be controlled by profiles