blob: d7d944bfb3b8bc2719ce63bdddf6a2037053edda [file] [log] [blame]
Lathisha682c322020-07-30 15:52:12 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk oran
5 ~ ================================================================================
6 ~ Copyright (C) 2020 Nordix Foundation. 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-->
Singal, Kapil (ks220y)7788a0b2020-09-03 16:24:57 -040022
Lathisha682c322020-07-30 15:52:12 +010023<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>
Lathish5d0ad5f2020-08-06 10:19:33 +010029 <version>2.0.1-SNAPSHOT</version>
Lathisha682c322020-07-30 15:52:12 +010030 <relativePath/>
31 </parent>
32
33 <groupId>org.onap.ccsdk.oran</groupId>
34 <artifactId>a1-adapter-installer</artifactId>
35 <version>1.0.0-SNAPSHOT</version>
36 <packaging>pom</packaging>
37
38 <name>ccsdk-oran :: ${project.artifactId}</name>
39
40 <properties>
41 <application.name>a1-adapter</application.name>
42 <include.transitive.dependencies>false</include.transitive.dependencies>
43 </properties>
44
Lathish5d0ad5f2020-08-06 10:19:33 +010045 <dependencies>
Lathish5d0ad5f2020-08-06 10:19:33 +010046 <dependency>
47 <groupId>org.onap.ccsdk.oran</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>
Lathish5d0ad5f2020-08-06 10:19:33 +010059 <dependency>
60 <groupId>${project.groupId}</groupId>
61 <artifactId>a1-adapter-provider</artifactId>
62 <version>${project.version}</version>
63 </dependency>
Lathish5d0ad5f2020-08-06 10:19:33 +010064 </dependencies>
65
66 <build>
67 <plugins>
68 <plugin>
69 <artifactId>maven-assembly-plugin</artifactId>
70 <executions>
71 <execution>
72 <id>maven-repo-zip</id>
73 <goals>
74 <goal>single</goal>
75 </goals>
76 <phase>package</phase>
77 <configuration>
78 <attach>true</attach>
79 <finalName>stage/${application.name}-${project.version}</finalName>
80 <descriptors>
81 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
82 </descriptors>
83 <appendAssemblyId>true</appendAssemblyId>
84 </configuration>
85 </execution>
86 </executions>
87 </plugin>
88 <plugin>
89 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-dependency-plugin</artifactId>
91 <executions>
92 <execution>
93 <id>copy-dependencies</id>
94 <goals>
95 <goal>copy-dependencies</goal>
96 </goals>
97 <phase>prepare-package</phase>
98 <configuration>
99 <transitive>false</transitive>
100 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
101 <overWriteReleases>false</overWriteReleases>
102 <overWriteSnapshots>true</overWriteSnapshots>
103 <overWriteIfNewer>true</overWriteIfNewer>
104 <useRepositoryLayout>true</useRepositoryLayout>
105 <addParentPoms>false</addParentPoms>
106 <copyPom>false</copyPom>
107 <includeArtifactIds>a1-adapter-model,a1-adapter-provider,a1-adapter-feature</includeArtifactIds>
108 <scope>provided</scope>
109 </configuration>
110 </execution>
111 </executions>
112 </plugin>
113 </plugins>
114 </build>
115</project>