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