blob: 88f64bfb76492afcbd816e074da983a6f6ee1859 [file] [log] [blame]
herbertd77d01b2020-01-30 10:15:11 +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 -->
herbertd77d01b2020-01-30 10:15:11 +010025
herbertd77d01b2020-01-30 10:15:11 +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>
herbertd77d01b2020-01-30 10:15:11 +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 Timoney92037092020-08-06 15:28:15 -040032 <version>2.0.1-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050033 <relativePath/>
34 </parent>
herbertd77d01b2020-01-30 10:15:11 +010035
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050036 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-data-provider-installer</artifactId>
Dan Timoney92037092020-08-06 15:28:15 -040038 <version>1.0.1-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050039 <packaging>pom</packaging>
herbertd77d01b2020-01-30 10:15:11 +010040
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050041 <name>ccsdk-features :: ${project.artifactId}</name>
herbertd77d01b2020-01-30 10:15:11 +010042
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050043 <properties>
44 <application.name>sdnr-wt-data-provider</application.name>
45 <include.transitive.dependencies>false</include.transitive.dependencies>
46 </properties>
herbertd77d01b2020-01-30 10:15:11 +010047
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050048 <dependencies>
49 <dependency>
50 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
51 <artifactId>${application.name}-feature</artifactId>
52 <version>${project.version}</version>
53 <type>xml</type>
54 <classifier>features</classifier>
55 <exclusions>
56 <exclusion>
57 <groupId>*</groupId>
58 <artifactId>*</artifactId>
59 </exclusion>
60 </exclusions>
61 </dependency>
62 <dependency>
63 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
64 <artifactId>${application.name}-provider</artifactId>
65 <version>${project.version}</version>
66 </dependency>
Michael Dürreee75b192020-02-26 06:41:50 +010067 <dependency>
68 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
69 <artifactId>${application.name}-setup</artifactId>
70 <version>${project.version}</version>
71 </dependency>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050072 </dependencies>
herbertd77d01b2020-01-30 10:15:11 +010073
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050074 <build>
75 <plugins>
76 <plugin>
77 <artifactId>maven-assembly-plugin</artifactId>
78 <executions>
79 <execution>
80 <id>maven-repo-zip</id>
81 <goals>
82 <goal>single</goal>
83 </goals>
84 <phase>package</phase>
85 <configuration>
86 <attach>true</attach>
87 <finalName>stage/${application.name}-${project.version}</finalName>
88 <descriptors>
89 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
90 </descriptors>
91 <appendAssemblyId>true</appendAssemblyId>
92 </configuration>
93 </execution>
94 </executions>
95 </plugin>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-dependency-plugin</artifactId>
99 <executions>
100 <execution>
101 <id>copy-nested-dependencies</id>
102 <goals>
103 <goal>copy-dependencies</goal>
104 </goals>
105 <phase>prepare-package</phase>
106 <configuration>
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>
115 </configuration>
116 </execution>
117 </executions>
118 </plugin>
119 <plugin>
120 <artifactId>maven-resources-plugin</artifactId>
121 <version>2.6</version>
122 <executions>
123 <execution>
Michael Dürreee75b192020-02-26 06:41:50 +0100124 <id>copy-sdnr-data-migration-tool</id>
125 <goals>
126 <goal>copy-resources</goal>
127 </goals>
128 <phase>validate</phase>
129 <configuration>
130 <outputDirectory>${project.build.directory}/assembly/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/${project.version}</outputDirectory>
131 <resources>
132 <resource>
133 <directory>${basedir}/../setup/target</directory>
134 <includes>
135 <include>sdnr-dmt.jar</include>
136 </includes>
137 </resource>
138 </resources>
139 </configuration>
140 </execution>
141 <execution>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -0500142 <id>copy-schemas</id>
143 <goals>
144 <goal>copy-resources</goal>
145 </goals>
146 <phase>validate</phase>
147 <configuration>
148 <outputDirectory>${project.build.directory}/assembly/cache/schema</outputDirectory>
149 <resources>
150 <resource>
151 <directory>${basedir}/../provider/src/main/resources/preload.cache.schema</directory>
152 <includes>
153 <include>*.yang</include>
154 </includes>
155 <filtering>true</filtering>
156 </resource>
157 </resources>
158 </configuration>
159 </execution>
160 </executions>
161 </plugin>
162 </plugins>
163 </build>
herbertd77d01b2020-01-30 10:15:11 +0100164</project>