Anand Chaturvedi | e178b07 | 2017-08-14 20:10:36 -0400 | [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 | fb3eec2 | 2018-06-14 10:17:19 -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 | --> |
Anand Chaturvedi | e178b07 | 2017-08-14 20:10:36 -0400 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
Patrick Brady | 46f865c | 2018-08-13 10:00:29 -0700 | [diff] [blame] | 25 | <parent> |
| 26 | <groupId>org.onap.appc.parent</groupId> |
| 27 | <artifactId>odlparent-lite</artifactId> |
| 28 | <version>1.4.0-SNAPSHOT</version> |
| 29 | <relativePath /> |
| 30 | </parent> |
| 31 | <groupId>org.onap.appc</groupId> |
Anand Chaturvedi | e178b07 | 2017-08-14 20:10:36 -0400 | [diff] [blame] | 32 | <name>APPC Network Inventory - Installer</name> |
| 33 | <packaging>pom</packaging> |
| 34 | |
| 35 | <properties> |
| 36 | <application.name>appc-network-inventory-client</application.name> |
| 37 | <features.boot>appc-network-inventory-client</features.boot> |
Patrick Brady | 46f865c | 2018-08-13 10:00:29 -0700 | [diff] [blame] | 38 | <features.repositories>mvn:org.onap.appc/onap-appc-network-inventory-client/${project.version}/xml/features</features.repositories> |
Anand Chaturvedi | e178b07 | 2017-08-14 20:10:36 -0400 | [diff] [blame] | 39 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 40 | </properties> |
| 41 | |
| 42 | <dependencies> |
| 43 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 44 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 46f865c | 2018-08-13 10:00:29 -0700 | [diff] [blame] | 45 | <artifactId>onap-appc-network-inventory-client</artifactId> |
Anand Chaturvedi | e178b07 | 2017-08-14 20:10:36 -0400 | [diff] [blame] | 46 | <classifier>features</classifier> |
Patrick Brady | 46f865c | 2018-08-13 10:00:29 -0700 | [diff] [blame] | 47 | <version>${project.version}</version> |
Anand Chaturvedi | e178b07 | 2017-08-14 20:10:36 -0400 | [diff] [blame] | 48 | <type>xml</type> |
| 49 | <exclusions> |
| 50 | <exclusion> |
| 51 | <groupId>*</groupId> |
| 52 | <artifactId>*</artifactId> |
| 53 | </exclusion> |
| 54 | </exclusions> |
| 55 | </dependency> |
| 56 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 57 | <groupId>org.onap.appc</groupId> |
Anand Chaturvedi | e178b07 | 2017-08-14 20:10:36 -0400 | [diff] [blame] | 58 | <artifactId>appc-network-inventory-client-provider</artifactId> |
Patrick Brady | 46f865c | 2018-08-13 10:00:29 -0700 | [diff] [blame] | 59 | <version>${project.version}</version> |
Anand Chaturvedi | e178b07 | 2017-08-14 20:10:36 -0400 | [diff] [blame] | 60 | </dependency> |
| 61 | |
| 62 | </dependencies> |
| 63 | |
| 64 | <build> |
| 65 | <plugins> |
| 66 | <plugin> |
| 67 | <artifactId>maven-assembly-plugin</artifactId> |
| 68 | <executions> |
| 69 | <execution> |
| 70 | <id>maven-repo-zip</id> |
| 71 | <goals> |
| 72 | <goal>single</goal> |
| 73 | </goals> |
| 74 | <phase>package</phase> |
| 75 | <configuration> |
| 76 | <appendAssemblyId>false</appendAssemblyId> |
| 77 | <attach>false</attach> |
| 78 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 79 | <descriptors> |
| 80 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 81 | </descriptors> |
| 82 | </configuration> |
| 83 | </execution> |
| 84 | <execution> |
| 85 | <id>installer-zip</id> |
| 86 | <goals> |
| 87 | <goal>single</goal> |
| 88 | </goals> |
| 89 | <phase>package</phase> |
| 90 | <configuration> |
| 91 | <appendAssemblyId>false</appendAssemblyId> |
| 92 | <attach>true</attach> |
| 93 | <finalName>${application.name}-${project.version}</finalName> |
| 94 | <descriptors> |
| 95 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 96 | </descriptors> |
| 97 | </configuration> |
| 98 | </execution> |
| 99 | </executions> |
| 100 | </plugin> |
| 101 | <plugin> |
| 102 | <groupId>org.apache.maven.plugins</groupId> |
| 103 | <artifactId>maven-dependency-plugin</artifactId> |
| 104 | <executions> |
| 105 | <execution> |
| 106 | <id>copy-dependencies</id> |
| 107 | <goals> |
| 108 | <goal>copy-dependencies</goal> |
| 109 | </goals> |
| 110 | <phase>prepare-package</phase> |
| 111 | <configuration> |
| 112 | <transitive>false</transitive> |
| 113 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 114 | <overWriteReleases>false</overWriteReleases> |
| 115 | <overWriteSnapshots>true</overWriteSnapshots> |
| 116 | <overWriteIfNewer>true</overWriteIfNewer> |
| 117 | <useRepositoryLayout>true</useRepositoryLayout> |
| 118 | <addParentPoms>false</addParentPoms> |
| 119 | <copyPom>false</copyPom> |
| 120 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 121 | <scope>provided</scope> |
| 122 | </configuration> |
| 123 | </execution> |
| 124 | </executions> |
| 125 | </plugin> |
| 126 | <plugin> |
| 127 | <artifactId>maven-resources-plugin</artifactId> |
| 128 | <executions> |
| 129 | <execution> |
| 130 | <id>copy-version</id> |
| 131 | <goals> |
| 132 | <goal>copy-resources</goal> |
| 133 | </goals> |
| 134 | <!-- here the phase you need --> |
| 135 | <phase>validate</phase> |
| 136 | <configuration> |
| 137 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 138 | <resources> |
| 139 | <resource> |
| 140 | <directory>src/main/resources/scripts</directory> |
| 141 | <includes> |
| 142 | <include>install-feature.sh</include> |
| 143 | </includes> |
| 144 | <filtering>true</filtering> |
| 145 | </resource> |
| 146 | </resources> |
| 147 | </configuration> |
| 148 | </execution> |
| 149 | </executions> |
| 150 | </plugin> |
| 151 | </plugins> |
| 152 | </build> |
| 153 | |
| 154 | <artifactId>appc-network-inventory-client-installer</artifactId> |
Patrick Brady | 769d345 | 2018-09-24 13:09:27 -0700 | [diff] [blame] | 155 | <version>1.4.0-SNAPSHOT</version> |
Anand Chaturvedi | e178b07 | 2017-08-14 20:10:36 -0400 | [diff] [blame] | 156 | </project> |