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> |
ramverma | 79e5ede | 2018-10-24 20:14:02 +0100 | [diff] [blame^] | 26 | <version>2.0.1-SNAPSHOT</version> |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 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 | |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>org.java-websocket</groupId> |
| 36 | <artifactId>Java-WebSocket</artifactId> |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.onap.policy.apex-pdp.tools</groupId> |
| 40 | <artifactId>tools-common</artifactId> |
| 41 | <version>${project.version}</version> |
| 42 | </dependency> |
| 43 | </dependencies> |
| 44 | |
| 45 | <build> |
| 46 | <plugins> |
| 47 | <plugin> |
| 48 | <artifactId>maven-assembly-plugin</artifactId> |
| 49 | <executions> |
| 50 | <execution> |
| 51 | <id>console-client</id> |
| 52 | <phase>package</phase> |
| 53 | <goals> |
| 54 | <goal>single</goal> |
| 55 | </goals> |
| 56 | <configuration> |
| 57 | <descriptorRefs> |
| 58 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 59 | </descriptorRefs> |
| 60 | <archive> |
| 61 | <manifest> |
liamfallon | 2b21188 | 2018-09-27 14:29:21 +0100 | [diff] [blame] | 62 | <mainClass>org.onap.policy.apex.tools.simple.wsclient.WsClient</mainClass> |
ramverma | 1eb5198 | 2018-07-16 15:23:45 +0100 | [diff] [blame] | 63 | </manifest> |
| 64 | </archive> |
| 65 | </configuration> |
| 66 | </execution> |
| 67 | </executions> |
| 68 | </plugin> |
| 69 | </plugins> |
| 70 | </build> |
Dinh Danh Le | a5a4427 | 2018-08-22 12:41:50 +0100 | [diff] [blame] | 71 | |
| 72 | <profiles> |
| 73 | <profile> |
| 74 | <id>apexSite</id> |
| 75 | <activation> |
| 76 | <property> |
| 77 | <name>apexSite</name> |
| 78 | </property> |
| 79 | </activation> |
| 80 | <properties> |
| 81 | <adsite-tools-wsclients-dir>${project.basedir}/src</adsite-tools-wsclients-dir> |
| 82 | </properties> |
| 83 | <distributionManagement> |
| 84 | <site> |
| 85 | <id>${project.artifactId}-site</id> |
| 86 | <url>${apex.adsite.prefix}/modules/${project.parent.artifactId}/${project.artifactId}/</url> |
| 87 | </site> |
| 88 | </distributionManagement> |
| 89 | </profile> |
| 90 | </profiles> |
liamfallon | a41c877 | 2018-09-05 15:46:31 +0100 | [diff] [blame] | 91 | </project> |