blob: d725342f8bed3ab4c5f56338b270de90cc9d1eab [file] [log] [blame]
Patrick Bradyc7d00752017-06-01 10:45:37 -07001<?xml version="1.0" encoding="UTF-8"?>
Anand9ebb5dd2018-01-04 12:44:05 -05002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
Patrick Bradyc664d0a2019-01-29 10:18:27 -08006 Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
Anand9ebb5dd2018-01-04 12:44:05 -05007 ================================================================================
8 Copyright (C) 2017 Amdocs
9 =============================================================================
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21
Anand9ebb5dd2018-01-04 12:44:05 -050022 ============LICENSE_END=========================================================
23 -->
Patrick Bradyc7d00752017-06-01 10:45:37 -070024<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">
25 <modelVersion>4.0.0</modelVersion>
Patrick Brady85aedb52018-08-09 13:43:54 -070026 <parent>
27 <groupId>org.onap.appc.parent</groupId>
28 <artifactId>odlparent-lite</artifactId>
Patrick Brady8183cf12019-05-20 23:12:51 -070029 <version>2.6.0-SNAPSHOT</version>
Patrick Brady85aedb52018-08-09 13:43:54 -070030 <relativePath />
31 </parent>
32 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070033
34 <artifactId>appc-oam-installer</artifactId>
35 <name>APPC OAM - Karaf Installer</name>
36 <packaging>pom</packaging>
37
38 <properties>
39 <application.name>appc-oam</application.name>
40 <features.boot>appc-oam</features.boot>
Patrick Brady85aedb52018-08-09 13:43:54 -070041 <features.repositories>mvn:org.onap.appc/onap-appc-oam/${project.version}/xml/features</features.repositories>
Patrick Bradyc7d00752017-06-01 10:45:37 -070042 <include.transitive.dependencies>false</include.transitive.dependencies>
Patrick Brady85aedb52018-08-09 13:43:54 -070043 <feature-name>appc-oam</feature-name>
Patrick Bradyc7d00752017-06-01 10:45:37 -070044 </properties>
45
46 <dependencies>
47
48 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080049 <groupId>org.onap.appc</groupId>
Patrick Brady85aedb52018-08-09 13:43:54 -070050 <artifactId>onap-appc-oam</artifactId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070051 <version>${project.version}</version>
52 <classifier>features</classifier>
53 <type>xml</type>
54 <exclusions>
55 <exclusion>
56 <groupId>*</groupId>
57 <artifactId>*</artifactId>
58 </exclusion>
59 </exclusions>
60 </dependency>
61
62 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080063 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070064 <artifactId>appc-oam-bundle</artifactId>
65 <version>${project.version}</version>
66 </dependency>
67
Patrick Bradyc7d00752017-06-01 10:45:37 -070068 </dependencies>
69
70 <build>
71 <plugins>
72 <plugin>
73 <artifactId>maven-assembly-plugin</artifactId>
74 <executions>
75 <execution>
76 <id>maven-repo-zip</id>
77 <goals>
78 <goal>single</goal>
79 </goals>
80 <phase>package</phase>
81 <configuration>
82 <appendAssemblyId>false</appendAssemblyId>
83 <attach>false</attach>
84 <finalName>stage/${application.name}-${project.version}</finalName>
85 <descriptors>
86 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
87 </descriptors>
88 </configuration>
89 </execution>
90 <execution>
91 <id>installer-zip</id>
92 <goals>
93 <goal>single</goal>
94 </goals>
95 <phase>package</phase>
96 <configuration>
97 <appendAssemblyId>false</appendAssemblyId>
98 <attach>true</attach>
99 <finalName>${application.name}-${project.version}</finalName>
100 <descriptors>
101 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
102 </descriptors>
103 </configuration>
104 </execution>
105 </executions>
106 </plugin>
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-dependency-plugin</artifactId>
110 <executions>
111 <execution>
112 <id>copy-dependencies</id>
113 <goals>
114 <goal>copy-dependencies</goal>
115 </goals>
116 <phase>prepare-package</phase>
117 <configuration>
118 <transitive>false</transitive>
119 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
120 <overWriteReleases>false</overWriteReleases>
121 <overWriteSnapshots>true</overWriteSnapshots>
122 <overWriteIfNewer>true</overWriteIfNewer>
123 <useRepositoryLayout>true</useRepositoryLayout>
124 <addParentPoms>false</addParentPoms>
125 <copyPom>false</copyPom>
126 <excludeGroupIds>org.opendaylight</excludeGroupIds>
127 <scope>provided</scope>
128 </configuration>
129 </execution>
130 </executions>
131 </plugin>
132 <plugin>
133 <artifactId>maven-resources-plugin</artifactId>
134 <executions>
135 <execution>
136 <id>copy-version</id>
137 <goals>
138 <goal>copy-resources</goal>
139 </goals>
140 <!-- here the phase you need -->
141 <phase>validate</phase>
142 <configuration>
143 <outputDirectory>${basedir}/target/stage</outputDirectory>
144 <resources>
145 <resource>
146 <directory>src/main/resources/scripts</directory>
147 <includes>
148 <include>install-feature.sh</include>
149 </includes>
150 <filtering>true</filtering>
151 </resource>
152 </resources>
153 </configuration>
154 </execution>
155 </executions>
156 </plugin>
157 </plugins>
158 </build>
159
Patrick Bradyed1cf1f2019-04-26 12:36:25 -0700160 <version>1.6.0-SNAPSHOT</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700161</project>