| |
| <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> |
| <id>bin</id> |
| <formats> |
| <format>dir</format> |
| </formats> |
| <includeBaseDirectory>false</includeBaseDirectory> |
| <moduleSets> |
| <moduleSet> |
| <!-- This is the key to this configuration --> |
| <useAllReactorProjects>true</useAllReactorProjects> |
| |
| <includes> |
| <include>org.test:child1</include> |
| <include>org.test:child3</include> |
| </includes> |
| <binaries> |
| <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping> |
| <outputDirectory>lib</outputDirectory> |
| <includeDependencies>true</includeDependencies> |
| <unpack>false</unpack> |
| </binaries> |
| </moduleSet> |
| </moduleSets> |
| </assembly> |