ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2018 Ericsson. All rights reserved. |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 4 | Modifications Copyright (C) 2019-2020 Nordix Foundation. |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 5 | Modifications Copyright (C) 2020 Bell Canada. |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +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 | --> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +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"> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <parent> |
| 26 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 27 | <artifactId>apex-client</artifactId> |
Ram Krishna Verma | 3b1c78a | 2020-07-10 17:25:54 -0400 | [diff] [blame] | 28 | <version>2.4.1-SNAPSHOT</version> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 29 | </parent> |
| 30 | |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 31 | <artifactId>apex-client-monitoring</artifactId> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 32 | <name>${project.artifactId}</name> |
| 33 | <description>Web client for monitoring Apex engines</description> |
| 34 | |
| 35 | <dependencies> |
liamfallon | d7eda87 | 2019-11-04 18:07:20 +0000 | [diff] [blame] | 36 | <dependency> |
| 37 | <groupId>org.onap.policy.common</groupId> |
| 38 | <artifactId>policy-endpoints</artifactId> |
liamfallon | 9aa62b7 | 2020-03-25 12:09:54 +0000 | [diff] [blame] | 39 | <exclusions> |
| 40 | <exclusion> |
| 41 | <groupId>org.onap.aaf.authz</groupId> |
| 42 | <artifactId>aaf-cadi-aaf</artifactId> |
| 43 | </exclusion> |
| 44 | <exclusion> |
| 45 | <groupId>com.att.nsa</groupId> |
| 46 | <artifactId>cambriaClient</artifactId> |
| 47 | </exclusion> |
| 48 | <exclusion> |
| 49 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 50 | <artifactId>dmaapClient</artifactId> |
| 51 | </exclusion> |
| 52 | </exclusions> |
liamfallon | d7eda87 | 2019-11-04 18:07:20 +0000 | [diff] [blame] | 53 | </dependency> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 54 | <dependency> |
| 55 | <groupId>org.onap.policy.apex-pdp.core</groupId> |
| 56 | <artifactId>core-deployment</artifactId> |
| 57 | <version>${project.version}</version> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.glassfish.jersey.containers</groupId> |
| 61 | <artifactId>jersey-container-grizzly2-http</artifactId> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 62 | </dependency> |
| 63 | <dependency> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 64 | <groupId>commons-cli</groupId> |
| 65 | <artifactId>commons-cli</artifactId> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 66 | </dependency> |
liamfallon | acb59c7 | 2018-09-28 22:48:30 +0100 | [diff] [blame] | 67 | <dependency> |
liamfallon | 0bfa9b4 | 2018-10-01 15:05:58 +0100 | [diff] [blame] | 68 | <groupId>org.mockito</groupId> |
| 69 | <artifactId>mockito-all</artifactId> |
liamfallon | acb59c7 | 2018-09-28 22:48:30 +0100 | [diff] [blame] | 70 | <scope>test</scope> |
| 71 | </dependency> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 72 | |
| 73 | <dependency> |
| 74 | <groupId>org.onap.policy.apex-pdp.client</groupId> |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 75 | <artifactId>apex-client-common</artifactId> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 76 | <version>${project.version}</version> |
| 77 | <classifier>resources</classifier> |
| 78 | <type>zip</type> |
| 79 | <scope>provided</scope> |
| 80 | </dependency> |
| 81 | |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 82 | </dependencies> |
| 83 | |
| 84 | <build> |
| 85 | <defaultGoal>install</defaultGoal> |
| 86 | <outputDirectory>${project.build.directory}/classes</outputDirectory> |
| 87 | <plugins> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 88 | |
| 89 | <!-- https://blog.sonatype.com/2008/04/how-to-share-resources-across-projects-in-maven/ --> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 90 | <plugin> |
| 91 | <groupId>org.apache.maven.plugins</groupId> |
ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 92 | <artifactId>maven-dependency-plugin</artifactId> |
| 93 | <executions> |
| 94 | <execution> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 95 | <id>unpack-shared-resources</id> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 96 | <goals> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 97 | <goal>unpack-dependencies</goal> |
liamfallon | 3249761 | 2018-11-10 00:39:12 +0000 | [diff] [blame] | 98 | </goals> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 99 | <phase>generate-resources</phase> |
ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 100 | <configuration> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 101 | <outputDirectory>${project.build.directory}/classes/webapp</outputDirectory> |
| 102 | <!--use as much as needed to be specific...also scope,type,classifier etc--> |
Ram Krishna Verma | 8d22852 | 2020-02-05 16:31:01 -0500 | [diff] [blame] | 103 | <includeArtifacIds>apex-client-common</includeArtifacIds> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 104 | <includeGroupIds>org.onap.policy.apex-pdp.client</includeGroupIds> |
| 105 | <excludeTransitive>true</excludeTransitive> |
| 106 | <excludeTypes>jar</excludeTypes> |
| 107 | <includeTypes>zip</includeTypes> |
| 108 | <excludeTransitive>true</excludeTransitive> |
ramverma | c6d74e6 | 2018-07-11 14:21:13 +0100 | [diff] [blame] | 109 | </configuration> |
| 110 | </execution> |
| 111 | </executions> |
| 112 | </plugin> |
ramverma | ea736d0 | 2018-11-29 13:47:30 +0000 | [diff] [blame] | 113 | <plugin> |
| 114 | <groupId>org.apache.maven.plugins</groupId> |
| 115 | <artifactId>maven-assembly-plugin</artifactId> |
| 116 | <executions> |
| 117 | <execution> |
| 118 | <id>make shared resources</id> |
| 119 | <goals> |
| 120 | <goal>single</goal> |
| 121 | </goals> |
| 122 | <phase>package</phase> |
| 123 | <configuration> |
| 124 | <descriptors> |
| 125 | <descriptor>src/main/assembly/resources.xml</descriptor> |
| 126 | </descriptors> |
| 127 | </configuration> |
| 128 | </execution> |
| 129 | </executions> |
| 130 | </plugin> |
ramverma | 0ba6678 | 2018-07-06 16:29:16 +0100 | [diff] [blame] | 131 | </plugins> |
| 132 | </build> |
a.sreekumar | f1f9a30 | 2020-03-25 23:01:06 +0000 | [diff] [blame] | 133 | </project> |