blob: e4dbc918b6856e148dbe4146e3afcf50141eb874 [file] [log] [blame]
herbert8fb01422020-01-30 11:46:02 +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) 2019 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 -->
herbert8fb01422020-01-30 11:46:02 +010025<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 -050026 <modelVersion>4.0.0</modelVersion>
herbert8fb01422020-01-30 11:46:02 +010027
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050028 <parent>
29 <groupId>org.onap.ccsdk.parent</groupId>
30 <artifactId>odlparent-lite</artifactId>
Michael DÜrrecbab1f42021-11-03 14:17:33 +010031 <version>2.3.1</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050032 <relativePath/>
33 </parent>
herbert8fb01422020-01-30 11:46:02 +010034
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050035 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
36 <artifactId>sdnr-wt-mountpoint-state-provider-installer</artifactId>
Dan Timoney2cdb55c2021-09-21 13:13:39 -040037 <version>1.3.0-SNAPSHOT</version>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050038 <packaging>pom</packaging>
herbert8fb01422020-01-30 11:46:02 +010039
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050040 <name>ccsdk-features :: ${project.artifactId}</name>
herbert8fb01422020-01-30 11:46:02 +010041
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050042 <properties>
43 <application.name>sdnr-wt-mountpoint-state-provider</application.name>
44 <include.transitive.dependencies>false</include.transitive.dependencies>
45 </properties>
herbert8fb01422020-01-30 11:46:02 +010046
herbert8fb01422020-01-30 11:46:02 +010047 <dependencies>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050048 <dependency>
Ravi Pendurtycaaf7cf2021-05-18 09:47:00 +053049 <groupId>${project.groupId}</groupId>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050050 <artifactId>${application.name}-feature</artifactId>
51 <version>${project.version}</version>
52 <type>xml</type>
53 <classifier>features</classifier>
54 <exclusions>
55 <exclusion>
56 <groupId>*</groupId>
57 <artifactId>*</artifactId>
58 </exclusion>
59 </exclusions>
60 </dependency>
61 <dependency>
Ravi Pendurtycaaf7cf2021-05-18 09:47:00 +053062 <groupId>${project.groupId}</groupId>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050063 <artifactId>${application.name}-provider</artifactId>
64 <version>${project.version}</version>
65 </dependency>
herbert8fb01422020-01-30 11:46:02 +010066 </dependencies>
herbert8fb01422020-01-30 11:46:02 +010067
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -050068 <build>
69 <plugins>
70 <plugin>
71 <artifactId>maven-assembly-plugin</artifactId>
72 <executions>
73 <execution>
74 <id>maven-repo-zip</id>
75 <goals>
76 <goal>single</goal>
77 </goals>
78 <phase>package</phase>
79 <configuration>
80 <attach>true</attach>
81 <finalName>stage/${application.name}-${project.version}</finalName>
82 <descriptors>
83 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
84 </descriptors>
85 <appendAssemblyId>true</appendAssemblyId>
86 </configuration>
87 </execution>
88 </executions>
89 </plugin>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-dependency-plugin</artifactId>
93 <executions>
94 <execution>
95 <id>copy-nested-dependencies</id>
96 <goals>
97 <goal>copy-dependencies</goal>
98 </goals>
99 <phase>prepare-package</phase>
100 <configuration>
101 <transitive>true</transitive>
102 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
103 <overWriteReleases>false</overWriteReleases>
104 <overWriteSnapshots>true</overWriteSnapshots>
105 <overWriteIfNewer>true</overWriteIfNewer>
106 <useRepositoryLayout>true</useRepositoryLayout>
107 <addParentPoms>false</addParentPoms>
108 <copyPom>false</copyPom>
109 </configuration>
110 </execution>
111 </executions>
112 </plugin>
113 <plugin>
114 <artifactId>maven-resources-plugin</artifactId>
115 <version>2.6</version>
116 <executions>
117 <execution>
118 <id>copy-schemas</id>
119 <goals>
120 <goal>copy-resources</goal>
121 </goals>
122 <phase>validate</phase>
123 <configuration>
124 <outputDirectory>${project.build.directory}/assembly/cache/schema</outputDirectory>
125 <resources>
126 <resource>
127 <directory>${basedir}/../provider/src/main/resources/preload.cache.schema</directory>
128 <includes>
129 <include>*.yang</include>
130 </includes>
131 <filtering>true</filtering>
132 </resource>
133 </resources>
134 </configuration>
135 </execution>
136 </executions>
137 </plugin>
138 </plugins>
139 </build>
herbert8fb01422020-01-30 11:46:02 +0100140</project>