1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START=======================================================
5 ================================================================================
6 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
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
14 http://www.apache.org/licenses/LICENSE-2.0
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.
22 ============LICENSE_END=========================================================
24 <project xmlns="http://maven.apache.org/POM/4.0.0"
25 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27 <modelVersion>4.0.0</modelVersion>
29 <artifactId>appc-dispatcher</artifactId>
30 <groupId>org.onap.appc</groupId>
31 <version>1.7.0-SNAPSHOT</version>
34 <artifactId>appc-dispatcher-installer</artifactId>
35 <name>APPC Dispatcher - Karaf Installer</name>
36 <packaging>pom</packaging>
39 <application.name>appc-dispatcher</application.name>
40 <features.boot>appc-dispatcher</features.boot>
41 <features.boot.licenseManager>appc-license-manager</features.boot.licenseManager>
43 <!-- SEPARATED FEATURE INSTALLS -->
44 <features.repo.dispatcher>mvn:org.onap.appc/appc-dispatcher-features/${project.version}/xml/features
45 </features.repo.dispatcher>
46 <features.repo.requestHandler>
47 mvn:org.onap.appc/onap-appc-request-handler/${project.version}/xml/features
48 </features.repo.requestHandler>
49 <features.repo.commandExecutor>
50 mvn:org.onap.appc/onap-appc-command-executor/${project.version}/xml/features
51 </features.repo.commandExecutor>
52 <features.repo.lifecycleManagement>
53 mvn:org.onap.appc/onap-appc-lifecycle-management/${project.version}/xml/features
54 </features.repo.lifecycleManagement>
55 <features.repo.licenseManager>
56 mvn:org.onap.appc/onap-appc-license-manager/${project.version}/xml/features
57 </features.repo.licenseManager>
58 <features.repo.workflowManagement>
59 mvn:org.onap.appc/onap-appc-workflow-management/${project.version}/xml/features
60 </features.repo.workflowManagement>
61 <features.repo.lockManager>mvn:org.onap.appc/lock-manager-features/${project.version}/xml/features
62 </features.repo.lockManager>
64 <include.transitive.dependencies>false</include.transitive.dependencies>
70 <groupId>org.onap.appc</groupId>
71 <artifactId>appc-dispatcher-features</artifactId>
72 <version>${project.version}</version>
73 <classifier>features</classifier>
78 <groupId>org.onap.appc</groupId>
79 <artifactId>onap-appc-request-handler</artifactId>
80 <version>${project.version}</version>
81 <classifier>features</classifier>
86 <groupId>org.onap.appc</groupId>
87 <artifactId>onap-appc-command-executor</artifactId>
88 <version>${project.version}</version>
89 <classifier>features</classifier>
94 <groupId>org.onap.appc</groupId>
95 <artifactId>onap-appc-lifecycle-management</artifactId>
96 <version>${project.version}</version>
97 <classifier>features</classifier>
102 <groupId>org.onap.appc</groupId>
103 <artifactId>onap-appc-workflow-management</artifactId>
104 <version>${project.version}</version>
105 <classifier>features</classifier>
110 <groupId>org.onap.appc</groupId>
111 <artifactId>onap-appc-license-manager</artifactId>
112 <version>${project.version}</version>
113 <classifier>features</classifier>
118 <groupId>org.onap.appc</groupId>
119 <artifactId>lock-manager-features</artifactId>
120 <version>${project.version}</version>
121 <classifier>features</classifier>
129 <artifactId>maven-assembly-plugin</artifactId>
132 <id>maven-repo-zip</id>
136 <phase>package</phase>
138 <appendAssemblyId>false</appendAssemblyId>
139 <attach>false</attach>
140 <finalName>stage/${application.name}-${project.version}</finalName>
142 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
147 <id>installer-zip</id>
151 <phase>package</phase>
153 <appendAssemblyId>false</appendAssemblyId>
154 <attach>true</attach>
155 <finalName>${application.name}-${project.version}</finalName>
157 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-dependency-plugin</artifactId>
168 <id>copy-dependencies</id>
170 <goal>copy-dependencies</goal>
172 <phase>prepare-package</phase>
174 <transitive>false</transitive>
175 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
176 <overWriteReleases>false</overWriteReleases>
177 <overWriteSnapshots>true</overWriteSnapshots>
178 <overWriteIfNewer>true</overWriteIfNewer>
179 <useRepositoryLayout>true</useRepositoryLayout>
180 <addParentPoms>false</addParentPoms>
181 <copyPom>false</copyPom>
182 <excludeGroupIds>org.opendaylight</excludeGroupIds>
183 <scope>provided</scope>
189 <artifactId>maven-resources-plugin</artifactId>
192 <id>copy-version</id>
194 <goal>copy-resources</goal>
196 <!-- here the phase you need -->
197 <phase>validate</phase>
199 <outputDirectory>${basedir}/target/stage</outputDirectory>
202 <directory>src/main/resources/scripts</directory>
204 <include>install-feature.sh</include>
206 <filtering>true</filtering>