waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
waynedunican | 47847dc | 2021-11-16 08:44:43 +0000 | [diff] [blame^] | 4 | Modifications Copyright (C) 2019-2020, 2022 Nordix Foundation |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 5 | Modifications Copyright (C) 2019-2020 Bell Canada. |
Jim Hahn | e470b09 | 2020-09-09 21:01:11 -0400 | [diff] [blame] | 6 | Modifications Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 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 | |
| 20 | SPDX-License-Identifier: Apache-2.0 |
| 21 | ============LICENSE_END========================================================= |
| 22 | --> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 23 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 | 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] | 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <parent> |
| 27 | <groupId>org.onap.policy.apex-pdp.packages</groupId> |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 28 | <artifactId>apex-packages</artifactId> |
liamfallon | 886976e | 2021-11-29 11:33:31 +0000 | [diff] [blame] | 29 | <version>2.7.1-SNAPSHOT</version> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 30 | </parent> |
| 31 | |
| 32 | <artifactId>apex-pdp-package-full</artifactId> |
| 33 | <name>${project.artifactId}</name> |
| 34 | <description>[${project.parent.artifactId}] packaging, with all optional functionality, clients, servlets, and examples included</description> |
| 35 | |
| 36 | <properties> |
| 37 | <install.package.name>${project.artifactId}</install.package.name> |
| 38 | </properties> |
| 39 | |
| 40 | <dependencies> |
| 41 | <dependency> |
| 42 | <groupId>org.onap.policy.apex-pdp.services</groupId> |
| 43 | <artifactId>services-engine</artifactId> |
| 44 | <version>${project.version}</version> |
| 45 | </dependency> |
a.sreekumar | eabc695 | 2019-04-11 16:56:29 +0000 | [diff] [blame] | 46 | <dependency> |
| 47 | <groupId>org.onap.policy.apex-pdp.services</groupId> |
| 48 | <artifactId>services-onappf</artifactId> |
| 49 | <version>${project.version}</version> |
| 50 | </dependency> |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 51 | |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 52 | <!-- Plugins for Context Distribution --> |
| 53 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 54 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId> |
| 55 | <artifactId>plugins-context-distribution-hazelcast</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 56 | <version>${project.version}</version> |
| 57 | </dependency> |
| 58 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 59 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-distribution</groupId> |
| 60 | <artifactId>plugins-context-distribution-infinispan</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 61 | <version>${project.version}</version> |
| 62 | </dependency> |
| 63 | |
| 64 | <!-- Plugins for Context Locking --> |
| 65 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 66 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-locking</groupId> |
| 67 | <artifactId>plugins-context-locking-hazelcast</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 68 | <version>${project.version}</version> |
| 69 | </dependency> |
| 70 | <dependency> |
liamfallon | b109c21 | 2018-07-18 11:23:20 +0100 | [diff] [blame] | 71 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-context.plugins-context-locking</groupId> |
| 72 | <artifactId>plugins-context-locking-curator</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 73 | <version>${project.version}</version> |
| 74 | </dependency> |
| 75 | |
| 76 | <!-- Plugins for Context Schemas --> |
| 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-schema</groupId> |
| 79 | <artifactId>plugins-context-schema-avro</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 80 | <version>${project.version}</version> |
| 81 | </dependency> |
| 82 | |
| 83 | <!-- Plugins for Executors --> |
| 84 | <dependency> |
| 85 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 86 | <artifactId>plugins-executor-java</artifactId> |
| 87 | <version>${project.version}</version> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 91 | <artifactId>plugins-executor-javascript</artifactId> |
| 92 | <version>${project.version}</version> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 96 | <artifactId>plugins-executor-jruby</artifactId> |
| 97 | <version>${project.version}</version> |
| 98 | </dependency> |
liamfallon | 88f1759 | 2019-09-14 12:39:25 +0100 | [diff] [blame] | 99 | <!-- Jython support disabled due to security concerns --> |
| 100 | <!-- dependency> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 101 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 102 | <artifactId>plugins-executor-jython</artifactId> |
| 103 | <version>${project.version}</version> |
liamfallon | 88f1759 | 2019-09-14 12:39:25 +0100 | [diff] [blame] | 104 | </dependency--> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 105 | <dependency> |
| 106 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 107 | <artifactId>plugins-executor-mvel</artifactId> |
| 108 | <version>${project.version}</version> |
| 109 | </dependency> |
| 110 | |
| 111 | <!-- Plugins for Persistence of Models over JPA --> |
| 112 | <dependency> |
| 113 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-persistence.plugins-persistence-jpa</groupId> |
| 114 | <artifactId>plugins-persistence-jpa-eclipselink</artifactId> |
| 115 | <version>${project.version}</version> |
| 116 | </dependency> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 117 | |
| 118 | <!-- Plugins for event carrier technologies --> |
| 119 | <dependency> |
| 120 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 121 | <artifactId>plugins-event-carrier-kafka</artifactId> |
| 122 | <version>${project.version}</version> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 126 | <artifactId>plugins-event-carrier-websocket</artifactId> |
| 127 | <version>${project.version}</version> |
| 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 131 | <artifactId>plugins-event-carrier-jms</artifactId> |
| 132 | <version>${project.version}</version> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 136 | <artifactId>plugins-event-carrier-restclient</artifactId> |
| 137 | <version>${project.version}</version> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 141 | <artifactId>plugins-event-carrier-restserver</artifactId> |
| 142 | <version>${project.version}</version> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 146 | <artifactId>plugins-event-carrier-restrequestor</artifactId> |
| 147 | <version>${project.version}</version> |
| 148 | </dependency> |
a.sreekumar | 72f55c5 | 2020-03-05 23:36:06 +0000 | [diff] [blame] | 149 | <dependency> |
| 150 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 151 | <artifactId>plugins-event-carrier-grpc</artifactId> |
| 152 | <version>${project.version}</version> |
| 153 | </dependency> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 154 | <!-- Benchmark test event generator --> |
| 155 | <dependency> |
| 156 | <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId> |
| 157 | <artifactId>performance-benchmark-test</artifactId> |
| 158 | <version>${project.version}</version> |
| 159 | </dependency> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 160 | |
| 161 | <!-- Plugins for event protocols --> |
| 162 | <dependency> |
| 163 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId> |
| 164 | <artifactId>plugins-event-protocol-xml</artifactId> |
| 165 | <version>${project.version}</version> |
| 166 | </dependency> |
| 167 | <dependency> |
| 168 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-protocol</groupId> |
| 169 | <artifactId>plugins-event-protocol-jms</artifactId> |
| 170 | <version>${project.version}</version> |
| 171 | </dependency> |
| 172 | |
| 173 | <!-- Authoring and Editors --> |
| 174 | <dependency> |
| 175 | <groupId>org.onap.policy.apex-pdp.auth</groupId> |
| 176 | <artifactId>cli-editor</artifactId> |
| 177 | <version>${project.version}</version> |
| 178 | </dependency> |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 179 | |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 180 | <!-- Tools --> |
| 181 | <dependency> |
| 182 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 183 | <artifactId>simple-wsclient</artifactId> |
| 184 | <version>${project.version}</version> |
| 185 | </dependency> |
| 186 | <dependency> |
| 187 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 188 | <artifactId>model-generator</artifactId> |
| 189 | <version>${project.version}</version> |
| 190 | </dependency> |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 191 | |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 192 | <!-- Test Data used by examples --> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 193 | <dependency> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 194 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 195 | <artifactId>integration-common</artifactId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 196 | <version>${project.version}</version> |
| 197 | </dependency> |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 198 | |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 199 | <!-- Sample Examples --> |
| 200 | <dependency> |
| 201 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 202 | <artifactId>examples-aadm</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 203 | <version>${project.version}</version> |
| 204 | </dependency> |
| 205 | <dependency> |
| 206 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 207 | <artifactId>examples-adaptive</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 208 | <version>${project.version}</version> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 212 | <artifactId>examples-myfirstpolicy</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 213 | <version>${project.version}</version> |
| 214 | </dependency> |
| 215 | <dependency> |
| 216 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 217 | <artifactId>examples-pcvs</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 218 | <version>${project.version}</version> |
| 219 | </dependency> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 220 | <dependency> |
| 221 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 222 | <artifactId>examples-decisionmaker</artifactId> |
| 223 | <version>${project.version}</version> |
| 224 | </dependency> |
| 225 | <dependency> |
| 226 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 227 | <artifactId>examples-periodic</artifactId> |
| 228 | <version>${project.version}</version> |
| 229 | </dependency> |
| 230 | <dependency> |
| 231 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 232 | <artifactId>examples-onap-vcpe</artifactId> |
| 233 | <version>${project.version}</version> |
| 234 | </dependency> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 235 | <dependency> |
| 236 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
s00370346 | 5262c35 | 2019-04-11 00:14:39 +0530 | [diff] [blame] | 237 | <artifactId>examples-onap-bbs</artifactId> |
| 238 | <version>${project.version}</version> |
| 239 | </dependency> |
a.sreekumar | f46af33 | 2020-03-20 18:30:43 +0000 | [diff] [blame] | 240 | <dependency> |
| 241 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 242 | <artifactId>examples-grpc</artifactId> |
| 243 | <version>${project.version}</version> |
| 244 | </dependency> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 245 | </dependencies> |
| 246 | |
| 247 | <build> |
waynedunican | 47847dc | 2021-11-16 08:44:43 +0000 | [diff] [blame^] | 248 | <filters> |
| 249 | <filter>src/main/resources/properties/db.properties</filter> |
| 250 | </filters> |
| 251 | <resources> |
| 252 | <resource> |
| 253 | <directory>src/main/resources/META-INF</directory> |
| 254 | <filtering>true</filtering> |
| 255 | <includes> |
| 256 | <include>**/*.xml</include> |
| 257 | </includes> |
| 258 | </resource> |
| 259 | </resources> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 260 | <plugins> |
| 261 | <!-- Copy required resources and examples --> |
| 262 | <plugin> |
| 263 | <groupId>org.apache.maven.plugins</groupId> |
| 264 | <artifactId>maven-dependency-plugin</artifactId> |
| 265 | <executions> |
| 266 | <execution> |
| 267 | <id>unpack-etc-examples</id> |
| 268 | <phase>package</phase> |
| 269 | <goals> |
| 270 | <goal>unpack</goal> |
| 271 | </goals> |
| 272 | <configuration> |
| 273 | <artifactItems> |
| 274 | <artifactItem> |
a.sreekumar | eabc695 | 2019-04-11 16:56:29 +0000 | [diff] [blame] | 275 | <groupId>org.onap.policy.apex-pdp.services</groupId> |
| 276 | <artifactId>services-onappf</artifactId> |
| 277 | <version>${project.version}</version> |
| 278 | <type>jar</type> |
| 279 | <overWrite>false</overWrite> |
| 280 | <outputDirectory>${project.build.directory}/etc/onappf</outputDirectory> |
| 281 | <includes>config/*</includes> |
| 282 | </artifactItem> |
| 283 | <artifactItem> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 284 | <groupId>org.onap.policy.apex-pdp.auth</groupId> |
| 285 | <artifactId>cli-editor</artifactId> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 286 | <version>${project.version}</version> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 287 | <type>jar</type> |
| 288 | <overWrite>false</overWrite> |
| 289 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 290 | <includes>etc/**/*,examples/**/*</includes> |
| 291 | </artifactItem> |
| 292 | <artifactItem> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 293 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 294 | <artifactId>integration-common</artifactId> |
| 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> |
ramverma | 28ea336 | 2018-07-18 16:28:07 +0100 | [diff] [blame] | 298 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 299 | <includes>etc/**/*,examples/**/*</includes> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 300 | </artifactItem> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 301 | <artifactItem> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 302 | <groupId>org.onap.policy.apex-pdp.testsuites.performance</groupId> |
| 303 | <artifactId>performance-benchmark-test</artifactId> |
| 304 | <version>${project.version}</version> |
| 305 | <type>jar</type> |
| 306 | <overWrite>false</overWrite> |
| 307 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 308 | <includes>examples/**/*</includes> |
| 309 | </artifactItem> |
| 310 | <artifactItem> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 311 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 312 | <artifactId>examples-aadm</artifactId> |
ramverma | 3d02543 | 2018-07-19 18:45:16 +0100 | [diff] [blame] | 313 | <version>${project.version}</version> |
| 314 | <type>jar</type> |
| 315 | <overWrite>false</overWrite> |
| 316 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 317 | <includes>etc/**/*,examples/**/*</includes> |
| 318 | </artifactItem> |
| 319 | <artifactItem> |
| 320 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | f8959f5 | 2018-07-25 17:26:52 +0100 | [diff] [blame] | 321 | <artifactId>examples-adaptive</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-myfirstpolicy</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-pcvs</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> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 346 | <artifactItem> |
| 347 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 348 | <artifactId>examples-decisionmaker</artifactId> |
| 349 | <version>${project.version}</version> |
| 350 | <type>jar</type> |
| 351 | <overWrite>false</overWrite> |
liamfallon | f28256b | 2018-09-19 21:44:33 +0100 | [diff] [blame] | 352 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 353 | <includes>etc/**/*,examples/**/*</includes> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 354 | </artifactItem> |
| 355 | <artifactItem> |
| 356 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
liamfallon | 3595f7c | 2018-09-27 15:40:13 +0100 | [diff] [blame] | 357 | <artifactId>examples-decisionmaker</artifactId> |
| 358 | <version>${project.version}</version> |
| 359 | <type>jar</type> |
| 360 | <overWrite>false</overWrite> |
| 361 | <outputDirectory>${project.build.directory}/examples/models/DecisionMaker</outputDirectory> |
liamfallon | 9684e03 | 2018-12-19 18:29:05 +0000 | [diff] [blame] | 362 | <includes>*PolicyModel.json</includes> |
liamfallon | 3595f7c | 2018-09-27 15:40:13 +0100 | [diff] [blame] | 363 | </artifactItem> |
| 364 | <artifactItem> |
| 365 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 366 | <artifactId>examples-periodic</artifactId> |
| 367 | <version>${project.version}</version> |
| 368 | <type>jar</type> |
| 369 | <overWrite>false</overWrite> |
liamfallon | f28256b | 2018-09-19 21:44:33 +0100 | [diff] [blame] | 370 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 371 | <includes>etc/**/*,examples/**/*</includes> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 372 | </artifactItem> |
| 373 | <artifactItem> |
| 374 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
liamfallon | 3595f7c | 2018-09-27 15:40:13 +0100 | [diff] [blame] | 375 | <artifactId>examples-periodic</artifactId> |
| 376 | <version>${project.version}</version> |
| 377 | <type>jar</type> |
| 378 | <overWrite>false</overWrite> |
| 379 | <outputDirectory>${project.build.directory}/examples/models/Periodic</outputDirectory> |
| 380 | <includes>PeriodicPolicyModel.json</includes> |
| 381 | </artifactItem> |
| 382 | <artifactItem> |
| 383 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 384 | <artifactId>examples-onap-vcpe</artifactId> |
| 385 | <version>${project.version}</version> |
| 386 | <type>jar</type> |
| 387 | <overWrite>false</overWrite> |
| 388 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 389 | <includes>etc/**/*,examples/**/*</includes> |
| 390 | </artifactItem> |
| 391 | <artifactItem> |
| 392 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 393 | <artifactId>examples-onap-vcpe</artifactId> |
| 394 | <version>${project.version}</version> |
| 395 | <type>jar</type> |
| 396 | <overWrite>false</overWrite> |
liamfallon | 3595f7c | 2018-09-27 15:40:13 +0100 | [diff] [blame] | 397 | <outputDirectory>${project.build.directory}/examples/models/ONAPvCPE</outputDirectory> |
| 398 | <includes>ONAPvCPEPolicyModel.json</includes> |
ramverma | d524ced | 2018-07-24 17:36:53 +0100 | [diff] [blame] | 399 | </artifactItem> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 400 | <artifactItem> |
| 401 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
ramverma | 42e4926 | 2019-06-06 14:44:52 +0000 | [diff] [blame] | 402 | <artifactId>examples-onap-bbs</artifactId> |
s00370346 | 5262c35 | 2019-04-11 00:14:39 +0530 | [diff] [blame] | 403 | <version>${project.version}</version> |
| 404 | <type>jar</type> |
| 405 | <overWrite>false</overWrite> |
| 406 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 407 | <includes>etc/**/*,examples/**/*</includes> |
| 408 | </artifactItem> |
| 409 | <artifactItem> |
| 410 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 411 | <artifactId>examples-onap-bbs</artifactId> |
| 412 | <version>${project.version}</version> |
| 413 | <type>jar</type> |
| 414 | <overWrite>false</overWrite> |
| 415 | <outputDirectory>${project.build.directory}/examples/models/ONAPBBS</outputDirectory> |
| 416 | <includes>NomadicONTPolicyModel.json</includes> |
| 417 | </artifactItem> |
| 418 | <artifactItem> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 419 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 420 | <artifactId>tools-common</artifactId> |
| 421 | <version>${project.version}</version> |
| 422 | <type>jar</type> |
| 423 | <overWrite>false</overWrite> |
| 424 | <outputDirectory>${project.build.directory}/etc</outputDirectory> |
| 425 | <includes>/app-version.txt</includes> |
| 426 | </artifactItem> |
a.sreekumar | f46af33 | 2020-03-20 18:30:43 +0000 | [diff] [blame] | 427 | <artifactItem> |
| 428 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 429 | <artifactId>examples-grpc</artifactId> |
| 430 | <version>${project.version}</version> |
| 431 | <type>jar</type> |
| 432 | <overWrite>false</overWrite> |
| 433 | <outputDirectory>${project.build.directory}</outputDirectory> |
| 434 | <includes>etc/**/*,examples/**/*</includes> |
| 435 | </artifactItem> |
| 436 | <artifactItem> |
| 437 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 438 | <artifactId>examples-grpc</artifactId> |
| 439 | <version>${project.version}</version> |
| 440 | <type>jar</type> |
| 441 | <overWrite>false</overWrite> |
| 442 | <outputDirectory>${project.build.directory}/examples/models/APEXgRPC</outputDirectory> |
| 443 | <includes>APEXgRPCPolicy.json</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> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 466 | </artifactItems> |
| 467 | <overWriteReleases>true</overWriteReleases> |
| 468 | <overWriteSnapshots>true</overWriteSnapshots> |
| 469 | </configuration> |
| 470 | </execution> |
| 471 | |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 472 | </executions> |
| 473 | </plugin> |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 474 | |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 475 | <!-- Build the tar ball --> |
| 476 | <plugin> |
| 477 | <groupId>org.apache.maven.plugins</groupId> |
| 478 | <artifactId>maven-assembly-plugin</artifactId> |
| 479 | <executions> |
| 480 | <execution> |
| 481 | <id>generate-complete-tar</id> |
| 482 | <phase>package</phase> |
| 483 | <goals> |
| 484 | <goal>single</goal> |
| 485 | </goals> |
| 486 | <configuration> |
| 487 | <descriptors> |
| 488 | <descriptor>src/main/package/tarball/assembly.xml</descriptor> |
| 489 | </descriptors> |
| 490 | <finalName>${project.artifactId}-${project.version}</finalName> |
Rashmi Pujar | 7b94541 | 2019-06-17 10:34:49 -0400 | [diff] [blame] | 491 | <appendAssemblyId>false</appendAssemblyId> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 492 | </configuration> |
| 493 | </execution> |
| 494 | </executions> |
| 495 | </plugin> |
| 496 | <plugin> |
| 497 | <artifactId>maven-antrun-plugin</artifactId> |
| 498 | <executions> |
| 499 | <execution> |
| 500 | <phase>package</phase> |
| 501 | <configuration> |
| 502 | <tasks> |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 503 | <untar |
Rashmi Pujar | 7b94541 | 2019-06-17 10:34:49 -0400 | [diff] [blame] | 504 | src="${project.build.directory}/${project.artifactId}-${project.version}.tar.gz" |
liamfallon | 1f7c861 | 2018-11-20 15:59:50 +0000 | [diff] [blame] | 505 | dest="${project.build.directory}/install_hierarchy" compression="gzip" /> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 506 | </tasks> |
| 507 | </configuration> |
| 508 | <goals> |
| 509 | <goal>run</goal> |
| 510 | </goals> |
| 511 | </execution> |
| 512 | <execution> |
| 513 | <id>fix-permissions</id> |
| 514 | <phase>package</phase> |
| 515 | <configuration> |
| 516 | <tasks> |
| 517 | <chmod file="${project.build.directory}/install_hierarchy/bin/*" perm="755" /> |
| 518 | </tasks> |
| 519 | </configuration> |
| 520 | <goals> |
| 521 | <goal>run</goal> |
| 522 | </goals> |
| 523 | </execution> |
| 524 | </executions> |
| 525 | </plugin> |
| 526 | <!-- Build the dpkg distribution --> |
| 527 | <plugin> |
| 528 | <groupId>org.vafer</groupId> |
| 529 | <artifactId>jdeb</artifactId> |
| 530 | <version>1.5</version> |
| 531 | <executions> |
| 532 | <execution> |
| 533 | <phase>package</phase> |
| 534 | <goals> |
| 535 | <goal>jdeb</goal> |
| 536 | </goals> |
| 537 | <configuration> |
| 538 | <deb>${project.build.directory}/${project.artifactId}-${project.version}.deb</deb> |
| 539 | <controlDir>${basedir}/src/main/package/control</controlDir> |
| 540 | <dataSet> |
| 541 | <!-- Copy the Apex run time configuration --> |
| 542 | <data> |
| 543 | <src>${project.build.directory}/install_hierarchy/lib</src> |
| 544 | <type>directory</type> |
| 545 | <dst>lib</dst> |
| 546 | <mapper> |
| 547 | <type>perm</type> |
liamfallon | 8801bb4 | 2018-09-11 11:30:44 +0100 | [diff] [blame] | 548 | <prefix>/opt/app/policy/${project.artifactId}-${project.version}/lib</prefix> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 549 | <filemode>755</filemode> |
| 550 | </mapper> |
| 551 | </data> |
| 552 | <data> |
| 553 | <src>${project.build.directory}/install_hierarchy/bin</src> |
| 554 | <type>directory</type> |
| 555 | <dst>etc</dst> |
| 556 | <mapper> |
| 557 | <type>perm</type> |
liamfallon | 8801bb4 | 2018-09-11 11:30:44 +0100 | [diff] [blame] | 558 | <prefix>/opt/app/policy/${project.artifactId}-${project.version}/bin</prefix> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 559 | </mapper> |
| 560 | </data> |
| 561 | <data> |
| 562 | <src>${project.build.directory}/install_hierarchy/etc</src> |
| 563 | <type>directory</type> |
| 564 | <dst>etc</dst> |
| 565 | <mapper> |
| 566 | <type>perm</type> |
liamfallon | 8801bb4 | 2018-09-11 11:30:44 +0100 | [diff] [blame] | 567 | <prefix>/opt/app/policy/${project.artifactId}-${project.version}/etc</prefix> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 568 | </mapper> |
| 569 | </data> |
| 570 | <data> |
| 571 | <src>${project.build.directory}/install_hierarchy/examples</src> |
| 572 | <type>directory</type> |
| 573 | <dst>etc</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}/examples</prefix> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 577 | </mapper> |
| 578 | </data> |
| 579 | </dataSet> |
| 580 | </configuration> |
| 581 | </execution> |
| 582 | </executions> |
| 583 | </plugin> |
| 584 | </plugins> |
| 585 | </build> |
| 586 | <profiles> |
| 587 | <profile> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 588 | <id>only-eclipse</id> |
| 589 | <activation> |
| 590 | <property> |
| 591 | <name>m2e.version</name> |
| 592 | </property> |
| 593 | </activation> |
| 594 | <build> |
| 595 | <pluginManagement> |
| 596 | <plugins> |
| 597 | <plugin> |
| 598 | <groupId>org.eclipse.m2e</groupId> |
| 599 | <artifactId>lifecycle-mapping</artifactId> |
| 600 | <configuration> |
| 601 | <lifecycleMappingMetadata> |
| 602 | <pluginExecutions> |
| 603 | <pluginExecution> |
| 604 | <pluginExecutionFilter> |
| 605 | <groupId>org.apache.maven.plugins</groupId> |
| 606 | <artifactId>maven-dependency-plugin</artifactId> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 607 | <versionRange>[2.0,)</versionRange> |
waqas.ikram | bb89ed3 | 2018-06-18 14:04:52 +0100 | [diff] [blame] | 608 | <goals> |
| 609 | <goal>unpack</goal> |
| 610 | <goal>copy</goal> |
| 611 | </goals> |
| 612 | </pluginExecutionFilter> |
| 613 | <action> |
| 614 | <ignore /> |
| 615 | </action> |
| 616 | </pluginExecution> |
| 617 | </pluginExecutions> |
| 618 | </lifecycleMappingMetadata> |
| 619 | </configuration> |
| 620 | </plugin> |
| 621 | </plugins> |
| 622 | </pluginManagement> |
| 623 | </build> |
| 624 | </profile> |
| 625 | </profiles> |
liamfallon | 5906f30 | 2018-07-10 12:25:19 +0300 | [diff] [blame] | 626 | </project> |