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