a9c53702e793bdac05767590f7870499ac5aeefd
[ccsdk/features.git] / sdnr / wt / helpserver / installer / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ============LICENSE_START=======================================================
4   ~ ONAP : ccsdk features
5   ~ ================================================================================
6   ~ Copyright (C) 2020 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.3.3</version>
32         <relativePath/>
33     </parent>
34
35     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
36     <artifactId>sdnr-wt-helpserver-installer</artifactId>
37     <version>1.3.1-SNAPSHOT</version>
38     <packaging>pom</packaging>
39
40     <name>ccsdk-features :: ${project.artifactId}</name>
41
42     <properties>
43         <application.name>sdnr-wt-helpserver</application.name>
44         <include.transitive.dependencies>false</include.transitive.dependencies>
45     </properties>
46
47     <dependencies>
48
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     </dependencies>
68
69     <build>
70         <plugins>
71             <plugin>
72                 <artifactId>maven-assembly-plugin</artifactId>
73                 <executions>
74                     <execution>
75                         <id>maven-repo-zip</id>
76                         <goals>
77                             <goal>single</goal>
78                         </goals>
79                         <phase>package</phase>
80                         <configuration>
81                             <attach>true</attach>
82                             <finalName>stage/${application.name}-${project.version}</finalName>
83                             <descriptors>
84                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
85                             </descriptors>
86                             <appendAssemblyId>true</appendAssemblyId>
87                         </configuration>
88                     </execution>
89                 </executions>
90             </plugin>
91             <plugin>
92                 <groupId>org.apache.maven.plugins</groupId>
93                 <artifactId>maven-dependency-plugin</artifactId>
94                 <executions>
95                     <execution>
96                         <id>copy-nested-dependencies</id>
97                         <goals>
98                             <goal>copy-dependencies</goal>
99                         </goals>
100                         <phase>prepare-package</phase>
101                         <configuration>
102                             <transitive>true</transitive>
103                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
104                             <overWriteReleases>false</overWriteReleases>
105                             <overWriteSnapshots>true</overWriteSnapshots>
106                             <overWriteIfNewer>true</overWriteIfNewer>
107                             <useRepositoryLayout>true</useRepositoryLayout>
108                             <addParentPoms>false</addParentPoms>
109                             <copyPom>false</copyPom>
110                         </configuration>
111                     </execution>
112                 </executions>
113             </plugin>
114         </plugins>
115     </build>
116 </project>