Use latest released parent pom
[ccsdk/features.git] / sdnr / wt / featureaggregator / 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.4.4</version>
33         <relativePath/>
34     </parent>
35
36     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
37     <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
38     <version>1.4.1-SNAPSHOT</version>
39     <packaging>pom</packaging>
40
41     <name>ccsdk-features :: ${project.artifactId}</name>
42
43     <properties>
44         <application.name>sdnr-wt-installer</application.name>
45     </properties>
46
47     <dependencies>
48         <dependency>
49             <groupId>${project.groupId}</groupId>
50             <artifactId>sdnr-wt-feature-aggregator</artifactId>
51             <version>${project.version}</version>
52             <type>xml</type>
53             <classifier>features</classifier>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>sdnr-wt-feature-aggregator-devicemanager</artifactId>
58             <version>${project.version}</version>
59             <type>xml</type>
60             <classifier>features</classifier>
61         </dependency>
62         <dependency>
63             <groupId>${project.groupId}</groupId>
64             <artifactId>sdnr-wt-feature-aggregator-devicemanager-base</artifactId>
65             <version>${project.version}</version>
66             <type>xml</type>
67             <classifier>features</classifier>
68         </dependency>
69         <dependency>
70             <groupId>${project.groupId}</groupId>
71             <artifactId>sdnr-wt-feature-aggregator-oauth</artifactId>
72             <version>${project.version}</version>
73             <type>xml</type>
74             <classifier>features</classifier>
75         </dependency>
76         <dependency>
77             <groupId>${project.groupId}</groupId>
78             <artifactId>sdnr-wt-data-provider-setup</artifactId>
79             <version>${project.version}</version>
80         </dependency>
81         <dependency>
82             <groupId>${project.groupId}</groupId>
83             <artifactId>sdnr-wt-odlux-installer</artifactId>
84             <version>${project.version}</version>
85             <type>zip</type>
86             <classifier>repo</classifier>
87         </dependency>
88     </dependencies>
89
90     <build>
91         <plugins>
92             <plugin>
93                 <artifactId>maven-assembly-plugin</artifactId>
94                 <executions>
95                     <execution>
96                         <id>maven-repo-zip</id>
97                         <goals>
98                             <goal>single</goal>
99                         </goals>
100                         <phase>package</phase>
101                         <configuration>
102                             <attach>true</attach>
103                             <finalName>stage/${application.name}-${project.version}</finalName>
104                             <descriptors>
105                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
106                             </descriptors>
107                             <appendAssemblyId>true</appendAssemblyId>
108                         </configuration>
109                     </execution>
110                 </executions>
111             </plugin>
112             <plugin>
113                 <groupId>org.apache.maven.plugins</groupId>
114                 <artifactId>maven-dependency-plugin</artifactId>
115                 <executions>
116                     <execution>
117                         <id>copy-nested-dependencies</id>
118                         <goals>
119                             <goal>copy-dependencies</goal>
120                         </goals>
121                         <phase>prepare-package</phase>
122                         <configuration>
123                             <transitive>true</transitive>
124                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
125                             <overWriteReleases>false</overWriteReleases>
126                             <overWriteSnapshots>true</overWriteSnapshots>
127                             <overWriteIfNewer>true</overWriteIfNewer>
128                             <useRepositoryLayout>true</useRepositoryLayout>
129                             <addParentPoms>false</addParentPoms>
130                             <copyPom>false</copyPom>
131                         </configuration>
132                     </execution>
133                     <execution>
134                         <!-- Copy yang schema preload for schema cache -->
135                         <id>unpack-cache-schema</id>
136                         <goals>
137                             <goal>unpack</goal>
138                         </goals>
139                         <phase>prepare-package</phase>
140                         <configuration>
141                             <artifactItems>
142                                 <artifactItem>
143                                     <groupId>${project.groupId}</groupId>
144                                     <artifactId>sdnr-wt-devicemanager-core-model</artifactId>
145                                     <version>${project.version}</version>
146                                     <type>jar</type>
147                                     <includes>preload.cache.schema/**</includes>
148                                     <outputDirectory>${project.build.directory}/assembly</outputDirectory>
149                                 </artifactItem>
150                             </artifactItems>
151                         </configuration>
152                     </execution>
153                     <execution>
154                         <!-- Copy database initialization script -->
155                         <id>unpack-es-init</id>
156                         <phase>prepare-package</phase>
157                         <goals>
158                             <goal>unpack</goal>
159                         </goals>
160                         <configuration>
161                             <artifactItems>
162                                 <artifactItem>
163                                     <groupId>${project.groupId}</groupId>
164                                     <artifactId>sdnr-wt-data-provider-provider</artifactId>
165                                     <version>${project.version}</version>
166                                     <type>jar</type>
167                                     <includes>es-init.sh</includes>
168                                     <outputDirectory>${project.build.directory}/assembly/opt/onap/sdnc/bin</outputDirectory>
169                                 </artifactItem>
170                             </artifactItems>
171                         </configuration>
172                     </execution>
173                 </executions>
174             </plugin>
175         </plugins>
176     </build>
177 </project>