blob: b44888fb41aa58fb3aa7169652c09880d899b119 [file] [log] [blame]
herberte6d0d672019-12-14 01:05:47 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05003 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
6 ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
7 ~ All rights reserved.
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
14 ~
15 ~ http://www.apache.org/licenses/LICENSE-2.0
16 ~
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=======================================================
23 ~
24 -->
25
herberte6d0d672019-12-14 01:05:47 +010026<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">
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050027 <modelVersion>4.0.0</modelVersion>
herberte6d0d672019-12-14 01:05:47 +010028
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050029 <parent>
30 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>odlparent-lite</artifactId>
Dan Timoney1bd16a42020-11-25 16:13:30 -050032 <version>2.1.0</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050033 <relativePath/>
34 </parent>
herberte6d0d672019-12-14 01:05:47 +010035
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050036 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
Dan Timoney1bd16a42020-11-25 16:13:30 -050038 <version>1.1.1-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050039 <packaging>pom</packaging>
herberte6d0d672019-12-14 01:05:47 +010040
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050041 <name>ccsdk-features :: ${project.artifactId}</name>
herberte6d0d672019-12-14 01:05:47 +010042
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050043 <properties>
44 </properties>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050045
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050046 <dependencies>
47 <dependency>
48 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
49 <artifactId>sdnr-wt-feature-aggregator</artifactId>
50 <version>${project.version}</version>
51 <type>xml</type>
52 <classifier>features</classifier>
53 </dependency>
54 <dependency>
55 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
56 <artifactId>sdnr-wt-feature-aggregator-devicemanager</artifactId>
57 <version>${project.version}</version>
58 <type>xml</type>
59 <classifier>features</classifier>
60 </dependency>
herbertc7636d22020-04-06 15:51:35 +020061 <dependency>
62 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
63 <artifactId>sdnr-wt-feature-aggregator-devicemanager-base</artifactId>
64 <version>${project.version}</version>
65 <type>xml</type>
66 <classifier>features</classifier>
67 </dependency>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050068 </dependencies>
herberte6d0d672019-12-14 01:05:47 +010069
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050070 <build>
71 <plugins>
72 <plugin>
73 <artifactId>maven-assembly-plugin</artifactId>
74 <executions>
75 <execution>
76 <id>maven-repo-zip</id>
77 <goals>
78 <goal>single</goal>
79 </goals>
80 <phase>package</phase>
81 <configuration>
82 <attach>true</attach>
83 <finalName>stage/${application.name}-${project.version}</finalName>
84 <descriptors>
85 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
86 </descriptors>
87 <appendAssemblyId>true</appendAssemblyId>
88 </configuration>
89 </execution>
90 </executions>
91 </plugin>
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-dependency-plugin</artifactId>
95 <executions>
96 <execution>
97 <id>copy-nested-dependencies</id>
98 <goals>
99 <goal>copy-dependencies</goal>
100 </goals>
101 <phase>prepare-package</phase>
102 <configuration>
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>
111 </configuration>
112 </execution>
113 <execution>
114 <!-- Copy yang schema preload for schema cache -->
115 <id>unpack-cache-schema</id>
116 <goals>
117 <goal>unpack</goal>
118 </goals>
119 <phase>prepare-package</phase>
120 <configuration>
121 <artifactItems>
122 <artifactItem>
123 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
124 <artifactId>sdnr-wt-devicemanager-provider</artifactId>
125 <version>${project.version}</version>
126 <type>jar</type>
127 <includes>preload.cache.schema/**</includes>
128 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
129 </artifactItem>
130 </artifactItems>
131 </configuration>
132 </execution>
133 <execution>
134 <!-- Copy database initialization script -->
135 <id>unpack-es-init</id>
136 <phase>prepare-package</phase>
137 <goals>
138 <goal>unpack</goal>
139 </goals>
140 <configuration>
141 <artifactItems>
142 <artifactItem>
143 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
144 <artifactId>sdnr-wt-data-provider-provider</artifactId>
145 <version>${project.version}</version>
146 <type>jar</type>
147 <includes>es-init.sh</includes>
148 <outputDirectory>${project.build.directory}/assembly/opt/onap/sdnc/bin</outputDirectory>
149 </artifactItem>
150 </artifactItems>
151 </configuration>
152 </execution>
153 </executions>
154 </plugin>
herbertc7636d22020-04-06 15:51:35 +0200155 <plugin>
Michael Dürreee75b192020-02-26 06:41:50 +0100156 <artifactId>maven-resources-plugin</artifactId>
157 <version>2.6</version>
158 <executions>
159 <execution>
160 <id>copy-sdnr-data-migration-tool</id>
161 <goals>
162 <goal>copy-resources</goal>
163 </goals>
164 <phase>validate</phase>
165 <configuration>
166 <outputDirectory>${project.build.directory}/assembly/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/${project.version}</outputDirectory>
167 <resources>
168 <resource>
169 <directory>${basedir}/../../data-provider/setup/target</directory>
170 <includes>
171 <include>sdnr-dmt.jar</include>
172 </includes>
173 </resource>
174 </resources>
175 </configuration>
176 </execution>
177 </executions>
herbertc7636d22020-04-06 15:51:35 +0200178 </plugin>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -0500179 </plugins>
180 </build>
herberte6d0d672019-12-14 01:05:47 +0100181</project>