Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Skip Wonnell | 463f70e | 2018-01-12 10:00:59 -0600 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
John McClung | 3a78edb | 2018-06-13 17:17:15 -0400 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Skip Wonnell | 463f70e | 2018-01-12 10:00:59 -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 | 463f70e | 2018-01-12 10:00:59 -0600 | [diff] [blame] | 21 | --> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [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> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 25 | <artifactId>odlparent-lite</artifactId> |
| 26 | <groupId>org.onap.appc.parent</groupId> |
Patrick Brady | 84d0a25 | 2018-05-22 10:42:55 -0700 | [diff] [blame] | 27 | <version>1.4.0-SNAPSHOT</version> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 28 | <relativePath /> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 29 | </parent> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 30 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 31 | <artifactId>appc-metric-installer</artifactId> |
| 32 | <name>APPC Metric - Karaf Installer</name> |
| 33 | <packaging>pom</packaging> |
| 34 | |
| 35 | <properties> |
| 36 | <application.name>appc-metric</application.name> |
| 37 | <features.boot>appc-metric</features.boot> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 38 | <features.repositories>mvn:org.onap.appc/onap-appc-metric/${project.version}/xml/features</features.repositories> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 39 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 40 | </properties> |
| 41 | |
| 42 | <dependencies> |
| 43 | |
| 44 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 45 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 46 | <artifactId>onap-appc-metric</artifactId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 47 | <version>${project.version}</version> |
| 48 | <classifier>features</classifier> |
| 49 | <type>xml</type> |
| 50 | <exclusions> |
| 51 | <exclusion> |
| 52 | <groupId>*</groupId> |
| 53 | <artifactId>*</artifactId> |
| 54 | </exclusion> |
| 55 | </exclusions> |
| 56 | </dependency> |
| 57 | |
| 58 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 59 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 60 | <artifactId>appc-metric-bundle</artifactId> |
| 61 | <version>${project.version}</version> |
| 62 | </dependency> |
| 63 | </dependencies> |
| 64 | |
| 65 | <build> |
| 66 | <plugins> |
| 67 | <plugin> |
| 68 | <artifactId>maven-assembly-plugin</artifactId> |
| 69 | <executions> |
| 70 | <execution> |
| 71 | <id>maven-repo-zip</id> |
| 72 | <goals> |
| 73 | <goal>single</goal> |
| 74 | </goals> |
| 75 | <phase>package</phase> |
| 76 | <configuration> |
| 77 | <appendAssemblyId>false</appendAssemblyId> |
| 78 | <attach>false</attach> |
| 79 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 80 | <descriptors> |
| 81 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 82 | </descriptors> |
| 83 | </configuration> |
| 84 | </execution> |
| 85 | <execution> |
| 86 | <id>installer-zip</id> |
| 87 | <goals> |
| 88 | <goal>single</goal> |
| 89 | </goals> |
| 90 | <phase>package</phase> |
| 91 | <configuration> |
| 92 | <appendAssemblyId>false</appendAssemblyId> |
| 93 | <attach>true</attach> |
| 94 | <finalName>${application.name}-${project.version}</finalName> |
| 95 | <descriptors> |
| 96 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 97 | </descriptors> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | </executions> |
| 101 | </plugin> |
| 102 | <plugin> |
| 103 | <groupId>org.apache.maven.plugins</groupId> |
| 104 | <artifactId>maven-dependency-plugin</artifactId> |
| 105 | <executions> |
| 106 | <execution> |
| 107 | <id>copy-dependencies</id> |
| 108 | <goals> |
| 109 | <goal>copy-dependencies</goal> |
| 110 | </goals> |
| 111 | <phase>prepare-package</phase> |
| 112 | <configuration> |
| 113 | <transitive>false</transitive> |
| 114 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 115 | <overWriteReleases>false</overWriteReleases> |
| 116 | <overWriteSnapshots>true</overWriteSnapshots> |
| 117 | <overWriteIfNewer>true</overWriteIfNewer> |
| 118 | <useRepositoryLayout>true</useRepositoryLayout> |
| 119 | <addParentPoms>false</addParentPoms> |
| 120 | <copyPom>false</copyPom> |
| 121 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 122 | <scope>provided</scope> |
| 123 | </configuration> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | </plugin> |
| 127 | <plugin> |
| 128 | <artifactId>maven-resources-plugin</artifactId> |
| 129 | <executions> |
| 130 | <execution> |
| 131 | <id>copy-version</id> |
| 132 | <goals> |
| 133 | <goal>copy-resources</goal> |
| 134 | </goals> |
| 135 | <!-- here the phase you need --> |
| 136 | <phase>validate</phase> |
| 137 | <configuration> |
| 138 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 139 | <resources> |
| 140 | <resource> |
| 141 | <directory>src/main/resources/scripts</directory> |
| 142 | <includes> |
| 143 | <include>install-feature.sh</include> |
| 144 | </includes> |
| 145 | <filtering>true</filtering> |
| 146 | </resource> |
| 147 | </resources> |
| 148 | </configuration> |
| 149 | </execution> |
| 150 | </executions> |
| 151 | </plugin> |
| 152 | </plugins> |
| 153 | </build> |
| 154 | |
Patrick Brady | 769d345 | 2018-09-24 13:09:27 -0700 | [diff] [blame] | 155 | <version>1.4.0-SNAPSHOT</version> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 156 | </project> |