Merge "SDN-R ws notifications"
[ccsdk/features.git] / sdnr / wt / devicemodel / installer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4  * ============LICENSE_START=======================================================
5  * ONAP : CCSDK.sdnr.wt.devicemodel.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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26   <modelVersion>4.0.0</modelVersion>
27
28   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
29   <artifactId>sdnr-wt-devicemodel-installer</artifactId>
30   <version>0.4.2-SNAPSHOT</version>
31   <packaging>pom</packaging>
32   <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name>
33
34   <parent>
35     <groupId>org.onap.ccsdk.parent</groupId>
36     <artifactId>odlparent-lite</artifactId>
37     <version>1.2.2-SNAPSHOT</version>
38     <relativePath />
39   </parent>
40
41   <properties>
42     <application.name>sdnr-wt-devicemodel</application.name>
43     <include.transitive.dependencies>false</include.transitive.dependencies>
44   </properties>
45
46   <dependencies>
47     <dependency>
48       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
49       <artifactId>${application.name}-feature</artifactId>
50       <version>${project.version}</version>
51       <type>xml</type>
52       <classifier>features</classifier>
53       <exclusions>
54         <exclusion>
55           <groupId>*</groupId>
56           <artifactId>*</artifactId>
57         </exclusion>
58       </exclusions>
59     </dependency>
60     <dependency>
61       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
62       <artifactId>sdnr-wt-devicemodel-model</artifactId>
63       <version>${project.version}</version>
64     </dependency>
65   </dependencies>
66   <build>
67     <plugins>
68       <plugin>
69         <artifactId>maven-assembly-plugin</artifactId>
70         <executions>
71           <execution>
72             <id>maven-repo-zip</id>
73             <goals>
74               <goal>single</goal>
75             </goals>
76             <phase>package</phase>
77             <configuration>
78               <attach>true</attach>
79               <finalName>stage/${application.name}-${project.version}</finalName>
80               <descriptors>
81                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
82               </descriptors>
83               <appendAssemblyId>true</appendAssemblyId>
84             </configuration>
85           </execution>
86         </executions>
87       </plugin>
88       <plugin>
89         <groupId>org.apache.maven.plugins</groupId>
90         <artifactId>maven-dependency-plugin</artifactId>
91         <executions>
92           <execution>
93             <id>copy-nested-dependencies</id>
94             <goals>
95               <goal>copy-dependencies</goal>
96             </goals>
97             <phase>prepare-package</phase>
98             <configuration>
99               <transitive>true</transitive>
100               <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
101               <overWriteReleases>false</overWriteReleases>
102               <overWriteSnapshots>true</overWriteSnapshots>
103               <overWriteIfNewer>true</overWriteIfNewer>
104               <useRepositoryLayout>true</useRepositoryLayout>
105               <addParentPoms>false</addParentPoms>
106               <copyPom>false</copyPom>
107             </configuration>
108           </execution>
109         </executions>
110       </plugin>
111     </plugins>
112   </build>
113 </project>