blob: 72cf061810dc3a99931ca2f341083ffc0c26d1cd [file] [log] [blame]
Dilip kumar Pampana108ff432018-01-08 15:08:21 -05001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell463f70e2018-01-12 10:00:59 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClung3a78edb2018-06-13 17:17:15 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Skip Wonnell463f70e2018-01-12 10:00:59 -06007 Copyright (C) 2017 Amdocs
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
Skip Wonnell463f70e2018-01-12 10:00:59 -060021 -->
Dilip kumar Pampana108ff432018-01-08 15:08:21 -050022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 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 <parent>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070026 <groupId>org.onap.appc.parent</groupId>
27 <artifactId>odlparent-lite</artifactId>
Patrick Brady19ae7802019-01-08 12:25:10 -080028 <version>1.5.0-SNAPSHOT</version>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070029 <relativePath />
Dilip kumar Pampana108ff432018-01-08 15:08:21 -050030 </parent>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070031 <groupId>org.onap.appc</groupId>
Dilip kumar Pampana108ff432018-01-08 15:08:21 -050032 <artifactId>appc-interfaces-service-installer</artifactId>
33 <name>appc-interfaces-service-installer</name>
34 <packaging>pom</packaging>
35
36 <properties>
37 <application.name>appc-interfaces-service</application.name>
38 <features.boot>appc-interfaces-service</features.boot>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070039 <features.repositories>mvn:org.onap.appc/onap-appc-interfaces-service/${project.version}/xml/features</features.repositories>
Dilip kumar Pampana108ff432018-01-08 15:08:21 -050040 <include.transitive.dependencies>false</include.transitive.dependencies>
41 </properties>
42
43 <dependencies>
44
45 <dependency>
46 <groupId>org.onap.appc</groupId>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070047 <artifactId>onap-appc-interfaces-service</artifactId>
Dilip kumar Pampana108ff432018-01-08 15:08:21 -050048 <version>${project.version}</version>
49 <classifier>features</classifier>
50 <type>xml</type>
51 <exclusions>
52 <exclusion>
53 <groupId>*</groupId>
54 <artifactId>*</artifactId>
55 </exclusion>
56 </exclusions>
57 </dependency>
58 <dependency>
59 <groupId>org.onap.appc</groupId>
60 <artifactId>appc-interfaces-service-bundle</artifactId>
61 <version>${project.version}</version>
62 </dependency>
63
64 </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 <appendAssemblyId>false</appendAssemblyId>
79 <attach>false</attach>
80 <finalName>stage/${application.name}-${project.version}</finalName>
81 <descriptors>
82 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
83 </descriptors>
84 </configuration>
85 </execution>
86 <execution>
87 <id>installer-zip</id>
88 <goals>
89 <goal>single</goal>
90 </goals>
91 <phase>package</phase>
92 <configuration>
93 <appendAssemblyId>false</appendAssemblyId>
94 <attach>true</attach>
95 <finalName>${application.name}-${project.version}</finalName>
96 <descriptors>
97 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
98 </descriptors>
99 </configuration>
100 </execution>
101 </executions>
102 </plugin>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-dependency-plugin</artifactId>
106 <executions>
107 <execution>
108 <id>copy-dependencies</id>
109 <goals>
110 <goal>copy-dependencies</goal>
111 </goals>
112 <phase>prepare-package</phase>
113 <configuration>
114 <transitive>false</transitive>
115 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
116 <overWriteReleases>false</overWriteReleases>
117 <overWriteSnapshots>true</overWriteSnapshots>
118 <overWriteIfNewer>true</overWriteIfNewer>
119 <useRepositoryLayout>true</useRepositoryLayout>
120 <addParentPoms>false</addParentPoms>
121 <copyPom>false</copyPom>
122 <excludeGroupIds>org.opendaylight</excludeGroupIds>
123 <scope>provided</scope>
124 </configuration>
125 </execution>
126 </executions>
127 </plugin>
128 <plugin>
129 <artifactId>maven-resources-plugin</artifactId>
130 <executions>
131 <execution>
132 <id>copy-version</id>
133 <goals>
134 <goal>copy-resources</goal>
135 </goals>
136 <!-- here the phase you need -->
137 <phase>validate</phase>
138 <configuration>
139 <outputDirectory>${basedir}/target/stage</outputDirectory>
140 <resources>
141 <resource>
142 <directory>src/main/resources/scripts</directory>
143 <includes>
144 <include>install-feature.sh</include>
145 </includes>
146 <filtering>true</filtering>
147 </resource>
148 </resources>
149 </configuration>
150 </execution>
151 </executions>
152 </plugin>
153 </plugins>
154 </build>
155
Patrick Bradyed1cf1f2019-04-26 12:36:25 -0700156 <version>1.6.0-SNAPSHOT</version>
Dilip kumar Pampana108ff432018-01-08 15:08:21 -0500157</project>