<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> | |
<id>build</id> | |
<includeBaseDirectory>false</includeBaseDirectory> | |
<formats> | |
<format>dir</format> | |
</formats> | |
<fileSets> | |
<fileSet> | |
<directory>${project.basedir}/src/main/resources</directory> | |
<outputDirectory>/</outputDirectory> | |
<includes> | |
<include>logback.xml</include> | |
</includes> | |
</fileSet> | |
<fileSet> | |
<directory>${project.basedir}/src/main/bin</directory> | |
<outputDirectory>/bin</outputDirectory> | |
<includes> | |
<include>**/*</include> | |
</includes> | |
</fileSet> | |
<fileSet> | |
<directory>${project.build.directory}</directory> | |
<outputDirectory>/</outputDirectory> | |
<includes> | |
<include>${project.artifactId}-${project.version}.jar</include> | |
</includes> | |
<excludes> | |
<exclude>Dockerfile</exclude> | |
<exclude>*.sh</exclude> | |
</excludes> | |
</fileSet> | |
</fileSets> | |
</assembly> |