Release version 1.3.1
[ccsdk/features.git] / sdnr / northbound / oofpcipoc / 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>oofpcipoc-installer</artifactId>
34     <version>1.3.2-SNAPSHOT</version>
35     <packaging>pom</packaging>
36
37     <name>ccsdk-features :: sdnr-northbound :: ${project.artifactId}</name>
38
39     <properties>
40         <application.name>oofpcipoc</application.name>
41         <include.transitive.dependencies>false</include.transitive.dependencies>
42     </properties>
43
44     <dependencies>
45
46         <dependency>
47             <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
48             <artifactId>${application.name}-feature</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         <dependency>
60             <groupId>${project.groupId}</groupId>
61             <artifactId>oofpcipoc-provider</artifactId>
62             <version>${project.version}</version>
63         </dependency>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>oofpcipoc-consumer</artifactId>
67             <version>${project.version}</version>
68         </dependency>
69     </dependencies>
70
71     <build>
72         <plugins>
73             <plugin>
74                 <artifactId>maven-assembly-plugin</artifactId>
75                 <executions>
76                     <execution>
77                         <id>maven-repo-zip</id>
78                         <goals>
79                             <goal>single</goal>
80                         </goals>
81                         <phase>package</phase>
82                         <configuration>
83                             <attach>true</attach>
84                             <finalName>stage/${application.name}-${project.version}</finalName>
85                             <descriptors>
86                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
87                             </descriptors>
88                             <appendAssemblyId>true</appendAssemblyId>
89                         </configuration>
90                     </execution>
91                 </executions>
92             </plugin>
93             <plugin>
94                 <groupId>org.apache.maven.plugins</groupId>
95                 <artifactId>maven-dependency-plugin</artifactId>
96                 <executions>
97                     <execution>
98                         <id>copy-dependencies</id>
99                         <goals>
100                             <goal>copy-dependencies</goal>
101                         </goals>
102                         <phase>prepare-package</phase>
103                         <configuration>
104                             <transitive>false</transitive>
105                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
106                             <overWriteReleases>false</overWriteReleases>
107                             <overWriteSnapshots>true</overWriteSnapshots>
108                             <overWriteIfNewer>true</overWriteIfNewer>
109                             <useRepositoryLayout>true</useRepositoryLayout>
110                             <addParentPoms>false</addParentPoms>
111                             <copyPom>false</copyPom>
112                             <includeArtifactIds>oofpcipoc-model,oofpcipoc-provider,oofpcipoc-consumer,oofpcipoc-feature</includeArtifactIds>
113                             <scope>provided</scope>
114                         </configuration>
115                     </execution>
116                 </executions>
117             </plugin>
118         </plugins>
119     </build>
120 </project>