| <?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> |
| <id>bin</id> |
| |
| <!-- Types of packaging, if there are N, N types of packages will be printed --> |
| <formats> |
| <format>dir</format> |
| <format>tar.gz</format> |
| </formats> |
| |
| <includeBaseDirectory>false</includeBaseDirectory> |
| |
| <fileSets> |
| <!-- |
| 0755: users have read/write/execute permissions, group users and other users have read and write permissions |
| 0644: users have read and write permissions, group users and other users have read-only permissions |
| --> |
| <!-- Output all files in the bin directory to the packaged bin directory --> |
| <fileSet> |
| <directory>${build.outputDirectory}/bin</directory> |
| <outputDirectory>bin</outputDirectory> |
| <fileMode>0755</fileMode> |
| <lineEnding>unix</lineEnding> |
| </fileSet> |
| |
| <!-- Output all files in the sql directory to the packaged sql directory --> |
| <fileSet> |
| <directory>${build.outputDirectory}/sql</directory> |
| <outputDirectory>sql</outputDirectory> |
| <fileMode>0644</fileMode> |
| <lineEnding>unix</lineEnding> |
| </fileSet> |
| |
| <!-- Specify to output the configuration file in target/classes to the conf directory--> |
| <fileSet> |
| <directory>${build.directory}/conf</directory> |
| <outputDirectory>conf</outputDirectory> |
| <fileMode>0644</fileMode> |
| <lineEnding>unix</lineEnding> |
| </fileSet> |
| |
| <!-- Package third-party dependencies into the lib directory--> |
| <fileSet> |
| <directory>${build.directory}/lib</directory> |
| <outputDirectory>lib</outputDirectory> |
| </fileSet> |
| |
| <!-- Package the project startup jar into the lib directory --> |
| <fileSet> |
| <directory>${build.directory}</directory> |
| <outputDirectory>lib</outputDirectory> |
| <includes> |
| <include>${project.build.finalName}.jar</include> |
| </includes> |
| </fileSet> |
| |
| <!-- Package the manager plugins --> |
| <fileSet> |
| <directory>../manager-plugins/target/plugins</directory> |
| <outputDirectory>plugins</outputDirectory> |
| </fileSet> |
| |
| <!-- Package the client jars into the lib directory --> |
| <fileSet> |
| <directory>../manager-client/target</directory> |
| <outputDirectory>lib</outputDirectory> |
| <includes> |
| <include>manager-client*.jar</include> |
| <include>converter-jackson-*</include> |
| <include>retrofit-*</include> |
| </includes> |
| </fileSet> |
| <fileSet> |
| <directory>../manager-client-tools/target</directory> |
| <outputDirectory>lib</outputDirectory> |
| <includes> |
| <include>/manager-client-tools*.jar</include> |
| <include>jcommander-*.jar</include> |
| </includes> |
| </fileSet> |
| |
| </fileSets> |
| |
| </assembly> |