blob: 8397117085f9e22868971b59edbe2e9d6f88415e [file] [log] [blame]
Herbert Eiselt12a8c662019-02-07 17:50:41 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4 * ============LICENSE_START=======================================================
5 * ONAP : CCSDK.sdnr.wt.devicemanager.installer
6 * ================================================================================
7 * Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
8 * All rights reserved.
9 * ================================================================================
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 * ============LICENSE_END=========================================================
22
23-->
24<project xmlns="http://maven.apache.org/POM/4.0.0"
25 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27 <modelVersion>4.0.0</modelVersion>
28
29 <parent>
30 <groupId>org.onap.ccsdk.parent</groupId>
31 <artifactId>odlparent-lite</artifactId>
32 <version>1.2.1-SNAPSHOT</version>
33 <relativePath />
34 </parent>
35
36 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37 <artifactId>sdnr-wt-devicemanager-installer</artifactId>
38 <version>0.4.1-SNAPSHOT</version>
39 <packaging>pom</packaging>
40 <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
41
42 <properties>
43 <application.name>sdnr-wt-devicemanager</application.name>
44 <include.transitive.dependencies>false</include.transitive.dependencies>
45 </properties>
46
47 <dependencies>
48 <dependency>
49 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
50 <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>
62 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
63 <artifactId>${application.name}-provider</artifactId>
64 <version>${project.version}</version>
65 </dependency>
66 </dependencies>
67 <build>
68 <plugins>
69 <plugin>
70 <artifactId>maven-assembly-plugin</artifactId>
71 <executions>
72 <execution>
73 <id>maven-repo-zip</id>
74 <goals>
75 <goal>single</goal>
76 </goals>
77 <phase>package</phase>
78 <configuration>
79 <attach>true</attach>
80 <finalName>stage/${application.name}-${project.version}</finalName>
81 <descriptors>
82 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
83 </descriptors>
84 <appendAssemblyId>true</appendAssemblyId>
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-dependency-plugin</artifactId>
92 <executions>
93 <execution>
94 <id>copy-nested-dependencies</id>
95 <goals>
96 <goal>copy-dependencies</goal>
97 </goals>
98 <phase>prepare-package</phase>
99 <configuration>
100 <transitive>true</transitive>
101 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
102 <overWriteReleases>false</overWriteReleases>
103 <overWriteSnapshots>true</overWriteSnapshots>
104 <overWriteIfNewer>true</overWriteIfNewer>
105 <useRepositoryLayout>true</useRepositoryLayout>
106 <addParentPoms>false</addParentPoms>
107 <copyPom>false</copyPom>
108 </configuration>
109 </execution>
110 </executions>
111 </plugin>
112 <plugin>
113 <artifactId>maven-resources-plugin</artifactId>
114 <version>2.6</version>
115 <executions>
116 <execution>
117 <id>copy-schemas</id>
118 <goals>
119 <goal>copy-resources</goal>
120 </goals>
121 <phase>validate</phase>
122 <configuration>
123 <outputDirectory>${project.build.directory}/assembly/cache/schema</outputDirectory>
124 <resources>
125 <resource>
126 <directory>${basedir}/../provider/src/main/resources/preload.cache.schema</directory>
127 <includes>
128 <include>*.yang</include>
129 </includes>
130 <filtering>true</filtering>
131 </resource>
132 </resources>
133 </configuration>
134 </execution>
135 </executions>
136 </plugin>
137 </plugins>
138 </build>
139</project>