-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DBZ-5925 package 'standalone' connector tar/zip archive in assembly p…
…rofile
- Loading branch information
1 parent
681cb63
commit e732965
Showing
3 changed files
with
109 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?xml version="1.0"?> | ||
<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>standalone</id> | ||
<formats> | ||
<format>tar.gz</format> | ||
<format>zip</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
<dependencySets> | ||
<!-- Dependency set for integrating with Kafka Connect / Debezium Server --> | ||
<dependencySet> | ||
<outputDirectory>${project.artifactId}</outputDirectory> | ||
<unpack>false</unpack> | ||
<scope>runtime</scope> | ||
<useProjectArtifact>false</useProjectArtifact> | ||
<useTransitiveFiltering>true</useTransitiveFiltering> | ||
<excludes> | ||
<!-- Exclude guava dependencies --> | ||
<exclude>com.google.guava:listenablefuture:*</exclude> | ||
|
||
<!-- Exclude dependencies with incorrect scope --> | ||
<exclude>org.checkerframework:checker-qual:*</exclude> | ||
</excludes> | ||
</dependencySet> | ||
<!-- Dependency set for running as a standalone application --> | ||
<dependencySet> | ||
<outputDirectory>${project.artifactId}</outputDirectory> | ||
<unpack>false</unpack> | ||
<scope>provided</scope> | ||
<useProjectArtifact>false</useProjectArtifact> | ||
<useTransitiveFiltering>true</useTransitiveFiltering> | ||
<excludes> | ||
<!-- Exclude build-time provided Debezium dependencies --> | ||
<exclude>${project.groupId}:debezium-assembly-descriptors:*</exclude> | ||
<exclude>${project.groupId}:debezium-checkstyle:*</exclude> | ||
<exclude>${project.groupId}:debezium-ide-configs:*</exclude> | ||
<exclude>${project.groupId}:debezium-revapi:*</exclude> | ||
<!-- Exclude guava dependencies --> | ||
<exclude>com.google.guava:listenablefuture:*</exclude> | ||
<!-- Exclude dependencies with incorrect scope --> | ||
<exclude>org.checkerframework:checker-qual:*</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> | ||
<fileSet> | ||
<directory>${project.build.directory}/generated-sources</directory> | ||
<outputDirectory>${project.artifactId}</outputDirectory> | ||
<includes> | ||
<include>*.json</include> | ||
</includes> | ||
<useDefaultExcludes>true</useDefaultExcludes> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |