maven2: how to share a plugin configuration between parent and children pom?
问题 I'm trying to reduce copy/pasting in our maven pom files. We have one master pom and many children projects pom inheriting from the master. I want to share a complex plugin definition looking like: <plugins> ... <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artifactId> <configuration> <!-- many xml lines here --> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>assemble</goal> <goal>generate-daemons</goal> <goal>create