1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
6 ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
8 ~ ================================================================================
9 ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
10 ~ ================================================================================
11 ~ Licensed under the Apache License, Version 2.0 (the "License");
12 ~ you may not use this file except in compliance with the License.
13 ~ You may obtain a copy of the License at
15 ~ http://www.apache.org/licenses/LICENSE-2.0
17 ~ Unless required by applicable law or agreed to in writing, software
18 ~ distributed under the License is distributed on an "AS IS" BASIS,
19 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 ~ See the License for the specific language governing permissions and
21 ~ limitations under the License.
22 ~ ============LICENSE_END=======================================================
25 <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">
26 <modelVersion>4.0.0</modelVersion>
29 <groupId>org.onap.ccsdk.parent</groupId>
30 <artifactId>odlparent-lite</artifactId>
31 <version>2.6.1</version>
35 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
36 <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
37 <version>1.6.1-SNAPSHOT</version>
38 <packaging>pom</packaging>
40 <name>ccsdk-features :: ${project.artifactId}</name>
43 <application.name>sdnr-wt-installer</application.name>
48 <groupId>${project.groupId}</groupId>
49 <artifactId>sdnr-wt-feature-aggregator</artifactId>
50 <version>${project.version}</version>
52 <classifier>features</classifier>
55 <groupId>${project.groupId}</groupId>
56 <artifactId>sdnr-wt-feature-aggregator-devicemanager</artifactId>
57 <version>${project.version}</version>
59 <classifier>features</classifier>
62 <groupId>${project.groupId}</groupId>
63 <artifactId>sdnr-wt-feature-aggregator-devicemanager-base</artifactId>
64 <version>${project.version}</version>
66 <classifier>features</classifier>
69 <groupId>${project.groupId}</groupId>
70 <artifactId>sdnr-wt-feature-aggregator-oauth</artifactId>
71 <version>${project.version}</version>
73 <classifier>features</classifier>
76 <groupId>${project.groupId}</groupId>
77 <artifactId>sdnr-wt-data-provider-setup</artifactId>
78 <version>${project.version}</version>
85 <artifactId>maven-assembly-plugin</artifactId>
88 <id>maven-repo-zip</id>
92 <phase>package</phase>
95 <finalName>stage/${application.name}-${project.version}</finalName>
97 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
99 <appendAssemblyId>true</appendAssemblyId>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-dependency-plugin</artifactId>
109 <id>copy-nested-dependencies</id>
111 <goal>copy-dependencies</goal>
113 <phase>prepare-package</phase>
115 <transitive>true</transitive>
116 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
117 <overWriteReleases>false</overWriteReleases>
118 <overWriteSnapshots>true</overWriteSnapshots>
119 <overWriteIfNewer>true</overWriteIfNewer>
120 <useRepositoryLayout>true</useRepositoryLayout>
121 <addParentPoms>false</addParentPoms>
122 <copyPom>false</copyPom>
126 <!-- Copy yang schema preload for schema cache -->
127 <id>unpack-cache-schema</id>
131 <phase>prepare-package</phase>
135 <groupId>${project.groupId}</groupId>
136 <artifactId>sdnr-wt-devicemanager-core-model</artifactId>
137 <version>${project.version}</version>
139 <includes>preload.cache.schema/**</includes>
140 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
146 <!-- Copy database initialization script -->
147 <id>unpack-es-init</id>
148 <phase>prepare-package</phase>
155 <groupId>${project.groupId}</groupId>
156 <artifactId>sdnr-wt-data-provider-provider</artifactId>
157 <version>${project.version}</version>
159 <includes>es-init.sh</includes>
160 <outputDirectory>${project.build.directory}/assembly/opt/onap/sdnc/bin</outputDirectory>