waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
ramverma | 42e4926 | 2019-06-06 14:44:52 +0000 | [diff] [blame] | 4 | Modifications Copyright (C) 2019 Nordix Foundation |
Rashmi Pujar | 7b94541 | 2019-06-17 10:34:49 -0400 | [diff] [blame] | 5 | Modifications Copyright (C) 2019 Bell Canada. |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | |
| 19 | SPDX-License-Identifier: Apache-2.0 |
| 20 | ============LICENSE_END========================================================= |
| 21 | --> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 22 | <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"> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <parent> |
| 26 | <groupId>org.onap.policy.apex-pdp.packages</groupId> |
| 27 | <artifactId>packages</artifactId> |
jrh3 | d7d9df6 | 2019-09-12 10:07:06 -0400 | [diff] [blame] | 28 | <version>2.3.0-SNAPSHOT</version> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 29 | </parent> |
| 30 | |
| 31 | <artifactId>apex-pdp-package-full</artifactId> |
| 32 | <name>${project.artifactId}</name> |
| 33 | <description>[${project.parent.artifactId}] packaging, with all optional functionality, clients, servlets, and examples included</description> |
| 34 | |
| 35 | <properties> |
| 36 | <install.package.name>${project.artifactId}</install.package.name> |
| 37 | </properties> |
| 38 | |
| 39 | <dependencies> |
| 40 | <dependency> |
| 41 | <groupId>org.onap.policy.apex-pdp.services</groupId> |
| 42 | <artifactId>services-engine</artifactId> |
| 43 | <version>${project.version}</version> |
| 44 | </dependency> |
a.sreekumar | eabc695 | 2019-04-11 16:56:29 +0000 | [diff] [blame] | 45 | <dependency> |
| 46 | <groupId>org.onap.policy.apex-pdp.services</groupId> |
| 47 | <artifactId>services-onappf</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | </dependency> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 50 | <!-- Client Servlet applications --> |
| 51 | <dependency> |
| 52 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
| 53 | <artifactId>client-full</artifactId> |
| 54 | <type>war</type> |
| 55 | <version>${project.version}</version> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
| 59 | <artifactId>client-editor</artifactId> |
| 60 | <type>war</type> |
| 61 | <version>${project.version}</version> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
| 65 | <artifactId>client-deployment</artifactId> |
| 66 | <type>war</type> |
| 67 | <version>${project.version}</version> |
| 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
| 71 | <artifactId>client-monitoring</artifactId> |
| 72 | <type>war</type> |
| 73 | <version>${project.version}</version> |
| 74 | </dependency> |
| 75 | |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 76 | <!-- Plugins for Context Distribution --> |
| 77 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 78 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId> |
| 79 | <artifactId>plugins-context-distribution-hazelcast</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 80 | <version>${project.version}</version> |
| 81 | </dependency> |
| 82 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 83 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId> |
| 84 | <artifactId>plugins-context-distribution-infinispan</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 85 | <version>${project.version}</version> |
| 86 | </dependency> |
| 87 | |
| 88 | <!-- Plugins for Context Locking --> |
| 89 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 90 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-locking</groupId> |
| 91 | <artifactId>plugins-context-locking-hazelcast</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 92 | <version>${project.version}</version> |
| 93 | </dependency> |
| 94 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 95 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-locking</groupId> |
| 96 | <artifactId>plugins-context-locking-curator</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 97 | <version>${project.version}</version> |
| 98 | </dependency> |
| 99 | |
| 100 | <!-- Plugins for Context Schemas --> |
| 101 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 102 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-schema</groupId> |
| 103 | <artifactId>plugins-context-schema-avro</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 104 | <version>${project.version}</version> |
| 105 | </dependency> |
| 106 | |
| 107 | <!-- Plugins for Executors --> |
| 108 | <dependency> |
| 109 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 110 | <artifactId>plugins-executor-java</artifactId> |
| 111 | <version>${project.version}</version> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 115 | <artifactId>plugins-executor-javascript</artifactId> |
| 116 | <version>${project.version}</version> |
| 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 120 | <artifactId>plugins-executor-jruby</artifactId> |
| 121 | <version>${project.version}</version> |
| 122 | </dependency> |
liamfallon | 88f1759 | 2019-09-14 12:39:25 +0100 | [diff] [blame] | 123 | <!-- Jython support disabled due to security concerns --> |
| 124 | <!-- dependency> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 125 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 126 | <artifactId>plugins-executor-jython</artifactId> |
| 127 | <version>${project.version}</version> |
liamfallon | 88f1759 | 2019-09-14 12:39:25 +0100 | [diff] [blame] | 128 | </dependency--> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 129 | <dependency> |
| 130 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 131 | <artifactId>plugins-executor-mvel</artifactId> |
| 132 | <version>${project.version}</version> |
| 133 | </dependency> |
| 134 | |
| 135 | <!-- Plugins for Persistence of Models over JPA --> |
| 136 | <dependency> |
| 137 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-persistence.plugins-persistence-jpa</groupId> |
| 138 | <artifactId>plugins-persistence-jpa-eclipselink</artifactId> |
| 139 | <version>${project.version}</version> |
| 140 | </dependency> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 141 | |
| 142 | <!-- Plugins for event carrier technologies --> |
| 143 | <dependency> |
| 144 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 145 | <artifactId>plugins-event-carrier-kafka</artifactId> |
| 146 | <version>${project.version}</version> |
| 147 | </dependency> |
| 148 | <dependency> |
| 149 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 150 | <artifactId>plugins-event-carrier-websocket</artifactId> |
| 151 | <version>${project.version}</version> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 155 | <artifactId>plugins-event-carrier-jms</artifactId> |
| 156 | <version>${project.version}</version> |
| 157 | </dependency> |
| 158 | <dependency> |
| 159 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 160 | <artifactId>plugins-event-carrier-restclient</artifactId> |
| 161 | <version>${project.version}</version> |
| 162 | </dependency> |
| 163 | <dependency> |
| 164 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 165 | <artifactId>plugins-event-carrier-restserver</artifactId> |
| 166 | <version>${project.version}</version> |
| 167 | </dependency> |
| 168 | <dependency> |
| 169 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 170 | <artifactId>plugins-event-carrier-restrequestor</artifactId> |
| 171 | <version>${project.version}</version> |
| 172 | </dependency> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 173 | |
| 174 | <!-- Benchmark test event generator --> |
| 175 | <dependency> |
| 176 | <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId> |
| 177 | <artifactId>performance-benchmark-test</artifactId> |
| 178 | <version>${project.version}</version> |
| 179 | </dependency> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 180 | |
| 181 | <!-- Plugins for event protocols --> |
| 182 | <dependency> |
| 183 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId> |
| 184 | <artifactId>plugins-event-protocol-xml</artifactId> |
| 185 | <version>${project.version}</version> |
| 186 | </dependency> |
| 187 | <dependency> |
| 188 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId> |
| 189 | <artifactId>plugins-event-protocol-jms</artifactId> |
| 190 | <version>${project.version}</version> |
| 191 | </dependency> |
| 192 | |
| 193 | <!-- Authoring and Editors --> |
| 194 | <dependency> |
| 195 | <groupId>org.onap.policy.apex-pdp.auth</groupId> |
| 196 | <artifactId>cli-editor</artifactId> |
| 197 | <version>${project.version}</version> |
| 198 | </dependency> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 199 | |
| 200 | <!-- Tools --> |
| 201 | <dependency> |
| 202 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 203 | <artifactId>simple-wsclient</artifactId> |
| 204 | <version>${project.version}</version> |
| 205 | </dependency> |
| 206 | <dependency> |
| 207 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 208 | <artifactId>model-generator</artifactId> |
| 209 | <version>${project.version}</version> |
| 210 | </dependency> |
| 211 | |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 212 | <!-- Test Data used by examples --> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 213 | <dependency> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 214 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 215 | <artifactId>integration-common</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 216 | <version>${project.version}</version> |
| 217 | </dependency> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 218 | |
| 219 | <!-- Sample Examples --> |
| 220 | <dependency> |
| 221 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 222 | <artifactId>examples-aadm</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 223 | <version>${project.version}</version> |
| 224 | </dependency> |
| 225 | <dependency> |
| 226 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 227 | <artifactId>examples-adaptive</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 228 | <version>${project.version}</version> |
| 229 | </dependency> |
| 230 | <dependency> |
| 231 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 232 | <artifactId>examples-myfirstpolicy</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 233 | <version>${project.version}</version> |
| 234 | </dependency> |
| 235 | <dependency> |
| 236 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 237 | <artifactId>examples-pcvs</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 238 | <version>${project.version}</version> |
| 239 | </dependency> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 240 | <dependency> |
| 241 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 242 | <artifactId>examples-decisionmaker</artifactId> |
| 243 | <version>${project.version}</version> |
| 244 | </dependency> |
| 245 | <dependency> |
| 246 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 247 | <artifactId>examples-periodic</artifactId> |
| 248 | <version>${project.version}</version> |
| 249 | </dependency> |
| 250 | <dependency> |
| 251 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 252 | <artifactId>examples-onap-vcpe</artifactId> |
| 253 | <version>${project.version}</version> |
| 254 | </dependency> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 255 | <dependency> |
| 256 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 257 | <artifactId>examples-servlet</artifactId> |
| 258 | <type>war</type> |
| 259 | <version>${project.version}</version> |
| 260 | </dependency> |
s00370346 | 5262c35 | 2019-04-11 00:14:39 +0530 | [diff] [blame] | 261 | <dependency> |
| 262 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 263 | <artifactId>examples-onap-bbs</artifactId> |
| 264 | <version>${project.version}</version> |
| 265 | </dependency> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 266 | </dependencies> |
| 267 | |
| 268 | <build> |
| 269 | <plugins> |
| 270 | <!-- Copy required resources and examples --> |
| 271 | <plugin> |
| 272 | <groupId>org.apache.maven.plugins</groupId> |
| 273 | <artifactId>maven-dependency-plugin</artifactId> |
| 274 | <executions> |
| 275 | <execution> |
| 276 | <id>unpack-etc-examples</id> |
| 277 | <phase>package</phase> |
| 278 | <goals> |
| 279 | <goal>unpack</goal> |
| 280 | </goals> |
| 281 | <configuration> |
| 282 | <artifactItems> |
| 283 | <artifactItem> |
a.sreekumar | eabc695 | 2019-04-11 16:56:29 +0000 | [diff] [blame] | 284 | <groupId>org.onap.policy.apex-pdp.services</groupId> |
| 285 | <artifactId>services-onappf</artifactId> |
| 286 | <version>${project.version}</version> |
| 287 | <type>jar</type> |
| 288 | <overWrite>false</overWrite> |
| 289 | <outputDirectory>${project.build.directory}/etc/onappf</outputDirectory> |
| 290 | <includes>config/*</includes> |
| 291 | </artifactItem> |
| 292 | <artifactItem> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 293 | <groupId>org.onap.policy.apex-pdp.auth</groupId> |
| 294 | <artifactId>cli-editor</artifactId> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 295 | <version>${project.version}</version> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 296 | <type>jar</type> |
| 297 | <overWrite>false</overWrite> |
| 298 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 299 | <includes>etc/**/*,examples/**/*</includes> |
| 300 | </artifactItem> |
| 301 | <artifactItem> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 302 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 303 | <artifactId>integration-common</artifactId> |
| 304 | <version>${project.version}</version> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 305 | <type>jar</type> |
| 306 | <overWrite>false</overWrite> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 307 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 308 | <includes>etc/**/*,examples/**/*</includes> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 309 | </artifactItem> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 310 | <artifactItem> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 311 | <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId> |
| 312 | <artifactId>performance-benchmark-test</artifactId> |
| 313 | <version>${project.version}</version> |
| 314 | <type>jar</type> |
| 315 | <overWrite>false</overWrite> |
| 316 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 317 | <includes>examples/**/*</includes> |
| 318 | </artifactItem> |
| 319 | <artifactItem> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 320 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 321 | <artifactId>examples-aadm</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 322 | <version>${project.version}</version> |
| 323 | <type>jar</type> |
| 324 | <overWrite>false</overWrite> |
| 325 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 326 | <includes>etc/**/*,examples/**/*</includes> |
| 327 | </artifactItem> |
| 328 | <artifactItem> |
| 329 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 330 | <artifactId>examples-adaptive</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 331 | <version>${project.version}</version> |
| 332 | <type>jar</type> |
| 333 | <overWrite>false</overWrite> |
| 334 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 335 | <includes>etc/**/*,examples/**/*</includes> |
| 336 | </artifactItem> |
| 337 | <artifactItem> |
| 338 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 339 | <artifactId>examples-myfirstpolicy</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 340 | <version>${project.version}</version> |
| 341 | <type>jar</type> |
| 342 | <overWrite>false</overWrite> |
| 343 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 344 | <includes>etc/**/*,examples/**/*</includes> |
| 345 | </artifactItem> |
| 346 | <artifactItem> |
| 347 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 348 | <artifactId>examples-pcvs</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 349 | <version>${project.version}</version> |
| 350 | <type>jar</type> |
| 351 | <overWrite>false</overWrite> |
| 352 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 353 | <includes>etc/**/*,examples/**/*</includes> |
| 354 | </artifactItem> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 355 | <artifactItem> |
| 356 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 357 | <artifactId>examples-decisionmaker</artifactId> |
| 358 | <version>${project.version}</version> |
| 359 | <type>jar</type> |
| 360 | <overWrite>false</overWrite> |
liamfallon | f28256b | 2018-09-19 21:44:33 +0100 | [diff] [blame] | 361 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 362 | <includes>etc/**/*,examples/**/*</includes> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 363 | </artifactItem> |
| 364 | <artifactItem> |
| 365 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
liamfallon | 3595f7c | 2018-09-27 15:40:13 +0100 | [diff] [blame] | 366 | <artifactId>examples-decisionmaker</artifactId> |
| 367 | <version>${project.version}</version> |
| 368 | <type>jar</type> |
| 369 | <overWrite>false</overWrite> |
| 370 | <outputDirectory>${project.build.directory}/examples/models/DecisionMaker</outputDirectory> |
liamfallon | 9684e03 | 2018-12-19 18:29:05 +0000 | [diff] [blame] | 371 | <includes>*PolicyModel.json</includes> |
liamfallon | 3595f7c | 2018-09-27 15:40:13 +0100 | [diff] [blame] | 372 | </artifactItem> |
| 373 | <artifactItem> |
| 374 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 375 | <artifactId>examples-periodic</artifactId> |
| 376 | <version>${project.version}</version> |
| 377 | <type>jar</type> |
| 378 | <overWrite>false</overWrite> |
liamfallon | f28256b | 2018-09-19 21:44:33 +0100 | [diff] [blame] | 379 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 380 | <includes>etc/**/*,examples/**/*</includes> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 381 | </artifactItem> |
| 382 | <artifactItem> |
| 383 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
liamfallon | 3595f7c | 2018-09-27 15:40:13 +0100 | [diff] [blame] | 384 | <artifactId>examples-periodic</artifactId> |
| 385 | <version>${project.version}</version> |
| 386 | <type>jar</type> |
| 387 | <overWrite>false</overWrite> |
| 388 | <outputDirectory>${project.build.directory}/examples/models/Periodic</outputDirectory> |
| 389 | <includes>PeriodicPolicyModel.json</includes> |
| 390 | </artifactItem> |
| 391 | <artifactItem> |
| 392 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 393 | <artifactId>examples-onap-vcpe</artifactId> |
| 394 | <version>${project.version}</version> |
| 395 | <type>jar</type> |
| 396 | <overWrite>false</overWrite> |
| 397 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 398 | <includes>etc/**/*,examples/**/*</includes> |
| 399 | </artifactItem> |
| 400 | <artifactItem> |
| 401 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 402 | <artifactId>examples-onap-vcpe</artifactId> |
| 403 | <version>${project.version}</version> |
| 404 | <type>jar</type> |
| 405 | <overWrite>false</overWrite> |
liamfallon | 3595f7c | 2018-09-27 15:40:13 +0100 | [diff] [blame] | 406 | <outputDirectory>${project.build.directory}/examples/models/ONAPvCPE</outputDirectory> |
| 407 | <includes>ONAPvCPEPolicyModel.json</includes> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 408 | </artifactItem> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 409 | <artifactItem> |
| 410 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | 42e4926 | 2019-06-06 14:44:52 +0000 | [diff] [blame] | 411 | <artifactId>examples-onap-bbs</artifactId> |
s00370346 | 5262c35 | 2019-04-11 00:14:39 +0530 | [diff] [blame] | 412 | <version>${project.version}</version> |
| 413 | <type>jar</type> |
| 414 | <overWrite>false</overWrite> |
| 415 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 416 | <includes>etc/**/*,examples/**/*</includes> |
| 417 | </artifactItem> |
| 418 | <artifactItem> |
| 419 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 420 | <artifactId>examples-onap-bbs</artifactId> |
| 421 | <version>${project.version}</version> |
| 422 | <type>jar</type> |
| 423 | <overWrite>false</overWrite> |
| 424 | <outputDirectory>${project.build.directory}/examples/models/ONAPBBS</outputDirectory> |
| 425 | <includes>NomadicONTPolicyModel.json</includes> |
| 426 | </artifactItem> |
| 427 | <artifactItem> |
| 428 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 429 | <artifactId>examples-servlet</artifactId> |
| 430 | <version>${project.version}</version> |
| 431 | <type>war</type> |
| 432 | <overWrite>false</overWrite> |
liamfallon | f28256b | 2018-09-19 21:44:33 +0100 | [diff] [blame] | 433 | <outputDirectory>${project.build.directory}/examples/servlet</outputDirectory> |
| 434 | <includes>readme_examples-servlet.txt</includes> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 435 | </artifactItem> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 436 | <artifactItem> |
| 437 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 438 | <artifactId>tools-common</artifactId> |
| 439 | <version>${project.version}</version> |
| 440 | <type>jar</type> |
| 441 | <overWrite>false</overWrite> |
| 442 | <outputDirectory>${project.build.directory}/etc</outputDirectory> |
| 443 | <includes>/app-version.txt</includes> |
| 444 | </artifactItem> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 445 | </artifactItems> |
| 446 | <overWriteReleases>true</overWriteReleases> |
| 447 | <overWriteSnapshots>true</overWriteSnapshots> |
| 448 | </configuration> |
| 449 | </execution> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 450 | <execution> |
| 451 | <id>copy-fat-jars</id> |
| 452 | <phase>package</phase> |
| 453 | <goals> |
| 454 | <goal>copy</goal> |
| 455 | </goals> |
| 456 | <configuration> |
| 457 | <artifactItems> |
| 458 | <artifactItem> |
| 459 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 460 | <artifactId>simple-wsclient</artifactId> |
| 461 | <version>${project.version}</version> |
| 462 | <type>jar</type> |
| 463 | <classifier>jar-with-dependencies</classifier> |
| 464 | <outputDirectory>${project.build.directory}/lib/applications</outputDirectory> |
| 465 | </artifactItem> |
| 466 | <artifactItem> |
| 467 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
| 468 | <artifactId>client-monitoring</artifactId> |
| 469 | <version>${project.version}</version> |
| 470 | <classifier>monitoring</classifier> |
| 471 | <outputDirectory>${project.build.directory}/lib/applications</outputDirectory> |
| 472 | </artifactItem> |
| 473 | <artifactItem> |
| 474 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
| 475 | <artifactId>client-editor</artifactId> |
| 476 | <version>${project.version}</version> |
| 477 | <classifier>editor</classifier> |
| 478 | <outputDirectory>${project.build.directory}/lib/applications</outputDirectory> |
| 479 | </artifactItem> |
| 480 | <artifactItem> |
| 481 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
| 482 | <artifactId>client-deployment</artifactId> |
| 483 | <version>${project.version}</version> |
| 484 | <classifier>deployment</classifier> |
| 485 | <outputDirectory>${project.build.directory}/lib/applications</outputDirectory> |
| 486 | </artifactItem> |
| 487 | <artifactItem> |
| 488 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
| 489 | <artifactId>client-full</artifactId> |
| 490 | <version>${project.version}</version> |
| 491 | <classifier>full</classifier> |
| 492 | <outputDirectory>${project.build.directory}/lib/applications</outputDirectory> |
| 493 | </artifactItem> |
| 494 | </artifactItems> |
| 495 | <overWriteReleases>true</overWriteReleases> |
| 496 | <overWriteSnapshots>true</overWriteSnapshots> |
| 497 | </configuration> |
| 498 | </execution> |
| 499 | |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 500 | </executions> |
| 501 | </plugin> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 502 | |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 503 | <!-- Build the tar ball --> |
| 504 | <plugin> |
| 505 | <groupId>org.apache.maven.plugins</groupId> |
| 506 | <artifactId>maven-assembly-plugin</artifactId> |
| 507 | <executions> |
| 508 | <execution> |
| 509 | <id>generate-complete-tar</id> |
| 510 | <phase>package</phase> |
| 511 | <goals> |
| 512 | <goal>single</goal> |
| 513 | </goals> |
| 514 | <configuration> |
| 515 | <descriptors> |
| 516 | <descriptor>src/main/package/tarball/assembly.xml</descriptor> |
| 517 | </descriptors> |
| 518 | <finalName>${project.artifactId}-${project.version}</finalName> |
Rashmi Pujar | 7b94541 | 2019-06-17 10:34:49 -0400 | [diff] [blame] | 519 | <appendAssemblyId>false</appendAssemblyId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 520 | </configuration> |
| 521 | </execution> |
| 522 | </executions> |
| 523 | </plugin> |
| 524 | <plugin> |
| 525 | <artifactId>maven-antrun-plugin</artifactId> |
| 526 | <executions> |
| 527 | <execution> |
| 528 | <phase>package</phase> |
| 529 | <configuration> |
| 530 | <tasks> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 531 | <untar |
Rashmi Pujar | 7b94541 | 2019-06-17 10:34:49 -0400 | [diff] [blame] | 532 | src="${project.build.directory}/${project.artifactId}-${project.version}.tar.gz" |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 533 | dest="${project.build.directory}/install_hierarchy" compression="gzip" /> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 534 | </tasks> |
| 535 | </configuration> |
| 536 | <goals> |
| 537 | <goal>run</goal> |
| 538 | </goals> |
| 539 | </execution> |
| 540 | <execution> |
| 541 | <id>fix-permissions</id> |
| 542 | <phase>package</phase> |
| 543 | <configuration> |
| 544 | <tasks> |
| 545 | <chmod file="${project.build.directory}/install_hierarchy/bin/*" perm="755" /> |
| 546 | </tasks> |
| 547 | </configuration> |
| 548 | <goals> |
| 549 | <goal>run</goal> |
| 550 | </goals> |
| 551 | </execution> |
| 552 | </executions> |
| 553 | </plugin> |
| 554 | <!-- Build the dpkg distribution --> |
| 555 | <plugin> |
| 556 | <groupId>org.vafer</groupId> |
| 557 | <artifactId>jdeb</artifactId> |
| 558 | <version>1.5</version> |
| 559 | <executions> |
| 560 | <execution> |
| 561 | <phase>package</phase> |
| 562 | <goals> |
| 563 | <goal>jdeb</goal> |
| 564 | </goals> |
| 565 | <configuration> |
| 566 | <deb>${project.build.directory}/${project.artifactId}-${project.version}.deb</deb> |
| 567 | <controlDir>${basedir}/src/main/package/control</controlDir> |
| 568 | <dataSet> |
| 569 | <!-- Copy the Apex run time configuration --> |
| 570 | <data> |
| 571 | <src>${project.build.directory}/install_hierarchy/lib</src> |
| 572 | <type>directory</type> |
| 573 | <dst>lib</dst> |
| 574 | <mapper> |
| 575 | <type>perm</type> |
liamfallon | 8801bb4 | 2018-09-11 11:30:44 +0100 | [diff] [blame] | 576 | <prefix>/opt/app/policy/${project.artifactId}-${project.version}/lib</prefix> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 577 | <filemode>755</filemode> |
| 578 | </mapper> |
| 579 | </data> |
| 580 | <data> |
| 581 | <src>${project.build.directory}/install_hierarchy/bin</src> |
| 582 | <type>directory</type> |
| 583 | <dst>etc</dst> |
| 584 | <mapper> |
| 585 | <type>perm</type> |
liamfallon | 8801bb4 | 2018-09-11 11:30:44 +0100 | [diff] [blame] | 586 | <prefix>/opt/app/policy/${project.artifactId}-${project.version}/bin</prefix> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 587 | </mapper> |
| 588 | </data> |
| 589 | <data> |
| 590 | <src>${project.build.directory}/install_hierarchy/etc</src> |
| 591 | <type>directory</type> |
| 592 | <dst>etc</dst> |
| 593 | <mapper> |
| 594 | <type>perm</type> |
liamfallon | 8801bb4 | 2018-09-11 11:30:44 +0100 | [diff] [blame] | 595 | <prefix>/opt/app/policy/${project.artifactId}-${project.version}/etc</prefix> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 596 | </mapper> |
| 597 | </data> |
| 598 | <data> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 599 | <src>${project.build.directory}/install_hierarchy/war</src> |
| 600 | <type>directory</type> |
| 601 | <dst>etc</dst> |
| 602 | <mapper> |
| 603 | <type>perm</type> |
liamfallon | 8801bb4 | 2018-09-11 11:30:44 +0100 | [diff] [blame] | 604 | <prefix>/opt/app/policy/${install.package.name}-${project.version}/war</prefix> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 605 | </mapper> |
| 606 | </data> |
| 607 | <data> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 608 | <src>${project.build.directory}/install_hierarchy/examples</src> |
| 609 | <type>directory</type> |
| 610 | <dst>etc</dst> |
| 611 | <mapper> |
| 612 | <type>perm</type> |
liamfallon | 8801bb4 | 2018-09-11 11:30:44 +0100 | [diff] [blame] | 613 | <prefix>/opt/app/policy/${project.artifactId}-${project.version}/examples</prefix> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 614 | </mapper> |
| 615 | </data> |
| 616 | </dataSet> |
| 617 | </configuration> |
| 618 | </execution> |
| 619 | </executions> |
| 620 | </plugin> |
| 621 | </plugins> |
| 622 | </build> |
| 623 | <profiles> |
| 624 | <profile> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 625 | <id>only-eclipse</id> |
| 626 | <activation> |
| 627 | <property> |
| 628 | <name>m2e.version</name> |
| 629 | </property> |
| 630 | </activation> |
| 631 | <build> |
| 632 | <pluginManagement> |
| 633 | <plugins> |
| 634 | <plugin> |
| 635 | <groupId>org.eclipse.m2e</groupId> |
| 636 | <artifactId>lifecycle-mapping</artifactId> |
| 637 | <configuration> |
| 638 | <lifecycleMappingMetadata> |
| 639 | <pluginExecutions> |
| 640 | <pluginExecution> |
| 641 | <pluginExecutionFilter> |
| 642 | <groupId>org.apache.maven.plugins</groupId> |
| 643 | <artifactId>maven-dependency-plugin</artifactId> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 644 | <versionRange>[2.0,)</versionRange> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 645 | <goals> |
| 646 | <goal>unpack</goal> |
| 647 | <goal>copy</goal> |
| 648 | </goals> |
| 649 | </pluginExecutionFilter> |
| 650 | <action> |
| 651 | <ignore /> |
| 652 | </action> |
| 653 | </pluginExecution> |
| 654 | </pluginExecutions> |
| 655 | </lifecycleMappingMetadata> |
| 656 | </configuration> |
| 657 | </plugin> |
| 658 | </plugins> |
| 659 | </pluginManagement> |
| 660 | </build> |
| 661 | </profile> |
Dinh Danh Le | 4f0e4e0 | 2018-08-09 10:51:44 +0100 | [diff] [blame] | 662 | |
| 663 | <profile> |
| 664 | <id>apexSite</id> |
| 665 | <activation> |
| 666 | <property> |
| 667 | <name>apexSite</name> |
| 668 | </property> |
| 669 | </activation> |
| 670 | <distributionManagement> |
| 671 | <site> |
| 672 | <id>${project.artifactId}-site</id> |
| 673 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 674 | </site> |
| 675 | </distributionManagement> |
| 676 | </profile> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 677 | </profiles> |
liamfallon | 5906f30 | 2018-07-10 12:25:19 +0300 | [diff] [blame] | 678 | </project> |