Merge "Support for MariaDB"
[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.2.0-SNAPSHOT</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.2.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
48     <dependencies>
49         <dependency>
50             <groupId>${project.groupId}</groupId>
51             <artifactId>${application.name}-feature</artifactId>
52             <version>${project.version}</version>
53             <type>xml</type>
54             <classifier>features</classifier>
55             <exclusions>
56                 <exclusion>
57                     <groupId>*</groupId>
58                     <artifactId>*</artifactId>
59                 </exclusion>
60             </exclusions>
61         </dependency>
62         <dependency>
63             <groupId>${project.groupId}</groupId>
64             <artifactId>${application.name}-provider</artifactId>
65             <version>${project.version}</version>
66         </dependency>
67         <dependency>
68             <groupId>${project.groupId}</groupId>
69             <artifactId>${application.name}-setup</artifactId>
70             <version>${project.version}</version>
71         </dependency>
72         <dependency>
73             <groupId>com.highstreet-technologies.opendaylight</groupId>
74             <artifactId>odl-ready</artifactId>
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>