Skip to content

hazelcast/hazelcast-cloud-maven-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hazelcast Viridian Maven Plugin

badge

The Viridian Cloud Maven Plugin is a Java development tool for testing and deploying cluster-side modules on Viridian Cloud Standard clusters.

Before you Begin

Make sure that you have the following:

  • Maven

  • The JAVA_HOME environment variable set to the path of JDK 11

Usage Example

<build>
    <plugins>
        <plugin>
            <groupId>com.hazelcast.cloud</groupId>
            <artifactId>hazelcast-cloud-maven-plugin</artifactId>
            <version>0.2.0</version>
            <configuration>
                <apiBaseUrl>https://api.viridian.hazelcast.com</apiBaseUrl>
                <clusterId>${clusterId}</clusterId>
                <apiKey>${apiKey}</apiKey>
                <apiSecret>${apiSecret}</apiSecret>
            </configuration>
        </plugin>
    </plugins>
</build>

Configuration

Parameter Description Example

clusterId

Cluster ID

Find your cluster id in the Viridian Cloud console.

a1b2c3d4

apiKey

API key

Generate an API key and secret in the Viridian Cloud console.

N/A

apiSecret

API secret

N/A

Goals

Goal Description Example

deploy

Package your Maven project into an executable JAR file and upload that file to the connected Serverless cluster.

mvn clean package hazelcast-cloud:deploy

stream-logs

(experimental) Stream the latest 1,000 lines of logs from a single member in the connected cluster.