Upgrade to ODL Sodium
[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.o-ran-sc.oam.features.parent</groupId>
31         <artifactId>odlparent-lite</artifactId>
32         <version>2.0.0-SNAPSHOT</version>
33         <relativePath/>
34     </parent>
35
36     <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
37     <artifactId>devicemanager-xran-ru-fh-installer</artifactId>
38     <version>1.0.0-SNAPSHOT</version>
39     <packaging>pom</packaging>
40
41     <name>o-ran-sc-features :: ${project.artifactId}</name>
42
43     <properties>
44         <application.name>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>${project.groupId}</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>${project.groupId}</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
128   <repositories>
129     <repository>
130       <id>onap-public</id>
131       <url>https://nexus.onap.org/content/groups/public/</url>
132       <releases>
133         <enabled>true</enabled>
134         <updatePolicy>never</updatePolicy>
135       </releases>
136       <snapshots>
137         <enabled>true</enabled>
138         <updatePolicy>always</updatePolicy>
139       </snapshots>
140     </repository>
141     <repository>
142       <id>onap-staging</id>
143       <url>https://nexus.onap.org/content/groups/staging/</url>
144       <releases>
145         <enabled>true</enabled>
146         <updatePolicy>never</updatePolicy>
147       </releases>
148       <snapshots>
149         <enabled>true</enabled>
150         <updatePolicy>always</updatePolicy>
151       </snapshots>
152     </repository>
153     <repository>
154       <id>ecomp-release</id>
155       <name>onap-repository-releases</name>
156       <url>https://nexus.onap.org/content/repositories/releases/</url>
157       <releases>
158         <enabled>true</enabled>
159         <updatePolicy>never</updatePolicy>
160       </releases>
161       <snapshots>
162         <enabled>false</enabled>
163       </snapshots>
164     </repository>
165     <repository>
166       <id>ecomp-snapshot</id>
167       <name>onap-repository-snapshots</name>
168       <url>https://nexus.onap.org/content/repositories/snapshots/</url>
169       <releases>
170         <enabled>false</enabled>
171       </releases>
172       <snapshots>
173         <enabled>true</enabled>
174       </snapshots>
175     </repository>
176   </repositories>
177
178 </project>