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