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=======================================================
26 <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">
27 <modelVersion>4.0.0</modelVersion>
30 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>odlparent-lite</artifactId>
32 <version>2.0.0-SNAPSHOT</version>
36 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
38 <version>1.0.0-SNAPSHOT</version>
39 <packaging>pom</packaging>
41 <name>ccsdk-features :: ${project.artifactId}</name>
48 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
49 <artifactId>sdnr-wt-feature-aggregator</artifactId>
50 <version>${project.version}</version>
52 <classifier>features</classifier>
55 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
56 <artifactId>sdnr-wt-feature-aggregator-devicemanager</artifactId>
57 <version>${project.version}</version>
59 <classifier>features</classifier>
62 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
63 <artifactId>sdnr-wt-feature-aggregator-devicemanager-base</artifactId>
64 <version>${project.version}</version>
66 <classifier>features</classifier>
73 <artifactId>maven-assembly-plugin</artifactId>
76 <id>maven-repo-zip</id>
80 <phase>package</phase>
83 <finalName>stage/${application.name}-${project.version}</finalName>
85 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
87 <appendAssemblyId>true</appendAssemblyId>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-dependency-plugin</artifactId>
97 <id>copy-nested-dependencies</id>
99 <goal>copy-dependencies</goal>
101 <phase>prepare-package</phase>
103 <transitive>true</transitive>
104 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
105 <overWriteReleases>false</overWriteReleases>
106 <overWriteSnapshots>true</overWriteSnapshots>
107 <overWriteIfNewer>true</overWriteIfNewer>
108 <useRepositoryLayout>true</useRepositoryLayout>
109 <addParentPoms>false</addParentPoms>
110 <copyPom>false</copyPom>
114 <!-- Copy yang schema preload for schema cache -->
115 <id>unpack-cache-schema</id>
119 <phase>prepare-package</phase>
123 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
124 <artifactId>sdnr-wt-devicemanager-provider</artifactId>
125 <version>${project.version}</version>
127 <includes>preload.cache.schema/**</includes>
128 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
134 <!-- Copy database initialization script -->
135 <id>unpack-es-init</id>
136 <phase>prepare-package</phase>
143 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
144 <artifactId>sdnr-wt-data-provider-provider</artifactId>
145 <version>${project.version}</version>
147 <includes>es-init.sh</includes>
148 <outputDirectory>${project.build.directory}/assembly/opt/onap/sdnc/bin</outputDirectory>
156 <artifactId>maven-resources-plugin</artifactId>
157 <version>2.6</version>
160 <id>copy-sdnr-data-migration-tool</id>
162 <goal>copy-resources</goal>
164 <phase>validate</phase>
166 <outputDirectory>${project.build.directory}/assembly/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/${project.version}</outputDirectory>
169 <directory>${basedir}/../../data-provider/setup/target</directory>
171 <include>sdnr-dmt.jar</include>