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.2.0-SNAPSHOT</version>
36 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-data-provider-installer</artifactId>
38 <version>1.2.0-SNAPSHOT</version>
39 <packaging>pom</packaging>
41 <name>ccsdk-features :: ${project.artifactId}</name>
44 <application.name>sdnr-wt-data-provider</application.name>
45 <include.transitive.dependencies>false</include.transitive.dependencies>
50 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
51 <artifactId>${application.name}-feature</artifactId>
52 <version>${project.version}</version>
54 <classifier>features</classifier>
58 <artifactId>*</artifactId>
63 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
64 <artifactId>${application.name}-provider</artifactId>
65 <version>${project.version}</version>
68 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
69 <artifactId>${application.name}-setup</artifactId>
70 <version>${project.version}</version>
77 <artifactId>maven-assembly-plugin</artifactId>
80 <id>maven-repo-zip</id>
84 <phase>package</phase>
87 <finalName>stage/${application.name}-${project.version}</finalName>
89 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
91 <appendAssemblyId>true</appendAssemblyId>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-dependency-plugin</artifactId>
101 <id>copy-nested-dependencies</id>
103 <goal>copy-dependencies</goal>
105 <phase>prepare-package</phase>
107 <transitive>true</transitive>
108 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
109 <overWriteReleases>false</overWriteReleases>
110 <overWriteSnapshots>true</overWriteSnapshots>
111 <overWriteIfNewer>true</overWriteIfNewer>
112 <useRepositoryLayout>true</useRepositoryLayout>
113 <addParentPoms>false</addParentPoms>
114 <copyPom>false</copyPom>
120 <artifactId>maven-resources-plugin</artifactId>
121 <version>2.6</version>
124 <id>copy-sdnr-data-migration-tool</id>
126 <goal>copy-resources</goal>
128 <phase>validate</phase>
130 <outputDirectory>${project.build.directory}/assembly/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/${project.version}</outputDirectory>
133 <directory>${basedir}/../setup/target</directory>
135 <include>sdnr-dmt.jar</include>
142 <id>copy-schemas</id>
144 <goal>copy-resources</goal>
146 <phase>validate</phase>
148 <outputDirectory>${project.build.directory}/assembly/cache/schema</outputDirectory>
151 <directory>${basedir}/../provider/src/main/resources/preload.cache.schema</directory>
153 <include>*.yang</include>
155 <filtering>true</filtering>