Roll master to Guilin
[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.0.0-SNAPSHOT</version>
30         <relativePath/>
31     </parent>
32
33     <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
34     <artifactId>oofpcipoc-installer</artifactId>
35     <version>1.0.0-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
61         <dependency>
62             <groupId>${project.groupId}</groupId>
63             <artifactId>oofpcipoc-provider</artifactId>
64             <version>${project.version}</version>
65         </dependency>
66
67         <dependency>
68             <groupId>${project.groupId}</groupId>
69             <artifactId>oofpcipoc-consumer</artifactId>
70             <version>${project.version}</version>
71         </dependency>
72
73     </dependencies>
74
75     <build>
76         <plugins>
77             <plugin>
78                 <artifactId>maven-assembly-plugin</artifactId>
79                 <executions>
80                     <execution>
81                         <id>maven-repo-zip</id>
82                         <goals>
83                             <goal>single</goal>
84                         </goals>
85                         <phase>package</phase>
86                         <configuration>
87                             <attach>true</attach>
88                             <finalName>stage/${application.name}-${project.version}</finalName>
89                             <descriptors>
90                                 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
91                             </descriptors>
92                             <appendAssemblyId>true</appendAssemblyId>
93                         </configuration>
94                     </execution>
95                 </executions>
96             </plugin>
97             <plugin>
98                 <groupId>org.apache.maven.plugins</groupId>
99                 <artifactId>maven-dependency-plugin</artifactId>
100                 <executions>
101                     <execution>
102                         <id>copy-dependencies</id>
103                         <goals>
104                             <goal>copy-dependencies</goal>
105                         </goals>
106                         <phase>prepare-package</phase>
107                         <configuration>
108                             <transitive>false</transitive>
109                             <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
110                             <overWriteReleases>false</overWriteReleases>
111                             <overWriteSnapshots>true</overWriteSnapshots>
112                             <overWriteIfNewer>true</overWriteIfNewer>
113                             <useRepositoryLayout>true</useRepositoryLayout>
114                             <addParentPoms>false</addParentPoms>
115                             <copyPom>false</copyPom>
116                             <includeArtifactIds>oofpcipoc-model,oofpcipoc-provider,oofpcipoc-consumer,oofpcipoc-feature</includeArtifactIds>
117                             <scope>provided</scope>
118                         </configuration>
119                     </execution>
120                 </executions>
121             </plugin>
122         </plugins>
123     </build>
124 </project>