bb1bfcfa4a2a414293ddb7b0484773b6333d44eb
[ccsdk/features.git] / sdnr / wt / helpserver / installer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  
4 * ============LICENSE_START=======================================================
5 * ONAP : ccsdk features
6 * ================================================================================
7 * Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
8 * All rights reserved.
9 * ================================================================================
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 * ============LICENSE_END=========================================================
22  
23 -->
24 <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">
25     <modelVersion>4.0.0</modelVersion>
26
27     <parent>
28         <groupId>org.onap.ccsdk.parent</groupId>
29         <artifactId>odlparent-lite</artifactId>
30         <version>1.5.2-SNAPSHOT</version>
31         <relativePath />
32     </parent>
33
34     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
35     <artifactId>sdnr-wt-helpserver-installer</artifactId>
36     <version>0.7.1-SNAPSHOT</version>
37     <packaging>pom</packaging>
38
39     <name>ccsdk-features :: ${project.artifactId}</name>
40
41     <properties>
42         <application.name>sdnr-wt-helpserver</application.name>
43         <include.transitive.dependencies>false</include.transitive.dependencies>
44     </properties>
45
46     <dependencies>
47
48         <dependency>
49             <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
50             <artifactId>${application.name}-feature</artifactId>
51             <version>${project.version}</version>
52             <type>xml</type>
53             <classifier>features</classifier>
54             <exclusions>
55                 <exclusion>
56                     <groupId>*</groupId>
57                     <artifactId>*</artifactId>
58                 </exclusion>
59             </exclusions>
60         </dependency>
61         <dependency>
62             <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
63             <artifactId>${application.name}-provider</artifactId>
64             <version>${project.version}</version>
65         </dependency>
66     </dependencies>
67
68     <build>
69         <plugins>
70             <plugin>
71                 <artifactId>maven-assembly-plugin</artifactId>
72                 <executions>
73                     <execution>
74                         <id>maven-repo-zip</id>
75                         <goals>
76                             <goal>single</goal>
77                         </goals>
78                         <phase>package</phase>
79                         <configuration>
80                             <attach>true</attach>
81                             <finalName>stage/${application.name}-${project.version}</finalName>
82                             <descriptors>
83                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
84                             </descriptors>
85                             <appendAssemblyId>true</appendAssemblyId>
86                         </configuration>
87                     </execution>
88                 </executions>
89             </plugin>
90             <plugin>
91                 <groupId>org.apache.maven.plugins</groupId>
92                 <artifactId>maven-dependency-plugin</artifactId>
93                 <executions>
94                     <execution>
95                         <id>copy-nested-dependencies</id>
96                         <goals>
97                             <goal>copy-dependencies</goal>
98                         </goals>
99                         <phase>prepare-package</phase>
100                         <configuration>
101                             <transitive>true</transitive>
102                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
103                             <overWriteReleases>false</overWriteReleases>
104                             <overWriteSnapshots>true</overWriteSnapshots>
105                             <overWriteIfNewer>true</overWriteIfNewer>
106                             <useRepositoryLayout>true</useRepositoryLayout>
107                             <addParentPoms>false</addParentPoms>
108                             <copyPom>false</copyPom>
109                         </configuration>
110                     </execution>
111                 </executions>
112             </plugin>
113         </plugins>
114     </build>
115 </project>