47 lines
1.8 KiB
XML
47 lines
1.8 KiB
XML
|
<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>plugin</id>
|
||
|
<formats>
|
||
|
<format>tar.gz</format>
|
||
|
<format>zip</format>
|
||
|
</formats>
|
||
|
<includeBaseDirectory>false</includeBaseDirectory>
|
||
|
<dependencySets>
|
||
|
<dependencySet>
|
||
|
<outputDirectory>${project.artifactId}</outputDirectory>
|
||
|
<unpack>false</unpack>
|
||
|
<scope>runtime</scope>
|
||
|
<useProjectArtifact>false</useProjectArtifact>
|
||
|
<excludes>
|
||
|
<!-- Exclude all Kafka APIs and their dependencies, since they will be available in the runtime -->
|
||
|
<exclude>org.apache.kafka:*</exclude>
|
||
|
<exclude>org.xerial.snappy:*</exclude>
|
||
|
<exclude>net.jpountz.lz4:*</exclude>
|
||
|
</excludes>
|
||
|
</dependencySet>
|
||
|
<dependencySet>
|
||
|
<outputDirectory>${project.artifactId}</outputDirectory>
|
||
|
<unpack>false</unpack>
|
||
|
<includes>
|
||
|
<include>${project.groupId}:${project.artifactId}:*</include>
|
||
|
</includes>
|
||
|
</dependencySet>
|
||
|
</dependencySets>
|
||
|
<fileSets>
|
||
|
<fileSet>
|
||
|
<!-- Get the files from the top-level directory, which should be above the connectors -->
|
||
|
<directory>${project.basedir}/..</directory>
|
||
|
<outputDirectory>${project.artifactId}</outputDirectory>
|
||
|
<includes>
|
||
|
<include>README*</include>
|
||
|
<include>CHANGELOG*</include>
|
||
|
<include>CONTRIBUTE*</include>
|
||
|
<include>COPYRIGHT*</include>
|
||
|
<include>LICENSE*</include>
|
||
|
</includes>
|
||
|
<useDefaultExcludes>true</useDefaultExcludes>
|
||
|
</fileSet>
|
||
|
</fileSets>
|
||
|
</assembly>
|