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