Installing the Maverick NG Server

There are two methods of configuring your development environment to use the Maverick NG Server.

  1. Download our distribution zip file that includes all jar files and dependencies and include in your classpath.
  2. Configure your project to use maven and configure your project to use our Maven repository.

If you are using our commercial APIs you will need to obtain an evaluation key and install the license in your project.

Including Maverick NG Server in your Classpath
 

Download and extract our archive. Jar files are located in the dist folder, Third party dependencies are located in the lib folder.

For developers using the server API only you can use

maverick-ng-server-{version}-all.jar

This is a single archive with all server features, use along with *all* dependencies in lib folder.

If you want to use both the server and client APIs in the same JVM then use :

maverick-ng-{version}-all.jar

For those developers that prefer not to have the version in the jar file-name you can find un-versioned jar files in dist/other folder.


Using the Maven Repository


Add our repository to your pom.xml

<repository>
    <id>sshtools</id>
    <name>sshtools-snapshots</name>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
    <releases>
	<enabled>false</enabled>
    </releases>
    <url>http://artifactory.javassh.com/public-snapshots</url>
</repository>
 

For just the server API add the following dependency to your pom.xml

<dependency>
   <groupId>com.sshtools</groupId>
    <artifactId>maverick-ng-server</artifactId>
    <version>2.0.0-SNAPSHOT</version>
</dependency>

If you are combining both server and client in the same JVM then use:

<dependency>
   <groupId>com.sshtools</groupId>
    <artifactId>maverick-ng-all</artifactId>
    <version>2.0.0-SNAPSHOT</version>
</dependency>

 

Obtaining an Evaluation License Key

Visit http://www.sshtools.com/en/products/ng

Installing your License

Copy the license key into your source code and place it somewhere in your code before you make any calls to the API. You will need to obtain a separate license for the server and client APIs as they are licensed separately. 

Example Code

Please take a look at the /server-examples folder in the distribution zip file. There are a number of code examples there that should get you on track with your development. There are also other articles in the same forum as this article to provide additional help.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.