1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START=======================================================
4 * ONAP : CCSDK.feature.sdnr.wt
5 * ================================================================================
6 * Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 <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">
23 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.ccsdk.parent</groupId>
27 <artifactId>odlparent-lite</artifactId>
28 <version>1.5.1-SNAPSHOT</version>
32 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
33 <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
34 <version>0.7.0-SNAPSHOT</version>
35 <packaging>pom</packaging>
37 <name>ccsdk-features :: ${project.artifactId}</name>
40 <application.name>sdnr-wt-feature-aggregator</application.name>
41 <include.transitive.dependencies>true</include.transitive.dependencies>
42 <ccsdk.features.version>${project.version}</ccsdk.features.version>
45 <dependencyManagement>
48 <groupId>org.opendaylight.controller</groupId>
49 <artifactId>mdsal-artifacts</artifactId>
50 <version>${odl.controller.mdsal.version}</version>
55 </dependencyManagement>
58 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
59 <artifactId>${application.name}</artifactId>
60 <version>${project.version}</version>
62 <classifier>features</classifier>
65 <!-- <groupId>*</groupId> -->
66 <!-- <artifactId>*</artifactId> -->
68 <!-- </exclusions> -->
70 <!-- https://mvnrepository.com/artifact/org.yaml/snakeyaml -->
76 <artifactId>maven-assembly-plugin</artifactId>
79 <id>maven-repo-zip</id>
83 <phase>package</phase>
86 <finalName>stage/${application.name}-${project.version}</finalName>
88 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
90 <appendAssemblyId>true</appendAssemblyId>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-dependency-plugin</artifactId>
100 <!-- <id>copy-dependencies</id> -->
102 <!-- <goal>copy-dependencies</goal> -->
104 <!-- <phase>prepare-package</phase> -->
105 <!-- <configuration> -->
106 <!-- <transitive>false</transitive> -->
107 <!-- <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> -->
108 <!-- <overWriteReleases>false</overWriteReleases> -->
109 <!-- <overWriteSnapshots>true</overWriteSnapshots> -->
110 <!-- <overWriteIfNewer>true</overWriteIfNewer> -->
111 <!-- <useRepositoryLayout>true</useRepositoryLayout> -->
112 <!-- <addParentPoms>false</addParentPoms> -->
113 <!-- <copyPom>false</copyPom> -->
114 <!-- <includeArtifactIds>${application.name}-model,${application.name}-provider,${application.name}</includeArtifactIds> -->
115 <!-- <scope>provided</scope> -->
116 <!-- </configuration> -->
117 <!-- </execution> -->
119 <id>copy-nested-dependencies</id>
121 <goal>copy-dependencies</goal>
123 <phase>prepare-package</phase>
125 <transitive>true</transitive>
126 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
127 <overWriteReleases>false</overWriteReleases>
128 <overWriteSnapshots>true</overWriteSnapshots>
129 <overWriteIfNewer>true</overWriteIfNewer>
130 <useRepositoryLayout>true</useRepositoryLayout>
131 <addParentPoms>false</addParentPoms>
132 <copyPom>false</copyPom>
136 <!-- Copy yang schema preload for schema cache -->
137 <id>unpack-cache-schema</id>
141 <phase>prepare-package</phase>
145 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
146 <artifactId>sdnr-wt-devicemanager-provider</artifactId>
147 <version>${project.version}</version>
149 <includes>preload.cache.schema/**</includes>
150 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
156 <!-- Copy database initialization script -->
157 <id>unpack-es-init</id>
158 <phase>prepare-package</phase>
165 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
166 <artifactId>sdnr-wt-data-provider-database</artifactId>
167 <version>${project.version}</version>
169 <includes>es-init.sh</includes>
170 <outputDirectory>${project.build.directory}/assembly/opt/onap/sdnc/bin</outputDirectory>