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