Release version 1.3.1
[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 <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">
23     <modelVersion>4.0.0</modelVersion>
24
25     <parent>
26         <groupId>org.onap.ccsdk.parent</groupId>
27         <artifactId>odlparent-lite</artifactId>
28         <version>2.3.3</version>
29         <relativePath/>
30     </parent>
31
32     <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
33     <artifactId>sdnr-northbound-features-installer</artifactId>
34     <version>1.3.2-SNAPSHOT</version>
35     <packaging>pom</packaging>
36
37     <name>ccsdk-features :: sdnr-northbound :: features :: ${project.artifactId}</name>
38
39     <properties>
40         <application.name>sdnr-northbound-all</application.name>
41         <include.transitive.dependencies>false</include.transitive.dependencies>
42     </properties>
43
44     <dependencies>
45         <dependency>
46             <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
47             <artifactId>${application.name}</artifactId>
48             <version>${project.version}</version>
49             <type>xml</type>
50             <classifier>features</classifier>
51             <exclusions>
52                 <exclusion>
53                     <groupId>*</groupId>
54                     <artifactId>*</artifactId>
55                 </exclusion>
56             </exclusions>
57         </dependency>
58     </dependencies>
59
60     <build>
61         <plugins>
62             <plugin>
63                 <groupId>org.apache.maven.plugins</groupId>
64                 <artifactId>maven-dependency-plugin</artifactId>
65                 <executions>
66                     <execution>
67                         <id>copy-dependencies</id>
68                         <goals>
69                             <goal>copy-dependencies</goal>
70                         </goals>
71                         <phase>prepare-package</phase>
72                         <configuration>
73                             <transitive>false</transitive>
74                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
75                             <overWriteReleases>false</overWriteReleases>
76                             <overWriteSnapshots>true</overWriteSnapshots>
77                             <overWriteIfNewer>true</overWriteIfNewer>
78                             <useRepositoryLayout>true</useRepositoryLayout>
79                             <addParentPoms>false</addParentPoms>
80                             <copyPom>false</copyPom>
81                             <includeGroupIds>org.onap.ccsdk.features.sdnr.northbound</includeGroupIds>
82                             <scope>provided</scope>
83                         </configuration>
84                     </execution>
85                 </executions>
86             </plugin>
87             <plugin>
88                 <artifactId>maven-assembly-plugin</artifactId>
89                 <executions>
90                     <execution>
91                         <id>maven-repo-zip</id>
92                         <goals>
93                             <goal>single</goal>
94                         </goals>
95                         <phase>package</phase>
96                         <configuration>
97                             <attach>true</attach>
98                             <finalName>stage/${application.name}-${project.version}</finalName>
99                             <descriptors>
100                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
101                             </descriptors>
102                             <appendAssemblyId>true</appendAssemblyId>
103                         </configuration>
104                     </execution>
105                 </executions>
106             </plugin>
107         </plugins>
108     </build>
109 </project>