Use latest released parent pom
[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
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-helpserver-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-helpserver</application.name>
45         <include.transitive.dependencies>false</include.transitive.dependencies>
46     </properties>
47
48     <dependencies>
49
50         <dependency>
51             <groupId>${project.groupId}</groupId>
52             <artifactId>${application.name}-feature</artifactId>
53             <version>${project.version}</version>
54             <type>xml</type>
55             <classifier>features</classifier>
56             <exclusions>
57                 <exclusion>
58                     <groupId>*</groupId>
59                     <artifactId>*</artifactId>
60                 </exclusion>
61             </exclusions>
62         </dependency>
63         <dependency>
64             <groupId>${project.groupId}</groupId>
65             <artifactId>${application.name}-provider</artifactId>
66             <version>${project.version}</version>
67         </dependency>
68     </dependencies>
69
70     <build>
71         <plugins>
72             <plugin>
73                 <artifactId>maven-assembly-plugin</artifactId>
74                 <executions>
75                     <execution>
76                         <id>maven-repo-zip</id>
77                         <goals>
78                             <goal>single</goal>
79                         </goals>
80                         <phase>package</phase>
81                         <configuration>
82                             <attach>true</attach>
83                             <finalName>stage/${application.name}-${project.version}</finalName>
84                             <descriptors>
85                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
86                             </descriptors>
87                             <appendAssemblyId>true</appendAssemblyId>
88                         </configuration>
89                     </execution>
90                 </executions>
91             </plugin>
92             <plugin>
93                 <groupId>org.apache.maven.plugins</groupId>
94                 <artifactId>maven-dependency-plugin</artifactId>
95                 <executions>
96                     <execution>
97                         <id>copy-nested-dependencies</id>
98                         <goals>
99                             <goal>copy-dependencies</goal>
100                         </goals>
101                         <phase>prepare-package</phase>
102                         <configuration>
103                             <transitive>true</transitive>
104                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
105                             <overWriteReleases>false</overWriteReleases>
106                             <overWriteSnapshots>true</overWriteSnapshots>
107                             <overWriteIfNewer>true</overWriteIfNewer>
108                             <useRepositoryLayout>true</useRepositoryLayout>
109                             <addParentPoms>false</addParentPoms>
110                             <copyPom>false</copyPom>
111                         </configuration>
112                     </execution>
113                 </executions>
114             </plugin>
115         </plugins>
116     </build>
117 </project>