Pamela Dragosh | a974aa0 | 2017-02-14 19:31:53 -0500 | [diff] [blame^] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | site-manager |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
| 20 | |
| 21 | <!-- Defines how we build the .zip file which is our distribution. --> |
| 22 | |
| 23 | <assembly |
| 24 | xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" |
| 25 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 26 | xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> |
| 27 | <id>runtime</id> |
| 28 | <formats> |
| 29 | <format>zip</format> |
| 30 | </formats> |
| 31 | |
| 32 | <!-- we want "system" and related files right at the root level as this |
| 33 | file is suppose to be unzip on top of a karaf distro. --> |
| 34 | <includeBaseDirectory>false</includeBaseDirectory> |
| 35 | |
| 36 | <fileSets> |
| 37 | <fileSet> |
| 38 | <directory>target</directory> |
| 39 | <outputDirectory>site-manager-${project.version}</outputDirectory> |
| 40 | <includes> |
| 41 | <include>site-manager-${project.version}.jar</include> |
| 42 | </includes> |
| 43 | </fileSet> |
| 44 | <fileSet> |
| 45 | <directory>target/files/</directory> |
| 46 | <outputDirectory>site-manager-${project.version}</outputDirectory> |
| 47 | <fileMode>0755</fileMode> |
| 48 | <includes> |
| 49 | <include>siteManager</include> |
| 50 | </includes> |
| 51 | </fileSet> |
| 52 | <fileSet> |
| 53 | <directory>target/files/</directory> |
| 54 | <outputDirectory>site-manager-${project.version}</outputDirectory> |
| 55 | <fileMode>0644</fileMode> |
| 56 | <excludes> |
| 57 | <exclude>siteManager</exclude> |
| 58 | </excludes> |
| 59 | </fileSet> |
| 60 | </fileSets> |
| 61 | |
| 62 | </assembly> |