beili.zhou | fe0e989 | 2017-08-10 14:54:42 -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 | ================================================================================ |
| 6 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 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========================================================= |
| 21 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 22 | --> |
beili.zhou | fe0e989 | 2017-08-10 14:54:42 -0400 | [diff] [blame] | 23 | <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"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <parent> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 26 | <groupId>org.onap.appc</groupId> |
beili.zhou | fe0e989 | 2017-08-10 14:54:42 -0400 | [diff] [blame] | 27 | <artifactId>appc-lifecycle-management</artifactId> |
Patrick Brady | 84d0a25 | 2018-05-22 10:42:55 -0700 | [diff] [blame^] | 28 | <version>1.4.0-SNAPSHOT</version> |
beili.zhou | fe0e989 | 2017-08-10 14:54:42 -0400 | [diff] [blame] | 29 | </parent> |
| 30 | |
| 31 | <artifactId>appc-lifecycle-management-installer</artifactId> |
| 32 | <name>APPC LifeCycle Management - Karaf Installer</name> |
| 33 | <packaging>pom</packaging> |
| 34 | |
| 35 | <properties> |
| 36 | <application.name>appc-lifecycle-management</application.name> |
| 37 | <features.boot>appc-lifecycle-management</features.boot> |
| 38 | <features.repositories> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 39 | mvn:org.onap.appc/appc-lifecycle-management-features/${project.version}/xml/features |
beili.zhou | fe0e989 | 2017-08-10 14:54:42 -0400 | [diff] [blame] | 40 | </features.repositories> |
| 41 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 42 | </properties> |
| 43 | |
| 44 | <dependencies> |
| 45 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 46 | <groupId>org.onap.appc</groupId> |
beili.zhou | fe0e989 | 2017-08-10 14:54:42 -0400 | [diff] [blame] | 47 | <artifactId>appc-lifecycle-management-features</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | <classifier>features</classifier> |
| 50 | <type>xml</type> |
| 51 | <exclusions> |
| 52 | <exclusion> |
| 53 | <groupId>*</groupId> |
| 54 | <artifactId>*</artifactId> |
| 55 | </exclusion> |
| 56 | </exclusions> |
| 57 | </dependency> |
| 58 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 59 | <groupId>org.onap.appc</groupId> |
beili.zhou | fe0e989 | 2017-08-10 14:54:42 -0400 | [diff] [blame] | 60 | <artifactId>appc-lifecycle-management-api</artifactId> |
| 61 | <version>${project.version}</version> |
| 62 | </dependency> |
| 63 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 64 | <groupId>org.onap.appc</groupId> |
beili.zhou | fe0e989 | 2017-08-10 14:54:42 -0400 | [diff] [blame] | 65 | <artifactId>appc-lifecycle-management-core</artifactId> |
| 66 | <version>${project.version}</version> |
| 67 | </dependency> |
| 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 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 119 | <overWriteReleases>false</overWriteReleases> |
| 120 | <overWriteSnapshots>true</overWriteSnapshots> |
| 121 | <overWriteIfNewer>true</overWriteIfNewer> |
| 122 | <useRepositoryLayout>true</useRepositoryLayout> |
| 123 | <addParentPoms>false</addParentPoms> |
| 124 | <copyPom>false</copyPom> |
| 125 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
| 130 | <plugin> |
| 131 | <artifactId>maven-resources-plugin</artifactId> |
| 132 | <executions> |
| 133 | <execution> |
| 134 | <id>copy-version</id> |
| 135 | <goals> |
| 136 | <goal>copy-resources</goal> |
| 137 | </goals> |
| 138 | <!-- here the phase you need --> |
| 139 | <phase>validate</phase> |
| 140 | <configuration> |
| 141 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 142 | <resources> |
| 143 | <resource> |
| 144 | <directory>src/main/resources/scripts</directory> |
| 145 | <includes> |
| 146 | <include>install-feature.sh</include> |
| 147 | </includes> |
| 148 | <filtering>true</filtering> |
| 149 | </resource> |
| 150 | </resources> |
| 151 | </configuration> |
| 152 | </execution> |
| 153 | </executions> |
| 154 | </plugin> |
| 155 | </plugins> |
| 156 | </build> |
| 157 | |
| 158 | </project> |