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