How To Install Java Artifact javax.websocket.javax.websocket-api v1.0

javax.websocket javax.websocket-api 1.0

Introduction

In this article, we'll learn how to install Java artifact javax.websocket-api from javax.websocket group in version 1.0. The artifact is available in 13 versions: 1.1 1.0-rc5 1.0-rc4 1.0-rc3 1.0-rc2 1.0-rc1 1.0-b14 1.0-b13 1.0-b12 1.0-b11 1.0-b09 1.0-b08 1.0 The WebSocket server API project has its own website at: http://websocket-spec.java.net. The parent project is: javax.websocket::javax.websocket-all::1.0

How To Install Java Artifact javax.websocket.javax.websocket-api In Version 1.0

To install the WebSocket server API artifact in version 1.0 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses WebSocket server API dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (1)