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 | --> |
| 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <parent> |
| 24 | <groupId>org.onap.policy.apex-pdp.examples</groupId> |
| 25 | <artifactId>examples</artifactId> |
| 26 | <version>2.0.0-SNAPSHOT</version> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>examples-servlet</artifactId> |
| 30 | <packaging>war</packaging> |
| 31 | <name>${project.artifactId}</name> |
| 32 | <description>Specific code for the APEX Servlet Example</description> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>javax.servlet</groupId> |
| 37 | <artifactId>javax.servlet-api</artifactId> |
| 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>org.glassfish.jersey.inject</groupId> |
| 41 | <artifactId>jersey-hk2</artifactId> |
| 42 | <version>${version.jersey}</version> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.onap.policy.apex-pdp.services</groupId> |
| 46 | <artifactId>services-engine</artifactId> |
| 47 | <version>${project.version}</version> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-event.plugins-event-carrier</groupId> |
| 51 | <artifactId>plugins-event-carrier-restserver</artifactId> |
| 52 | <version>${project.version}</version> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.onap.policy.apex-pdp.plugins.plugins-executor</groupId> |
| 56 | <artifactId>plugins-executor-javascript</artifactId> |
| 57 | <version>${project.version}</version> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.onap.policy.apex-pdp.context</groupId> |
| 61 | <artifactId>context-test-utils</artifactId> |
| 62 | <version>${project.version}</version> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>org.onap.policy.apex-pdp.testsuites.integration</groupId> |
| 66 | <artifactId>integration-common</artifactId> |
| 67 | <version>${project.version}</version> |
| 68 | </dependency> |
| 69 | </dependencies> |
| 70 | |
| 71 | <build> |
| 72 | <plugins> |
| 73 | <plugin> |
| 74 | <groupId>org.apache.maven.plugins</groupId> |
| 75 | <artifactId>maven-war-plugin</artifactId> |
| 76 | <configuration> |
| 77 | <warSourceDirectory>src/main/resources/webapp</warSourceDirectory> |
| 78 | </configuration> |
| 79 | <executions> |
| 80 | <execution> |
| 81 | <phase>prepare-package</phase> |
| 82 | <goals> |
| 83 | <goal>war</goal> |
| 84 | </goals> |
| 85 | </execution> |
| 86 | </executions> |
| 87 | </plugin> |
| 88 | </plugins> |
| 89 | </build> |
| 90 | </project> |