ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
| 4 | ================================================================================ |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | SPDX-License-Identifier: Apache-2.0 |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
liamfallon | 3aa7cbe | 2018-10-31 16:35:54 +0000 | [diff] [blame] | 20 | <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"> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 21 | <modelVersion>4.0.0</modelVersion> |
| 22 | <parent> |
| 23 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 24 | <artifactId>examples</artifactId> |
liamfallon | 3aa7cbe | 2018-10-31 16:35:54 +0000 | [diff] [blame] | 25 | <version>2.1.0-SNAPSHOT</version> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 26 | </parent> |
| 27 | |
| 28 | <artifactId>examples-servlet</artifactId> |
| 29 | <packaging>war</packaging> |
| 30 | <name>${project.artifactId}</name> |
| 31 | <description>Specific code for the APEX Servlet Example</description> |
| 32 | |
| 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>javax.servlet</groupId> |
| 36 | <artifactId>javax.servlet-api</artifactId> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.glassfish.jersey.inject</groupId> |
| 40 | <artifactId>jersey-hk2</artifactId> |
| 41 | <version>${version.jersey}</version> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.onap.policy.apex-pdp.services</groupId> |
| 45 | <artifactId>services-engine</artifactId> |
| 46 | <version>${project.version}</version> |
| 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 50 | <artifactId>plugins-event-carrier-restserver</artifactId> |
| 51 | <version>${project.version}</version> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 55 | <artifactId>plugins-executor-javascript</artifactId> |
| 56 | <version>${project.version}</version> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>org.onap.policy.apex-pdp.context</groupId> |
| 60 | <artifactId>context-test-utils</artifactId> |
| 61 | <version>${project.version}</version> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 65 | <artifactId>integration-common</artifactId> |
| 66 | <version>${project.version}</version> |
| 67 | </dependency> |
| 68 | </dependencies> |
| 69 | |
| 70 | <build> |
| 71 | <plugins> |
| 72 | <plugin> |
| 73 | <groupId>org.apache.maven.plugins</groupId> |
| 74 | <artifactId>maven-war-plugin</artifactId> |
| 75 | <configuration> |
| 76 | <warSourceDirectory>src/main/resources/webapp</warSourceDirectory> |
| 77 | </configuration> |
| 78 | <executions> |
| 79 | <execution> |
| 80 | <phase>prepare-package</phase> |
| 81 | <goals> |
| 82 | <goal>war</goal> |
| 83 | </goals> |
| 84 | </execution> |
| 85 | </executions> |
| 86 | </plugin> |
| 87 | </plugins> |
| 88 | </build> |
Dinh Danh Le | 6a2abc8 | 2018-08-23 00:41:47 +0100 | [diff] [blame] | 89 | |
| 90 | <profiles> |
| 91 | <profile> |
| 92 | <id>apexSite</id> |
| 93 | <activation> |
| 94 | <property> |
| 95 | <name>apexSite</name> |
| 96 | </property> |
| 97 | </activation> |
| 98 | <properties> |
| 99 | <adsite-examples-servlet-dir>${project.basedir}/src</adsite-examples-servlet-dir> |
| 100 | </properties> |
| 101 | <distributionManagement> |
| 102 | <site> |
| 103 | <id>${project.artifactId}-site</id> |
| 104 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 105 | </site> |
| 106 | </distributionManagement> |
| 107 | </profile> |
| 108 | </profiles> |
ramverma | 9e318f2 | 2018-07-30 19:13:47 +0100 | [diff] [blame] | 109 | </project> |