Jorge Hernandez | 964b127 | 2019-03-28 01:12:10 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | ONAP |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2019 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 xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" |
| 24 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 25 | xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> |
| 26 | |
| 27 | <id>feature-lifecycle</id> |
| 28 | |
| 29 | <formats> |
| 30 | <format>zip</format> |
| 31 | </formats> |
| 32 | |
| 33 | <includeBaseDirectory>false</includeBaseDirectory> |
| 34 | |
| 35 | <fileSets> |
| 36 | <fileSet> |
| 37 | <directory>target</directory> |
| 38 | <outputDirectory>lib/feature</outputDirectory> |
| 39 | <includes> |
| 40 | <include>feature-lifecycle-${project.version}.jar</include> |
| 41 | </includes> |
| 42 | </fileSet> |
| 43 | <fileSet> |
| 44 | <directory>target/assembly/lib</directory> |
| 45 | <outputDirectory>lib/dependencies</outputDirectory> |
| 46 | <includes> |
| 47 | <include>*.jar</include> |
| 48 | </includes> |
| 49 | </fileSet> |
| 50 | <fileSet> |
| 51 | <directory>src/main/feature/config</directory> |
| 52 | <outputDirectory>config</outputDirectory> |
| 53 | <fileMode>0644</fileMode> |
| 54 | <excludes/> |
| 55 | </fileSet> |
| 56 | <fileSet> |
| 57 | <directory>src/main/feature/bin</directory> |
| 58 | <outputDirectory>bin</outputDirectory> |
| 59 | <fileMode>0755</fileMode> |
| 60 | <excludes/> |
| 61 | </fileSet> |
| 62 | <fileSet> |
| 63 | <directory>src/main/feature/install</directory> |
| 64 | <outputDirectory>install</outputDirectory> |
| 65 | <fileMode>0755</fileMode> |
| 66 | <excludes/> |
| 67 | </fileSet> |
| 68 | </fileSets> |
| 69 | |
| 70 | </assembly> |