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