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 | ================================================================================ |
Patrick Brady | c664d0a | 2019-01-29 10:18:27 -0800 | [diff] [blame] | 6 | Copyright (C) 2017-2019 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 | 8183cf1 | 2019-05-20 23:12:51 -0700 | [diff] [blame^] | 29 | <version>2.6.0-SNAPSHOT</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 | |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 68 | </dependencies> |
| 69 | |
| 70 | <build> |
| 71 | <plugins> |
| 72 | <plugin> |
| 73 | <artifactId>maven-assembly-plugin</artifactId> |
| 74 | <executions> |
| 75 | <execution> |
| 76 | <id>maven-repo-zip</id> |
| 77 | <goals> |
| 78 | <goal>single</goal> |
| 79 | </goals> |
| 80 | <phase>package</phase> |
| 81 | <configuration> |
| 82 | <appendAssemblyId>false</appendAssemblyId> |
| 83 | <attach>false</attach> |
| 84 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 85 | <descriptors> |
| 86 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 87 | </descriptors> |
| 88 | </configuration> |
| 89 | </execution> |
| 90 | <execution> |
| 91 | <id>installer-zip</id> |
| 92 | <goals> |
| 93 | <goal>single</goal> |
| 94 | </goals> |
| 95 | <phase>package</phase> |
| 96 | <configuration> |
| 97 | <appendAssemblyId>false</appendAssemblyId> |
| 98 | <attach>true</attach> |
| 99 | <finalName>${application.name}-${project.version}</finalName> |
| 100 | <descriptors> |
| 101 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 102 | </descriptors> |
| 103 | </configuration> |
| 104 | </execution> |
| 105 | </executions> |
| 106 | </plugin> |
| 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-dependency-plugin</artifactId> |
| 110 | <executions> |
| 111 | <execution> |
| 112 | <id>copy-dependencies</id> |
| 113 | <goals> |
| 114 | <goal>copy-dependencies</goal> |
| 115 | </goals> |
| 116 | <phase>prepare-package</phase> |
| 117 | <configuration> |
| 118 | <transitive>false</transitive> |
| 119 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 120 | <overWriteReleases>false</overWriteReleases> |
| 121 | <overWriteSnapshots>true</overWriteSnapshots> |
| 122 | <overWriteIfNewer>true</overWriteIfNewer> |
| 123 | <useRepositoryLayout>true</useRepositoryLayout> |
| 124 | <addParentPoms>false</addParentPoms> |
| 125 | <copyPom>false</copyPom> |
| 126 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 127 | <scope>provided</scope> |
| 128 | </configuration> |
| 129 | </execution> |
| 130 | </executions> |
| 131 | </plugin> |
| 132 | <plugin> |
| 133 | <artifactId>maven-resources-plugin</artifactId> |
| 134 | <executions> |
| 135 | <execution> |
| 136 | <id>copy-version</id> |
| 137 | <goals> |
| 138 | <goal>copy-resources</goal> |
| 139 | </goals> |
| 140 | <!-- here the phase you need --> |
| 141 | <phase>validate</phase> |
| 142 | <configuration> |
| 143 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 144 | <resources> |
| 145 | <resource> |
| 146 | <directory>src/main/resources/scripts</directory> |
| 147 | <includes> |
| 148 | <include>install-feature.sh</include> |
| 149 | </includes> |
| 150 | <filtering>true</filtering> |
| 151 | </resource> |
| 152 | </resources> |
| 153 | </configuration> |
| 154 | </execution> |
| 155 | </executions> |
| 156 | </plugin> |
| 157 | </plugins> |
| 158 | </build> |
| 159 | |
Patrick Brady | ed1cf1f | 2019-04-26 12:36:25 -0700 | [diff] [blame] | 160 | <version>1.6.0-SNAPSHOT</version> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 161 | </project> |