combiner-maven-plugin
Documentation can be found at: https://jasonmfehr.github.io/combiner-maven-plugin/
Sample pom showing all available configuration options:
<plugin>
<groupId>com.github.jasonmfehr</groupId>
<artifactId>combiner-maven-plugin</artifactId>
<version>latest</version>
<configuration>
<skip>false</skip>
<encoding>UTF-8</encoding>
<combinations>
<combination>
<id>append-files</id>
<inputResources>
<includes>
<include>src/main/resources/file*.txt</include>
</includes>
<excludes>
<exclude>src/main/resources/file-exclude-me.txt</exclude>
</excludes>
</inputResources>
<inputSourceReader>InputReader</inputSourceReader>
<transformers>
<transformer>Transformer1</transformer>
<transformer>Transformer2</transformer>
</transformers>
<combiner>Combiner</combiner>
<outputSourceWriter>OutputWriter</outputSourceWriter>
<outputDestination>output-file.txt</outputDestination>
<settings>
<key1>value1</key1>
<key2>value2</key2>
</settings>
</combination>
</combinations>
</configuration>
<executions>
<execution>
<id>combiner</id>
<goals>
<goal>combine</goal>
</goals>
</execution>
</executions>
</plugin>