blob: 6c657f8e74d7da8d82273246493f45b8be88b575 [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell8c4b89b2018-01-12 09:24:03 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClungf6332bd2018-06-13 13:07:38 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Skip Wonnell8c4b89b2018-01-12 09:24:03 -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 Wonnell8c4b89b2018-01-12 09:24:03 -060021 -->
Patrick Brady57b5eef2017-02-10 15:00:49 -080022<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">
23 <modelVersion>4.0.0</modelVersion>
24 <parent>
Patrick Brady7f383f92018-07-30 14:35:31 -070025 <artifactId>odlparent-lite</artifactId>
26 <groupId>org.onap.appc.parent</groupId>
Patrick Brady84d0a252018-05-22 10:42:55 -070027 <version>1.4.0-SNAPSHOT</version>
Patrick Brady7f383f92018-07-30 14:35:31 -070028 <relativePath />
Patrick Brady57b5eef2017-02-10 15:00:49 -080029 </parent>
Patrick Brady7f383f92018-07-30 14:35:31 -070030 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080031 <artifactId>appc-rest-adapter-installer</artifactId>
32 <name>rest Adapter - Karaf Installer</name>
33 <packaging>pom</packaging>
34
35 <properties>
36 <application.name>appc-rest-adapter</application.name>
37 <features.boot>appc-rest-adapter</features.boot>
Patrick Brady7f383f92018-07-30 14:35:31 -070038 <features.repositories>mvn:org.onap.appc/onap-appc-rest-adapter/${project.version}/xml/features</features.repositories>
Patrick Brady57b5eef2017-02-10 15:00:49 -080039 <include.transitive.dependencies>false</include.transitive.dependencies>
40 </properties>
41
42 <dependencies>
43 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080044 <groupId>org.onap.appc</groupId>
Patrick Brady7f383f92018-07-30 14:35:31 -070045 <artifactId>onap-appc-rest-adapter</artifactId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080046 <classifier>features</classifier>
Patrick Brady7f383f92018-07-30 14:35:31 -070047 <version>${project.version}</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -080048 <type>xml</type>
49 <exclusions>
50 <exclusion>
51 <groupId>*</groupId>
52 <artifactId>*</artifactId>
53 </exclusion>
54 </exclusions>
55 </dependency>
56
57 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080058 <groupId>org.onap.appc</groupId>
Patrick Brady57b5eef2017-02-10 15:00:49 -080059 <artifactId>appc-rest-adapter-bundle</artifactId>
60 <version>${project.version}</version>
61 </dependency>
62 </dependencies>
63
64 <build>
65 <plugins>
66 <plugin>
67 <artifactId>maven-assembly-plugin</artifactId>
68 <executions>
69 <execution>
70 <id>maven-repo-zip</id>
71 <goals>
72 <goal>single</goal>
73 </goals>
74 <phase>package</phase>
75 <configuration>
76 <appendAssemblyId>false</appendAssemblyId>
77 <attach>false</attach>
78 <finalName>stage/${application.name}-${project.version}</finalName>
79 <descriptors>
80 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
81 </descriptors>
82 </configuration>
83 </execution>
84 <execution>
85 <id>installer-zip</id>
86 <goals>
87 <goal>single</goal>
88 </goals>
89 <phase>package</phase>
90 <configuration>
91 <appendAssemblyId>false</appendAssemblyId>
92 <attach>true</attach>
93 <finalName>${application.name}-${project.version}</finalName>
94 <descriptors>
95 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
96 </descriptors>
97 </configuration>
98 </execution>
99 </executions>
100 </plugin>
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-dependency-plugin</artifactId>
104 <executions>
105 <execution>
106 <id>copy-dependencies</id>
107 <goals>
108 <goal>copy-dependencies</goal>
109 </goals>
110 <phase>prepare-package</phase>
111 <configuration>
112 <transitive>false</transitive>
113 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
114 <overWriteReleases>false</overWriteReleases>
115 <overWriteSnapshots>true</overWriteSnapshots>
116 <overWriteIfNewer>true</overWriteIfNewer>
117 <useRepositoryLayout>true</useRepositoryLayout>
118 <addParentPoms>false</addParentPoms>
119 <copyPom>false</copyPom>
120 <excludeGroupIds>org.opendaylight</excludeGroupIds>
121 <scope>provided</scope>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
126 <plugin>
127 <artifactId>maven-resources-plugin</artifactId>
128 <executions>
129 <execution>
130 <id>copy-version</id>
131 <goals>
132 <goal>copy-resources</goal>
133 </goals>
134 <!-- here the phase you need -->
135 <phase>validate</phase>
136 <configuration>
137 <outputDirectory>${basedir}/target/stage</outputDirectory>
138 <resources>
139 <resource>
140 <directory>src/main/resources/scripts</directory>
141 <includes>
142 <include>install-feature.sh</include>
143 </includes>
144 <filtering>true</filtering>
145 </resource>
146 </resources>
147 </configuration>
148 </execution>
149 </executions>
150 </plugin>
Patrick Brady7f383f92018-07-30 14:35:31 -0700151
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-dependency-plugin</artifactId>
155 <executions>
156 <execution>
157 <id>copy</id>
158 <goals>
159 <goal>copy</goal>
160 </goals>
161 <phase>prepare-package</phase>
162 <configuration>
163 <transitive>false</transitive>
164 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
165 <overWriteReleases>false</overWriteReleases>
166 <overWriteSnapshots>true</overWriteSnapshots>
167 <overWriteIfNewer>true</overWriteIfNewer>
168 <useRepositoryLayout>true</useRepositoryLayout>
169 <addParentPoms>false</addParentPoms>
170 <copyPom>false</copyPom>
171 <excludeGroupIds>org.opendaylight</excludeGroupIds>
172 <scope>provided</scope>
173 <artifactItems>
174 <artifactItem>
175 <groupId>com.fasterxml.jackson.core</groupId>
176 <artifactId>jackson-databind</artifactId>
Taka Cho2fd20f52018-09-02 15:09:25 -0400177 <version>2.8.6</version>
Patrick Brady7f383f92018-07-30 14:35:31 -0700178 <type>jar</type>
Taka Cho2fd20f52018-09-02 15:09:25 -0400179 <outputDirectory>${project.build.directory}/assembly/system/com/fasterxml/jackson/core/jackson-databind/2.8.6</outputDirectory>
Patrick Brady7f383f92018-07-30 14:35:31 -0700180 </artifactItem>
181 <artifactItem>
182 <groupId>com.fasterxml.jackson.core</groupId>
183 <artifactId>jackson-core</artifactId>
Taka Cho2fd20f52018-09-02 15:09:25 -0400184 <version>2.8.6</version>
Patrick Brady7f383f92018-07-30 14:35:31 -0700185 <type>jar</type>
Taka Cho2fd20f52018-09-02 15:09:25 -0400186 <outputDirectory>${project.build.directory}/assembly/system/com/fasterxml/jackson/core/jackson-core/2.8.6</outputDirectory>
Patrick Brady7f383f92018-07-30 14:35:31 -0700187 </artifactItem>
188 <artifactItem>
189 <groupId>com.fasterxml.jackson.core</groupId>
190 <artifactId>jackson-annotations</artifactId>
Taka Cho2fd20f52018-09-02 15:09:25 -0400191 <version>2.8.6</version>
Patrick Brady7f383f92018-07-30 14:35:31 -0700192 <type>jar</type>
Taka Cho2fd20f52018-09-02 15:09:25 -0400193 <outputDirectory>${project.build.directory}/assembly/system/com/fasterxml/jackson/core/jackson-annotations/2.8.6</outputDirectory>
Patrick Brady7f383f92018-07-30 14:35:31 -0700194 </artifactItem>
195 <artifactItem>
196 <groupId>com.fasterxml.jackson.jaxrs</groupId>
197 <artifactId>jackson-jaxrs-base</artifactId>
Taka Cho2fd20f52018-09-02 15:09:25 -0400198 <version>2.8.6</version>
Patrick Brady7f383f92018-07-30 14:35:31 -0700199 <type>jar</type>
Taka Cho2fd20f52018-09-02 15:09:25 -0400200 <outputDirectory>${project.build.directory}/assembly/system/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.8.6</outputDirectory>
Patrick Brady7f383f92018-07-30 14:35:31 -0700201 </artifactItem>
202 <artifactItem>
203 <groupId>com.fasterxml.jackson.jaxrs</groupId>
204 <artifactId>jackson-jaxrs-json-provider</artifactId>
Taka Cho2fd20f52018-09-02 15:09:25 -0400205 <version>2.8.6</version>
Patrick Brady7f383f92018-07-30 14:35:31 -0700206 <type>jar</type>
Taka Cho2fd20f52018-09-02 15:09:25 -0400207 <outputDirectory>${project.build.directory}/assembly/system/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.8.6</outputDirectory>
Patrick Brady7f383f92018-07-30 14:35:31 -0700208 </artifactItem>
209 <artifactItem>
210 <groupId>org.glassfish.jersey.core</groupId>
211 <artifactId>jersey-server</artifactId>
212 <version>2.25.1</version>
213 <type>jar</type>
214 <outputDirectory>${project.build.directory}/assembly/system/org/glassfish/jersey/core/jersey-server/2.25.1</outputDirectory>
215 </artifactItem>
216 <artifactItem>
217 <groupId>com.ning</groupId>
218 <artifactId>async-http-client</artifactId>
219 <version>1.9.39</version>
220 <type>jar</type>
221 <outputDirectory>${project.build.directory}/assembly/system/com/ning/async-http-client/1.9.39</outputDirectory>
222 </artifactItem>
223 <artifactItem>
224 <groupId>io.netty</groupId>
225 <artifactId>netty</artifactId>
226 <version>3.10.5.Final</version>
227 <type>jar</type>
228 <outputDirectory>${project.build.directory}/assembly/system/io/netty/netty/3.10.5.Final</outputDirectory>
229 </artifactItem>
230 <artifactItem>
231 <groupId>org.glassfish.grizzly</groupId>
232 <artifactId>grizzly-http-servlet</artifactId>
233 <version>2.3.28</version>
234 <type>jar</type>
235 <outputDirectory>${project.build.directory}/assembly/system/org/glassfish/grizzly/grizzly-http-servlet/2.3.28</outputDirectory>
236 </artifactItem>
237 <artifactItem>
238 <groupId>org.glassfish.grizzly</groupId>
239 <artifactId>grizzly-http-server</artifactId>
240 <version>2.3.28</version>
241 <type>jar</type>
242 <outputDirectory>${project.build.directory}/assembly/system/org/glassfish/grizzly/grizzly-http-server/2.3.28</outputDirectory>
243 </artifactItem>
244 <artifactItem>
245 <groupId>org.glassfish.grizzly</groupId>
246 <artifactId>grizzly-http</artifactId>
247 <version>2.3.28</version>
248 <type>jar</type>
249 <outputDirectory>${project.build.directory}/assembly/system/org/glassfish/grizzly/grizzly-http/2.3.28</outputDirectory>
250 </artifactItem>
251 </artifactItems>
252 </configuration>
253 </execution>
254 </executions>
255 </plugin>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800256
257 </plugins>
258 </build>
259
Patrick Brady769d3452018-09-24 13:09:27 -0700260 <version>1.4.0-SNAPSHOT</version>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800261</project>