blob: 2109a408957d9d246925a57955abe73d6eaeec33 [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>
32 <version>1.5.2-SNAPSHOT</version>
33 <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>
38 <version>0.7.1-SNAPSHOT</version>
39 <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>
61 </dependencies>
herberte6d0d672019-12-14 01:05:47 +010062
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050063 <build>
64 <plugins>
65 <plugin>
66 <artifactId>maven-assembly-plugin</artifactId>
67 <executions>
68 <execution>
69 <id>maven-repo-zip</id>
70 <goals>
71 <goal>single</goal>
72 </goals>
73 <phase>package</phase>
74 <configuration>
75 <attach>true</attach>
76 <finalName>stage/${application.name}-${project.version}</finalName>
77 <descriptors>
78 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
79 </descriptors>
80 <appendAssemblyId>true</appendAssemblyId>
81 </configuration>
82 </execution>
83 </executions>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-dependency-plugin</artifactId>
88 <executions>
89 <execution>
90 <id>copy-nested-dependencies</id>
91 <goals>
92 <goal>copy-dependencies</goal>
93 </goals>
94 <phase>prepare-package</phase>
95 <configuration>
96 <transitive>true</transitive>
97 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
98 <overWriteReleases>false</overWriteReleases>
99 <overWriteSnapshots>true</overWriteSnapshots>
100 <overWriteIfNewer>true</overWriteIfNewer>
101 <useRepositoryLayout>true</useRepositoryLayout>
102 <addParentPoms>false</addParentPoms>
103 <copyPom>false</copyPom>
104 </configuration>
105 </execution>
106 <execution>
107 <!-- Copy yang schema preload for schema cache -->
108 <id>unpack-cache-schema</id>
109 <goals>
110 <goal>unpack</goal>
111 </goals>
112 <phase>prepare-package</phase>
113 <configuration>
114 <artifactItems>
115 <artifactItem>
116 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
117 <artifactId>sdnr-wt-devicemanager-provider</artifactId>
118 <version>${project.version}</version>
119 <type>jar</type>
120 <includes>preload.cache.schema/**</includes>
121 <outputDirectory>${project.build.directory}/assembly</outputDirectory>
122 </artifactItem>
123 </artifactItems>
124 </configuration>
125 </execution>
126 <execution>
127 <!-- Copy database initialization script -->
128 <id>unpack-es-init</id>
129 <phase>prepare-package</phase>
130 <goals>
131 <goal>unpack</goal>
132 </goals>
133 <configuration>
134 <artifactItems>
135 <artifactItem>
136 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
137 <artifactId>sdnr-wt-data-provider-provider</artifactId>
138 <version>${project.version}</version>
139 <type>jar</type>
140 <includes>es-init.sh</includes>
141 <outputDirectory>${project.build.directory}/assembly/opt/onap/sdnc/bin</outputDirectory>
142 </artifactItem>
143 </artifactItems>
144 </configuration>
145 </execution>
146 </executions>
147 </plugin>
148 </plugins>
149 </build>
herberte6d0d672019-12-14 01:05:47 +0100150</project>