blob: b6294a2534051e91f447480ce610ce43eb2bd22a [file]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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>org.apache.cassandra: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>org.apache.cassandra:java-driver-query-builder</exclude>
<exclude>org.apache.cassandra:java-driver-mapper-runtime</exclude>
<exclude>org.apache.cassandra: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>org.apache.cassandra:java-driver-query-builder</include>
</includes>
<binaries>
<outputDirectory>lib/query-builder</outputDirectory>
<unpack>false</unpack>
<dependencySets>
<dependencySet>
<excludes>
<exclude>org.apache.cassandra:java-driver-core</exclude>
<exclude>org.apache.cassandra:java-driver-mapper-runtime</exclude>
<exclude>org.apache.cassandra:java-driver-mapper-processor</exclude>
<exclude>org.apache.cassandra:java-driver-guava-shaded</exclude>
<!-- Don't reinclude dependencies that core also has -->
<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>org.apache.cassandra:java-driver-mapper-runtime</include>
</includes>
<binaries>
<outputDirectory>lib/mapper-runtime</outputDirectory>
<unpack>false</unpack>
<dependencySets>
<dependencySet>
<excludes>
<exclude>org.apache.cassandra:java-driver-core</exclude>
<exclude>org.apache.cassandra:java-driver-query-builder</exclude>
<exclude>org.apache.cassandra:java-driver-mapper-processor</exclude>
<exclude>org.apache.cassandra:java-driver-guava-shaded</exclude>
<!-- Don't reinclude dependencies that core also has -->
<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>org.apache.cassandra:java-driver-mapper-processor</include>
</includes>
<binaries>
<outputDirectory>lib/mapper-processor</outputDirectory>
<unpack>false</unpack>
<dependencySets>
<dependencySet>
<excludes>
<exclude>org.apache.cassandra:java-driver-core</exclude>
<exclude>org.apache.cassandra:java-driver-query-builder</exclude>
<exclude>org.apache.cassandra:java-driver-mapper-runtime</exclude>
<exclude>org.apache.cassandra:java-driver-guava-shaded</exclude>
<!-- Don't reinclude dependencies that core also has -->
<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>org.apache.cassandra:java-driver-core</include>
<include>org.apache.cassandra:java-driver-query-builder</include>
<include>org.apache.cassandra:java-driver-mapper-runtime</include>
<include>org.apache.cassandra: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_binary</include>
<include>NOTICE_binary.txt</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>