Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Skip Wonnell | 8c4b89b | 2018-01-12 09:24:03 -0600 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
John McClung | f6332bd | 2018-06-13 13:07:38 -0400 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Skip Wonnell | 8c4b89b | 2018-01-12 09:24:03 -0600 | [diff] [blame] | 7 | Copyright (C) 2017 Amdocs |
| 8 | ================================================================================ |
| 9 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | you may not use this file except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
| 12 | |
| 13 | http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | |
| 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | ============LICENSE_END========================================================= |
Skip Wonnell | 8c4b89b | 2018-01-12 09:24:03 -0600 | [diff] [blame] | 21 | --> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | <parent> |
| 25 | <artifactId>appc-rest-healthcheck-adapter</artifactId> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 26 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 84d0a25 | 2018-05-22 10:42:55 -0700 | [diff] [blame] | 27 | <version>1.4.0-SNAPSHOT</version> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 28 | </parent> |
| 29 | <artifactId>appc-rest-healthcheck-adapter-installer</artifactId> |
Patrick Brady | 3871320 | 2017-07-28 11:29:23 -0700 | [diff] [blame] | 30 | <name>Rest Health Check Adapter - Karaf Installer</name> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 31 | <packaging>pom</packaging> |
| 32 | <properties> |
| 33 | <application.name>appc-rest-healthcheck-adapter</application.name> |
| 34 | <features.boot>appc-rest-healthcheck-adapter</features.boot> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 35 | <features.repositories>mvn:org.onap.appc/appc-rest-healthcheck-adapter-features/${project.version}/xml/features</features.repositories> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 36 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 37 | </properties> |
| 38 | <dependencies> |
| 39 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 40 | <groupId>org.onap.appc</groupId> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 41 | <artifactId>appc-rest-healthcheck-adapter-features</artifactId> |
| 42 | <classifier>features</classifier> |
| 43 | <type>xml</type> |
| 44 | <exclusions> |
| 45 | <exclusion> |
| 46 | <groupId>*</groupId> |
| 47 | <artifactId>*</artifactId> |
| 48 | </exclusion> |
| 49 | </exclusions> |
| 50 | </dependency> |
| 51 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 52 | <groupId>org.onap.appc</groupId> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 53 | <artifactId>appc-rest-healthcheck-adapter-bundle</artifactId> |
| 54 | <version>${project.version}</version> |
| 55 | </dependency> |
| 56 | </dependencies> |
| 57 | <build> |
| 58 | <plugins> |
| 59 | <plugin> |
| 60 | <artifactId>maven-assembly-plugin</artifactId> |
| 61 | <executions> |
| 62 | <execution> |
| 63 | <id>maven-repo-zip</id> |
| 64 | <goals> |
| 65 | <goal>single</goal> |
| 66 | </goals> |
| 67 | <phase>package</phase> |
| 68 | <configuration> |
| 69 | <appendAssemblyId>false</appendAssemblyId> |
| 70 | <attach>false</attach> |
| 71 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 72 | <descriptors> |
| 73 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 74 | </descriptors> |
| 75 | </configuration> |
| 76 | </execution> |
| 77 | <execution> |
| 78 | <id>installer-zip</id> |
| 79 | <goals> |
| 80 | <goal>single</goal> |
| 81 | </goals> |
| 82 | <phase>package</phase> |
| 83 | <configuration> |
| 84 | <appendAssemblyId>false</appendAssemblyId> |
| 85 | <attach>true</attach> |
| 86 | <finalName>${application.name}-${project.version}</finalName> |
| 87 | <descriptors> |
| 88 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 89 | </descriptors> |
| 90 | </configuration> |
| 91 | </execution> |
| 92 | </executions> |
| 93 | </plugin> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-dependency-plugin</artifactId> |
| 97 | <executions> |
| 98 | <execution> |
| 99 | <id>copy-dependencies</id> |
| 100 | <goals> |
| 101 | <goal>copy-dependencies</goal> |
| 102 | </goals> |
| 103 | <phase>prepare-package</phase> |
| 104 | <configuration> |
| 105 | <transitive>false</transitive> |
| 106 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 107 | <overWriteReleases>false</overWriteReleases> |
| 108 | <overWriteSnapshots>true</overWriteSnapshots> |
| 109 | <overWriteIfNewer>true</overWriteIfNewer> |
| 110 | <useRepositoryLayout>true</useRepositoryLayout> |
| 111 | <addParentPoms>false</addParentPoms> |
| 112 | <copyPom>false</copyPom> |
| 113 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 114 | <scope>provided</scope> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | </executions> |
| 118 | </plugin> |
| 119 | <plugin> |
| 120 | <artifactId>maven-resources-plugin</artifactId> |
| 121 | <executions> |
| 122 | <execution> |
| 123 | <id>copy-version</id> |
| 124 | <goals> |
| 125 | <goal>copy-resources</goal> |
| 126 | </goals> |
| 127 | <!-- here the phase you need --> |
| 128 | <phase>validate</phase> |
| 129 | <configuration> |
| 130 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 131 | <resources> |
| 132 | <resource> |
| 133 | <directory>src/main/resources/scripts</directory> |
| 134 | <includes> |
| 135 | <include>install-feature.sh</include> |
| 136 | </includes> |
| 137 | <filtering>true</filtering> |
| 138 | </resource> |
| 139 | </resources> |
| 140 | </configuration> |
| 141 | </execution> |
| 142 | </executions> |
| 143 | </plugin> |
| 144 | </plugins> |
| 145 | </build> |
Patrick Brady | 769d345 | 2018-09-24 13:09:27 -0700 | [diff] [blame] | 146 | <version>1.4.0-SNAPSHOT</version> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 147 | </project> |