| 1 | <!-- |
| 2 | |
| 3 | Copyright (C) 2012-2015 DataStax Inc. |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | --> |
| 18 | <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" |
| 19 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> |
| 21 | <id>binary-tarball</id> |
| 22 | <formats> |
| 23 | <format>tar.gz</format> |
| 24 | </formats> |
| 25 | <includeBaseDirectory>true</includeBaseDirectory> |
| 26 | <moduleSets> |
| 27 | <moduleSet> |
| 28 | <useAllReactorProjects>true</useAllReactorProjects> |
| 29 | <includes> |
| 30 | <include>com.datastax.cassandra:cassandra-driver-core</include> |
| 31 | <include>com.datastax.cassandra:cassandra-driver-mapping</include> |
| 32 | <include>com.datastax.cassandra:cassandra-driver-extras</include> |
| 33 | </includes> |
| 34 | <binaries> |
| 35 | <unpack>false</unpack> |
| 36 | <dependencySets> |
| 37 | <dependencySet> |
| 38 | <outputDirectory>lib</outputDirectory> |
| 39 | <excludes> |
| 40 | <exclude>com.datastax.cassandra:*</exclude> |
| 41 | <exclude>io.netty:netty-transport-native-epoll:*</exclude> |
| 42 | </excludes> |
| 43 | </dependencySet> |
| 44 | </dependencySets> |
| 45 | </binaries> |
| 46 | </moduleSet> |
| 47 | <moduleSet> |
| 48 | <useAllReactorProjects>true</useAllReactorProjects> |
| 49 | <includes> |
| 50 | <include>com.datastax.cassandra:cassandra-driver-core</include> |
| 51 | <include>com.datastax.cassandra:cassandra-driver-mapping</include> |
| 52 | <include>com.datastax.cassandra:cassandra-driver-extras</include> |
| 53 | </includes> |
| 54 | <binaries> |
| 55 | <unpack>false</unpack> |
| 56 | <attachmentClassifier>sources</attachmentClassifier> |
| 57 | <outputFileNameMapping>${module.artifactId}-${module.version}-src.zip</outputFileNameMapping> |
| 58 | <outputDirectory>src</outputDirectory> |
| 59 | <excludes> |
| 60 | <exclude>*</exclude> |
| 61 | </excludes> |
| 62 | </binaries> |
| 63 | </moduleSet> |
| 64 | </moduleSets> |
| 65 | <fileSets> |
| 66 | <fileSet> |
| 67 | <directory>target/apidocs</directory> |
| 68 | <outputDirectory>apidocs</outputDirectory> |
| 69 | </fileSet> |
| 70 | <fileSet> |
| 71 | <directory>..</directory> |
| 72 | <includes> |
| 73 | <include>changelog/README.md</include> |
| 74 | <include>upgrade_guide/README.md</include> |
| 75 | </includes> |
| 76 | </fileSet> |
| 77 | </fileSets> |
| 78 | </assembly> |