| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright DataStax, Inc. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"> |
| <id>binary-tarball</id> |
| <formats> |
| <format>tar.gz</format> |
| </formats> |
| <includeBaseDirectory>true</includeBaseDirectory> |
| <moduleSets> |
| <!-- Module java-driver-core and its dependencies --> |
| <moduleSet> |
| <useAllReactorProjects>true</useAllReactorProjects> |
| <includes> |
| <include>com.datastax.oss:java-driver-core</include> |
| </includes> |
| <binaries> |
| <outputDirectory>lib/core</outputDirectory> |
| <unpack>false</unpack> |
| <dependencySets> |
| <dependencySet> |
| <outputDirectory>lib/core</outputDirectory> |
| <excludes> |
| <!-- |
| For some reason, we need to exclude all other modules here, even though our |
| moduleSet targets core only |
| --> |
| <exclude>com.datastax.oss:java-driver-query-builder</exclude> |
| <exclude>com.datastax.oss:java-driver-mapper-runtime</exclude> |
| <exclude>com.datastax.oss:java-driver-mapper-processor</exclude> |
| </excludes> |
| <useTransitiveFiltering>true</useTransitiveFiltering> |
| </dependencySet> |
| </dependencySets> |
| </binaries> |
| </moduleSet> |
| <!-- Module java-driver-query-builder and its dependencies --> |
| <moduleSet> |
| <useAllReactorProjects>true</useAllReactorProjects> |
| <includes> |
| <include>com.datastax.oss:java-driver-query-builder</include> |
| </includes> |
| <binaries> |
| <outputDirectory>lib/query-builder</outputDirectory> |
| <unpack>false</unpack> |
| <dependencySets> |
| <dependencySet> |
| <excludes> |
| <exclude>com.datastax.oss:java-driver-core</exclude> |
| <exclude>com.datastax.oss:java-driver-mapper-runtime</exclude> |
| <exclude>com.datastax.oss:java-driver-mapper-processor</exclude> |
| <!-- Don't reinclude dependencies that core also has --> |
| <exclude>com.datastax.oss:java-driver-shaded-guava</exclude> |
| <exclude>com.github.stephenc.jcip:jcip-annotations</exclude> |
| <exclude>com.github.spotbugs:spotbugs-annotations</exclude> |
| </excludes> |
| <useTransitiveFiltering>true</useTransitiveFiltering> |
| </dependencySet> |
| </dependencySets> |
| </binaries> |
| </moduleSet> |
| <!-- Module java-driver-mapper-runtime and its dependencies --> |
| <moduleSet> |
| <useAllReactorProjects>true</useAllReactorProjects> |
| <includes> |
| <include>com.datastax.oss:java-driver-mapper-runtime</include> |
| </includes> |
| <binaries> |
| <outputDirectory>lib/mapper-runtime</outputDirectory> |
| <unpack>false</unpack> |
| <dependencySets> |
| <dependencySet> |
| <excludes> |
| <exclude>com.datastax.oss:java-driver-core</exclude> |
| <exclude>com.datastax.oss:java-driver-query-builder</exclude> |
| <exclude>com.datastax.oss:java-driver-mapper-processor</exclude> |
| <!-- Don't reinclude dependencies that core also has --> |
| <exclude>com.datastax.oss:java-driver-shaded-guava</exclude> |
| <exclude>com.github.stephenc.jcip:jcip-annotations</exclude> |
| <exclude>com.github.spotbugs:spotbugs-annotations</exclude> |
| </excludes> |
| <useTransitiveFiltering>true</useTransitiveFiltering> |
| </dependencySet> |
| </dependencySets> |
| </binaries> |
| </moduleSet> |
| <!-- Module java-driver-mapper-processor and its dependencies --> |
| <moduleSet> |
| <useAllReactorProjects>true</useAllReactorProjects> |
| <includes> |
| <include>com.datastax.oss:java-driver-mapper-processor</include> |
| </includes> |
| <binaries> |
| <outputDirectory>lib/mapper-processor</outputDirectory> |
| <unpack>false</unpack> |
| <dependencySets> |
| <dependencySet> |
| <excludes> |
| <exclude>com.datastax.oss:java-driver-core</exclude> |
| <exclude>com.datastax.oss:java-driver-query-builder</exclude> |
| <exclude>com.datastax.oss:java-driver-mapper-runtime</exclude> |
| <!-- Don't reinclude dependencies that core also has --> |
| <exclude>com.datastax.oss:java-driver-shaded-guava</exclude> |
| <exclude>com.github.stephenc.jcip:jcip-annotations</exclude> |
| <exclude>com.github.spotbugs:spotbugs-annotations</exclude> |
| </excludes> |
| <useTransitiveFiltering>true</useTransitiveFiltering> |
| </dependencySet> |
| </dependencySets> |
| </binaries> |
| </moduleSet> |
| <!--sources for all modules--> |
| <moduleSet> |
| <useAllReactorProjects>true</useAllReactorProjects> |
| <includes> |
| <include>com.datastax.oss:java-driver-core</include> |
| <include>com.datastax.oss:java-driver-query-builder</include> |
| <include>com.datastax.oss:java-driver-mapper-runtime</include> |
| <include>com.datastax.oss:java-driver-mapper-processor</include> |
| </includes> |
| <binaries> |
| <unpack>false</unpack> |
| <attachmentClassifier>sources</attachmentClassifier> |
| <outputFileNameMapping>${module.artifactId}-${module.version}-src.zip</outputFileNameMapping> |
| <outputDirectory>src</outputDirectory> |
| <excludes> |
| <exclude>*</exclude> |
| </excludes> |
| </binaries> |
| </moduleSet> |
| </moduleSets> |
| <fileSets> |
| <fileSet> |
| <directory>target/apidocs</directory> |
| <outputDirectory>apidocs</outputDirectory> |
| </fileSet> |
| <fileSet> |
| <directory>..</directory> |
| <outputDirectory>.</outputDirectory> |
| <includes> |
| <include>README*</include> |
| <include>LICENSE*</include> |
| </includes> |
| </fileSet> |
| <fileSet> |
| <directory>../changelog</directory> |
| </fileSet> |
| <fileSet> |
| <directory>../faq</directory> |
| </fileSet> |
| <fileSet> |
| <directory>../manual</directory> |
| </fileSet> |
| <fileSet> |
| <directory>../upgrade_guide</directory> |
| </fileSet> |
| </fileSets> |
| </assembly> |