blob: 374362970eeb13c2a83c169bde9817bea9763d7c [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-->
Timoney, Dan (dt5972)9560e602019-04-24 16:04:56 -040024<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">
Herbert Eiselt12a8c662019-02-07 17:50:41 +010025 <modelVersion>4.0.0</modelVersion>
26
27 <parent>
28 <groupId>org.onap.ccsdk.parent</groupId>
29 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)bc483372019-09-11 10:58:56 -040030 <version>1.5.0-SNAPSHOT</version>
Timoney, Dan (dt5972)9560e602019-04-24 16:04:56 -040031 <relativePath/>
Herbert Eiselt12a8c662019-02-07 17:50:41 +010032 </parent>
33
34 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
35 <artifactId>sdnr-wt-devicemanager-installer</artifactId>
Timoney, Dan (dt5972)bc483372019-09-11 10:58:56 -040036 <version>0.7.0-SNAPSHOT</version>
Herbert Eiselt12a8c662019-02-07 17:50:41 +010037 <packaging>pom</packaging>
38 <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
39
40 <properties>
41 <application.name>sdnr-wt-devicemanager</application.name>
42 <include.transitive.dependencies>false</include.transitive.dependencies>
43 </properties>
44
45 <dependencies>
46 <dependency>
47 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
48 <artifactId>${application.name}-feature</artifactId>
49 <version>${project.version}</version>
50 <type>xml</type>
51 <classifier>features</classifier>
52 <exclusions>
53 <exclusion>
54 <groupId>*</groupId>
55 <artifactId>*</artifactId>
56 </exclusion>
57 </exclusions>
58 </dependency>
59 <dependency>
60 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
61 <artifactId>${application.name}-provider</artifactId>
62 <version>${project.version}</version>
63 </dependency>
64 </dependencies>
65 <build>
66 <plugins>
67 <plugin>
68 <artifactId>maven-assembly-plugin</artifactId>
69 <executions>
70 <execution>
71 <id>maven-repo-zip</id>
72 <goals>
73 <goal>single</goal>
74 </goals>
75 <phase>package</phase>
76 <configuration>
77 <attach>true</attach>
78 <finalName>stage/${application.name}-${project.version}</finalName>
79 <descriptors>
80 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
81 </descriptors>
82 <appendAssemblyId>true</appendAssemblyId>
83 </configuration>
84 </execution>
85 </executions>
86 </plugin>
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-dependency-plugin</artifactId>
90 <executions>
91 <execution>
92 <id>copy-nested-dependencies</id>
93 <goals>
94 <goal>copy-dependencies</goal>
95 </goals>
96 <phase>prepare-package</phase>
97 <configuration>
98 <transitive>true</transitive>
99 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
100 <overWriteReleases>false</overWriteReleases>
101 <overWriteSnapshots>true</overWriteSnapshots>
102 <overWriteIfNewer>true</overWriteIfNewer>
103 <useRepositoryLayout>true</useRepositoryLayout>
104 <addParentPoms>false</addParentPoms>
105 <copyPom>false</copyPom>
106 </configuration>
107 </execution>
108 </executions>
109 </plugin>
110 <plugin>
111 <artifactId>maven-resources-plugin</artifactId>
112 <version>2.6</version>
113 <executions>
114 <execution>
115 <id>copy-schemas</id>
116 <goals>
117 <goal>copy-resources</goal>
118 </goals>
119 <phase>validate</phase>
120 <configuration>
121 <outputDirectory>${project.build.directory}/assembly/cache/schema</outputDirectory>
122 <resources>
123 <resource>
124 <directory>${basedir}/../provider/src/main/resources/preload.cache.schema</directory>
125 <includes>
126 <include>*.yang</include>
127 </includes>
128 <filtering>true</filtering>
129 </resource>
130 </resources>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
135 </plugins>
136 </build>
137</project>