| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <!-- |
| 4 | Licensed to the Apache Software Foundation (ASF) under one |
| 5 | or more contributor license agreements. See the NOTICE file |
| 6 | distributed with this work for additional information |
| 7 | regarding copyright ownership. The ASF licenses this file |
| 8 | to you under the Apache License, Version 2.0 (the |
| 9 | "License"); you may not use this file except in compliance |
| 10 | with the License. You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, |
| 15 | software distributed under the License is distributed on an |
| 16 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 17 | KIND, either express or implied. See the License for the |
| 18 | specific language governing permissions and limitations |
| 19 | under the License. |
| 20 | --> |
| 21 | <assembly> |
| 22 | <id>bin</id> |
| 23 | <formats> |
| 24 | <format>tar.gz</format> |
| 25 | <format>zip</format> |
| 26 | </formats> |
| 27 | |
| 28 | <!-- Now copy the other files, excluding the files we don't want --> |
| 29 | <fileSets> |
| 30 | <!-- Copy licenses into '/' --> |
| 31 | <fileSet> |
| 32 | <directory>..</directory> |
| 33 | <outputDirectory/> |
| 34 | <includes> |
| 35 | <include>LICENSE</include> |
| 36 | <include>NOTICE</include> |
| 37 | </includes> |
| 38 | </fileSet> |
| 39 | |
| 40 | <!-- Copy Javadoc into '/docs' --> |
| 41 | <fileSet> |
| 42 | <directory>../target/site</directory> |
| 43 | <outputDirectory>docs</outputDirectory> |
| 44 | <includes> |
| 45 | <include>apidocs*/**</include> |
| 46 | <include>xref*/**</include> |
| 47 | </includes> |
| 48 | </fileSet> |
| 49 | </fileSets> |
| 50 | |
| 51 | <dependencySets> |
| 52 | <!-- Copy Mavibot modules into '/dist' --> |
| 53 | <dependencySet> |
| 54 | <outputDirectory>dist</outputDirectory> |
| 55 | <includes> |
| 56 | <!-- Including only Mavibot modules --> |
| 57 | <include>${project.groupId}:*</include> |
| 58 | </includes> |
| 59 | |
| 60 | <excludes> |
| 61 | <!-- Excluding sources jars --> |
| 62 | <exclude>*:sources</exclude> |
| 63 | </excludes> |
| 64 | </dependencySet> |
| 65 | |
| 66 | <!-- Copy Mavibot dependencies into '/lib' --> |
| 67 | <dependencySet> |
| 68 | <outputDirectory>lib</outputDirectory> |
| 69 | <excludes> |
| 70 | <!-- Excluding Mavibot modules --> |
| 71 | <exclude>${project.groupId}:*</exclude> |
| 72 | |
| 73 | <!-- Excluding sources jars --> |
| 74 | <exclude>*:sources</exclude> |
| 75 | </excludes> |
| 76 | </dependencySet> |
| 77 | </dependencySets> |
| 78 | </assembly> |