blob: 4d1d85ef85f3bda9aad5bbb1a3207586db32094e [file] [log] [blame]
Sandeep Shah8ee521e2019-11-02 05:05:25 -05001<?xml version="1.0" encoding="UTF-8"?>
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05002<!--
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
Sandeep Shah8ee521e2019-11-02 05:05:25 -050023<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">
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050024 <modelVersion>4.0.0</modelVersion>
Sandeep Shah8ee521e2019-11-02 05:05:25 -050025
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050026 <parent>
27 <groupId>org.onap.ccsdk.parent</groupId>
28 <artifactId>odlparent-lite</artifactId>
Dan Timoney92037092020-08-06 15:28:15 -040029 <version>2.0.1-SNAPSHOT</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050030 <relativePath/>
31 </parent>
Sandeep Shah8ee521e2019-11-02 05:05:25 -050032
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050033 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
34 <artifactId>a1Adapter-installer</artifactId>
Dan Timoney92037092020-08-06 15:28:15 -040035 <version>1.0.1-SNAPSHOT</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050036 <packaging>pom</packaging>
Sandeep Shah8ee521e2019-11-02 05:05:25 -050037
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050038 <name>ccsdk-features :: sdnr-northbound :: ${project.artifactId}</name>
Sandeep Shah8ee521e2019-11-02 05:05:25 -050039
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050040 <properties>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050041 <application.name>a1Adapter</application.name>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050042 <include.transitive.dependencies>false</include.transitive.dependencies>
43 </properties>
Sandeep Shah8ee521e2019-11-02 05:05:25 -050044
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050045 <dependencies>
Sandeep Shah8ee521e2019-11-02 05:05:25 -050046
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050047 <dependency>
48 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050049 <artifactId>${application.name}-feature</artifactId>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050050 <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>
Sandeep Shah8ee521e2019-11-02 05:05:25 -050060
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050061 <dependency>
62 <groupId>${project.groupId}</groupId>
63 <artifactId>a1Adapter-provider</artifactId>
64 <version>${project.version}</version>
65 </dependency>
Sandeep Shah8ee521e2019-11-02 05:05:25 -050066
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050067 </dependencies>
Sandeep Shah8ee521e2019-11-02 05:05:25 -050068
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050069 <build>
70 <plugins>
71 <plugin>
72 <artifactId>maven-assembly-plugin</artifactId>
73 <executions>
74 <execution>
75 <id>maven-repo-zip</id>
76 <goals>
77 <goal>single</goal>
78 </goals>
79 <phase>package</phase>
80 <configuration>
81 <attach>true</attach>
82 <finalName>stage/${application.name}-${project.version}</finalName>
83 <descriptors>
84 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
85 </descriptors>
86 <appendAssemblyId>true</appendAssemblyId>
87 </configuration>
88 </execution>
89 </executions>
90 </plugin>
91 <plugin>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-dependency-plugin</artifactId>
94 <executions>
95 <execution>
96 <id>copy-dependencies</id>
97 <goals>
98 <goal>copy-dependencies</goal>
99 </goals>
100 <phase>prepare-package</phase>
101 <configuration>
102 <transitive>false</transitive>
103 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
104 <overWriteReleases>false</overWriteReleases>
105 <overWriteSnapshots>true</overWriteSnapshots>
106 <overWriteIfNewer>true</overWriteIfNewer>
107 <useRepositoryLayout>true</useRepositoryLayout>
108 <addParentPoms>false</addParentPoms>
109 <copyPom>false</copyPom>
Dan Timoney6de89792020-01-16 15:13:32 -0500110 <includeArtifactIds>a1Adapter-model,a1Adapter-provider,a1Adapter-feature</includeArtifactIds>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500111 <scope>provided</scope>
112 </configuration>
113 </execution>
114 </executions>
115 </plugin>
116 </plugins>
117 </build>
Sandeep Shah8ee521e2019-11-02 05:05:25 -0500118</project>