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