Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | openECOMP : APP-C |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2017 AT&T Intellectual Property. All rights |
| 6 | reserved. |
| 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | 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, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ============LICENSE_END========================================================= |
| 20 | --> |
| 21 | |
| 22 | <!-- Defines how we build the .zip file which is our distribution. --> |
| 23 | |
| 24 | <assembly |
| 25 | xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" |
| 26 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 27 | xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> |
| 28 | <id>controller</id> |
| 29 | <formats> |
| 30 | <format>zip</format> |
| 31 | </formats> |
| 32 | |
| 33 | <!-- we want "system" and related files right at the root level |
| 34 | as this file is suppose to be unzip on top of a karaf |
| 35 | distro. --> |
| 36 | <includeBaseDirectory>false</includeBaseDirectory> |
| 37 | |
| 38 | <fileSets> |
| 39 | <fileSet> |
| 40 | <directory>target/assembly/</directory> |
| 41 | <outputDirectory>.</outputDirectory> |
| 42 | <excludes> |
| 43 | </excludes> |
| 44 | </fileSet> |
| 45 | </fileSets> |
| 46 | |
| 47 | <files> |
| 48 | <file> |
| 49 | <source>../${feature-name}-bundle/src/main/resources/initial/${feature-name}.xml</source> |
| 50 | <destName>./etc/opendaylight/karaf/200-${feature-name}.xml</destName> |
| 51 | </file> |
| 52 | </files> |
| 53 | |
| 54 | </assembly> |