Extend user settings API
[ccsdk/features.git] / sdnr / wt / data-provider / 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>2.6.0</version>
33         <relativePath/>
34     </parent>
35
36     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37     <artifactId>sdnr-wt-data-provider-installer</artifactId>
38     <version>1.6.0-SNAPSHOT</version>
39     <packaging>pom</packaging>
40
41     <name>ccsdk-features :: ${project.artifactId}</name>
42
43     <properties>
44         <application.name>sdnr-wt-data-provider</application.name>
45         <include.transitive.dependencies>false</include.transitive.dependencies>
46     </properties>
47     <dependencyManagement>
48         <dependencies>
49             <dependency>
50                 <groupId>org.onap.ccsdk.parent</groupId>
51                 <artifactId>installed-odl-bom</artifactId>
52                 <version>2.6.0</version>
53                 <type>pom</type>
54                 <scope>import</scope>
55             </dependency>
56         </dependencies>
57     </dependencyManagement>
58     <dependencies>
59         <dependency>
60             <groupId>${project.groupId}</groupId>
61             <artifactId>${application.name}-feature</artifactId>
62             <version>${project.version}</version>
63             <type>xml</type>
64             <classifier>features</classifier>
65             <exclusions>
66                 <exclusion>
67                     <groupId>*</groupId>
68                     <artifactId>*</artifactId>
69                 </exclusion>
70             </exclusions>
71         </dependency>
72         <dependency>
73             <groupId>${project.groupId}</groupId>
74             <artifactId>${application.name}-provider</artifactId>
75             <version>${project.version}</version>
76         </dependency>
77         <dependency>
78             <groupId>${project.groupId}</groupId>
79             <artifactId>${application.name}-setup</artifactId>
80             <version>${project.version}</version>
81         </dependency>
82         <dependency>
83             <groupId>com.highstreet-technologies.opendaylight</groupId>
84             <artifactId>odl-ready</artifactId>
85         </dependency>
86         <dependency>
87             <groupId>com.zaxxer</groupId>
88             <artifactId>HikariCP</artifactId>
89         </dependency>
90     </dependencies>
91
92     <build>
93         <plugins>
94             <plugin>
95                 <artifactId>maven-assembly-plugin</artifactId>
96                 <executions>
97                     <execution>
98                         <id>maven-repo-zip</id>
99                         <goals>
100                             <goal>single</goal>
101                         </goals>
102                         <phase>package</phase>
103                         <configuration>
104                             <attach>true</attach>
105                             <finalName>stage/${application.name}-${project.version}</finalName>
106                             <descriptors>
107                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
108                             </descriptors>
109                             <appendAssemblyId>true</appendAssemblyId>
110                         </configuration>
111                     </execution>
112                 </executions>
113             </plugin>
114             <plugin>
115                 <groupId>org.apache.maven.plugins</groupId>
116                 <artifactId>maven-dependency-plugin</artifactId>
117                 <executions>
118                     <execution>
119                         <id>copy-nested-dependencies</id>
120                         <goals>
121                             <goal>copy-dependencies</goal>
122                         </goals>
123                         <phase>prepare-package</phase>
124                         <configuration>
125                             <transitive>true</transitive>
126                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
127                             <overWriteReleases>false</overWriteReleases>
128                             <overWriteSnapshots>true</overWriteSnapshots>
129                             <overWriteIfNewer>true</overWriteIfNewer>
130                             <useRepositoryLayout>true</useRepositoryLayout>
131                             <addParentPoms>false</addParentPoms>
132                             <copyPom>false</copyPom>
133                         </configuration>
134                     </execution>
135                 </executions>
136             </plugin>
137         </plugins>
138     </build>
139 </project>