Collapsing parent POM into the child

Posted by Robert Munteanu on Stack Overflow See other posts from Stack Overflow or by Robert Munteanu
Published on 2009-06-04T16:26:33Z Indexed on 2010/05/06 1:08 UTC
Read the original article Hit count: 275

Filed under:
|

Given a maven project with a parent POM - including mostly plugin and dependency versions - how can I generate a POM which takes the information from the parent, places it into the child and removes the reference to the parent?

Ideally this would be done with the maven-assembly-plugin.


Update: I need this done automatically, since manually it's boring and tedious.

Update 2: I'm preparing the source code for an external and want to deliver only one project, not the whole family.

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about pom