ramverma | 1eb5198 | 2018-07-16 15:23:45 +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.tools</groupId> |
| 25 | <artifactId>tools</artifactId> |
| 26 | <version>2.0.0-SNAPSHOT</version> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>simple-wsclient</artifactId> |
| 30 | <name>${project.artifactId}</name> |
| 31 | <description>[${project.parent.artifactId}] Simple Websocket client (console and echo)</description> |
| 32 | |
| 33 | <properties> |
| 34 | <apex-apps-wsclients-simple-dir>${project.basedir}/src</apex-apps-wsclients-simple-dir> |
| 35 | </properties> |
| 36 | |
| 37 | <dependencies> |
| 38 | <dependency> |
| 39 | <groupId>org.java-websocket</groupId> |
| 40 | <artifactId>Java-WebSocket</artifactId> |
| 41 | <version>1.3.4</version> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 45 | <artifactId>tools-common</artifactId> |
| 46 | <version>${project.version}</version> |
| 47 | </dependency> |
| 48 | </dependencies> |
| 49 | |
| 50 | <build> |
| 51 | <plugins> |
| 52 | <plugin> |
| 53 | <artifactId>maven-assembly-plugin</artifactId> |
| 54 | <executions> |
| 55 | <execution> |
| 56 | <id>console-client</id> |
| 57 | <phase>package</phase> |
| 58 | <goals> |
| 59 | <goal>single</goal> |
| 60 | </goals> |
| 61 | <configuration> |
| 62 | <descriptorRefs> |
| 63 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 64 | </descriptorRefs> |
| 65 | <archive> |
| 66 | <manifest> |
| 67 | <mainClass>org.onap.policy.apex.tools.simple.wsclients.Application</mainClass> |
| 68 | </manifest> |
| 69 | </archive> |
| 70 | </configuration> |
| 71 | </execution> |
| 72 | </executions> |
| 73 | </plugin> |
| 74 | </plugins> |
| 75 | </build> |
| 76 | </project> |