Skip to content

Instantly share code, notes, and snippets.

@gAmUssA
Last active August 29, 2015 14:23
Show Gist options
  • Save gAmUssA/d05f2d8db7848d7d4718 to your computer and use it in GitHub Desktop.
Save gAmUssA/d05f2d8db7848d7d4718 to your computer and use it in GitHub Desktop.
Install Hazelcast Enterprise Jars to local repo
#!/bin/sh
version=3.5
releaseRepo=https://repository-hazelcast-l337.forge.cloudbees.com/release/com/hazelcast
snapshotRepo=https://repository-hazelcast-l337.forge.cloudbees.com/snapshot/com/hazelcast
groupId="com.hazelcast"
artifactId="hazelcast-enterprise"
clientArtifactId="hazelcast-enterprise-client"
# install Hazelcast Enterprise
curl -O $releaseRepo/$artifactId/$version/$artifactId-$version.jar
mvn install:install-file -Dfile=$artifactId-$version.jar -DgroupId=$groupId -DartifactId=$artifactId -Dversion=$version -Dpackaging=jar
# install Hazelcast Enterprise Client
curl -O $releaseRepo/$clientArtifactId/$version/$clientArtifactId-$version.jar
mvn install:install-file -Dfile=$clientArtifactId-$version.jar -DgroupId=$groupId -DartifactId=$clientArtifactId -Dversion=$version -Dpackaging=jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment